Commit Graph

256 Commits (master)
 

Author SHA1 Message Date
Devrandom ad3f9cc4c2
Merge #135: Fixes Debian jessie lxc-init path issue
543e0d5 Check existence of lxc-init before cp to init.lxc (Kevin Gallagher)
8 years ago
Kevin Gallagher 543e0d5061 Check existence of lxc-init before cp to init.lxc 8 years ago
Devrandom bf390a7261
Merge #118: Add verify commits
e1a5744 devtools: Auto-set branch to merge to in github-merge (Wladimir J. van der Laan)
7d0542c devtools: make github-merge.py use py3 (Wladimir J. van der Laan)
31f53d8 [copyright] add MIT license headers to .sh scripts where missing (isle2983)
2862e18 Add README for verify-commits (Peter Todd)
c2d1d62 Remove pointless warning (Peter Todd)
befe6a5 Make verify-commits path-independent (Matt Corallo)
acb55dd Make verify-commits POSIX-compliant (Matt Corallo)
fe83a6d Allow to whitelist commits signed with a revoked key (Matt Corallo)
e1873f6 Adjust verify-commits to gitian-builder (MarcoFalke)
3be7a42 Fix pre-push-hook regexes (Matt Corallo)
73f6969 Add script to verify all merge commits are signed (Matt Corallo)
8 years ago
Wladimir J. van der Laan e1a57442fd devtools: Auto-set branch to merge to in github-merge
As we are already using the API to retrieve the pull request
title, also retrieve the base branch.

This makes sure that pull requests for 0.12 automatically end up in
0.12, and pull requests for master automatically end up in master,
and so on.

It is still possible to override the branch from the command line
or using the `githubmerge.branch` git option.
8 years ago
Wladimir J. van der Laan 7d0542cbc4 devtools: make github-merge.py use py3
This makes github-merge.py the first developer tool to go
all Python 3 (for context see #7717).

The changes are straightforward as the script already was
`from __future__ import division,print_function,unicode_literals`.

However urllib2 changed name, and json will only accept unicode data not
bytes.

This retains py2 compatibility for now: not strictly necessary
as it's not used by the build system - but it was easy.
8 years ago
isle2983 31f53d8bb8 [copyright] add MIT license headers to .sh scripts where missing
Years are set according to 'git log' history
8 years ago
Peter Todd 2862e189b0 Add README for verify-commits 8 years ago
Peter Todd c2d1d6225e Remove pointless warning
Any attacker who managed to make an evil commit that changed something in the
contrib/verify-commits/ directory could just as easily remove the warning
and/or modify it to not display the evil commits; telling the user to check
those commits specifically misleads them into checking just those commits
rather than the script itself.
8 years ago
Matt Corallo befe6a5368 Make verify-commits path-independent 8 years ago
Matt Corallo acb55ddd01 Make verify-commits POSIX-compliant 8 years ago
Matt Corallo fe83a6df80 Allow to whitelist commits signed with a revoked key
(cherry picked from commit 1d94b72019e31066b33947af5709383b8075e43a)
8 years ago
MarcoFalke e1873f6578 Adjust verify-commits to gitian-builder 8 years ago
Matt Corallo 3be7a42fe9 Fix pre-push-hook regexes 8 years ago
Matt Corallo 73f696920b Add script to verify all merge commits are signed 8 years ago
Devrandom 99bc6e832e
Merge #114: Add support for Debian guests using LXC
ad0a871 make-base-vm: fix init.lxc path (Nicolas Vigier)
e3c2e8d Add support for Debian guests using LXC (Joseph Bisch)
8 years ago
Nicolas Vigier ad0a871e07 make-base-vm: fix init.lxc path 8 years ago
Joseph Bisch e3c2e8d3da Add support for Debian guests using LXC 8 years ago
Devrandom 9794f0cfad
Merge #133: Switch to xenial for default suite
ddd3aed Switch to xenial for default suite (Joseph Bisch)
8 years ago
Devrandom 40fa54d383
Merge #119: [gverify] print result with bold formatting
44444eb [gverify] print result with bold formatting (MarcoFalke)
8 years ago
Joseph Bisch ddd3aed172 Switch to xenial for default suite
It can be confusing to new users for make-base-vm to create a lucid vm
by default, so switch to xenial, which is also a LTS release, but isn't
EOL yet. Using lucid with gitian-builder is broken anyway, because
lucid has been moved to old-releases.ubuntu.com since it is EOL and
gitian-builder doesn't support old-releases.ubuntu.com.
8 years ago
Devrandom 4e2c9cd7c4
Merge #130: Allow custom DEBOOTSTRAP_DIR, to give own template (v3)
0db6c05 Allow custom DEBOOTSTRAP_DIR, to give own template (v3) (Tigusoft Admin)
8 years ago
Devrandom 51a5ff9a35
Merge #126: doc: Remove GCC_ISSUES
9cbb3bf doc: Remove GCC_ISSUES (Wladimir J. van der Laan)
8 years ago
Tigusoft Admin 0db6c05200
Allow custom DEBOOTSTRAP_DIR, to give own template (v3)
So you can make local copy of /usr/share/debootstrap/ and
e.g. add there missing e.g. "xenial" or other script/template,
without mucking around in system directory managed by
package manager.
8 years ago
Wladimir J. van der Laan 9cbb3bf61b doc: Remove GCC_ISSUES
This file is outdated, the mentioned issue is no longer there for
newer gcc versions - for bitcoin we haven't had to specify any special
optimization flag overrides for a long time (we compile using -O2).
8 years ago
MarcoFalke 44444eb387 [gverify] print result with bold formatting 8 years ago
Devrandom ee1b69d694
Merge #122: Allow build to use sudo without a password, part deux
e4b4780 Allow build to use sudo without a password, part deux (Chris Kleeschulte)
8 years ago
Chris Kleeschulte e4b4780c74 Allow build to use sudo without a password, part deux
- apropos to a discussion about merge request #36, added a flag in the descriptor and command line flag.
- adding sudo: true in the yml file plus adding a command line flag --allow-sudo will allow script user to elevate permissions with no password.
8 years ago
Devrandom cc174d0447
Merge #117: Add github-merge.py
784d878 Adjust readme for gitian-builder (MarcoFalke)
ee6dee4 devtools: Fix utf-8 support in messages for github-merge (Wladimir J. van der Laan)
7d99dee [devtools] github-merge get toplevel dir without extra whitespace (Andrew C)
0ae5a18 devtools: show pull and commit information in github-merge (Wladimir J. van der Laan)
992efcf devtools: replace github-merge with python version (Wladimir J. van der Laan)
8 years ago
MarcoFalke 784d87896b Adjust readme for gitian-builder 8 years ago
Wladimir J. van der Laan ee6dee4a2a devtools: Fix utf-8 support in messages for github-merge
Use 'utf-8' instead of the Python 2 default of 'ascii' to encode/decode
commit messages.
This can be removed when switching to Python 3, as 'utf-8' is the
default there.
Necessary for merging #7422 due to the ฿ in ฿tcDrak.
8 years ago
Andrew C 7d99dee286 [devtools] github-merge get toplevel dir without extra whitespace
Fixes a bug in github merge when it runs the tests where the toplevel directory has an extra '\n' appended to the path string. Now it doesn't.
8 years ago
Wladimir J. van der Laan 0ae5a18069 devtools: show pull and commit information in github-merge
Print the number and title of the pull, as well as the commits to be
merged.
8 years ago
Wladimir J. van der Laan 992efcf3a5 devtools: replace github-merge with python version
This is meant to be a direct translation of the bash script,
with the difference that it retrieves the PR title from github,
thus creating pull messages like:

    Merge #12345: Expose transaction temperature over RPC
8 years ago
Dev Random bb4f92f6cb Merge pull request #113 from MarcoFalke/ref_datetime_default
reference_datetime: Default to git author date
8 years ago
MarcoFalke fa6f0b6301 raise "must supply reference_datetime or remotes" 8 years ago
MarcoFalke fa7840ea26 reference_datetime: Default to git author date 8 years ago
Dev Random e74cb913a0 Merge pull request #112 from luke-jr/rsync
Bugfix: copy-{to,from}-target: Strip trailing / from sources to avoid triggering special rsync behaviour
8 years ago
Luke Dashjr bf52af1377 Bugfix: copy-{to,from}-target: Strip trailing / from sources to avoid triggering special rsync behaviour
Without this, the caches end up in the wrong place (one level of directories gets removed)
8 years ago
Dev Random 84b32a6b00 Merge pull request #111 from luke-jr/rsync
Use rsync instead of scp for file transfers to save time on cache download from VM
8 years ago
Luke Dashjr dd2ba39d32 Use rsync instead of scp for file transfers to save time on cache download from VM 9 years ago
Dev Random f9ab5871bd Update RELEASE_NOTES 9 years ago
Dev Random 76e5bc186d Merge pull request #105 from laanwj/2015_11_auto_ipv4
Set up IPv4 gateway automatically
9 years ago
Dev Random 659b678c1a Merge pull request #108 from josephbisch/arch-instructions
Add instructions for using gitian-builder with an Arch host
9 years ago
Dev Random 0020642f7a Merge pull request #107 from MarcoFalke/master
ssh: Replace deprecated dsa with rsa
9 years ago
Joseph Bisch 2f0abd1001 Add instructions for using gitian-builder with an Arch host 9 years ago
MarcoFalke 7e4b665acb Replace deprecated dsa with rsa 9 years ago
Wladimir J. van der Laan cb718681e9 Set up IPv4 gateway automatically
I need this to get networking inside the LXC container in
a Debian 8.2 VM.
9 years ago
Dev Random 29c406e117 Merge pull request #104 from josephbisch/fix-tuser
Set TUSER to ubuntu by default and update README
9 years ago
Joseph Bisch 3edec91085 Set TUSER to ubuntu by default and update README
Now, if a user is using something like on-target directly, that user
doesn't need to set the DISTRO or TUSER variables if using Ubuntu guests
(so the scripts function the same as they did before Debian guest
support was added).
9 years ago
Dev Random ad77800219 Merge pull request #103 from josephbisch/fix-debian-i386
Fix debian i386
9 years ago