Commit Graph

250 Commits

Author SHA1 Message Date
Peter Todd
2862e189b0 Add README for verify-commits 2016-10-08 11:14:58 +02:00
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.
2016-10-08 11:14:42 +02:00
Matt Corallo
befe6a5368 Make verify-commits path-independent 2016-10-08 11:14:31 +02:00
Matt Corallo
acb55ddd01 Make verify-commits POSIX-compliant 2016-10-08 11:14:22 +02:00
Matt Corallo
fe83a6df80 Allow to whitelist commits signed with a revoked key
(cherry picked from commit 1d94b72019e31066b33947af5709383b8075e43a)
2016-10-08 11:13:53 +02:00
MarcoFalke
e1873f6578 Adjust verify-commits to gitian-builder 2016-10-08 11:10:30 +02:00
Matt Corallo
3be7a42fe9 Fix pre-push-hook regexes 2016-10-08 11:04:38 +02:00
Matt Corallo
73f696920b Add script to verify all merge commits are signed 2016-10-08 11:04:38 +02:00
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)
2016-10-07 18:08:28 -07:00
Nicolas Vigier
ad0a871e07 make-base-vm: fix init.lxc path 2016-10-07 14:48:56 -04:00
Joseph Bisch
e3c2e8d3da Add support for Debian guests using LXC 2016-10-07 14:36:28 -04:00
Devrandom
9794f0cfad
Merge #133: Switch to xenial for default suite
ddd3aed Switch to xenial for default suite (Joseph Bisch)
2016-10-06 21:28:27 -07:00
Devrandom
40fa54d383
Merge #119: [gverify] print result with bold formatting
44444eb [gverify] print result with bold formatting (MarcoFalke)
2016-10-06 21:27:37 -07:00
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.
2016-10-06 11:30:26 -04:00
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)
2016-10-02 12:25:37 -07:00
Devrandom
51a5ff9a35
Merge #126: doc: Remove GCC_ISSUES
9cbb3bf doc: Remove GCC_ISSUES (Wladimir J. van der Laan)
2016-10-02 12:15:05 -07:00
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.
2016-09-05 14:14:31 +01:00
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).
2016-07-21 18:04:15 +02:00
MarcoFalke
44444eb387 [gverify] print result with bold formatting 2016-07-11 09:02:48 +02:00
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)
2016-06-15 21:26:00 -07:00
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.
2016-06-15 21:24:03 -07:00
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)
2016-03-14 18:02:22 -07:00
MarcoFalke
784d87896b Adjust readme for gitian-builder 2016-03-14 22:40:02 +01:00
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.
2016-03-14 22:34:29 +01:00
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.
2016-03-14 22:34:12 +01:00
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.
2016-03-14 22:33:51 +01:00
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
2016-03-14 22:33:15 +01:00
Dev Random
bb4f92f6cb Merge pull request #113 from MarcoFalke/ref_datetime_default
reference_datetime: Default to git author date
2016-01-01 12:58:25 -08:00
MarcoFalke
fa6f0b6301 raise "must supply reference_datetime or remotes" 2015-12-30 20:34:32 +01:00
MarcoFalke
fa7840ea26 reference_datetime: Default to git author date 2015-12-30 19:56:00 +01:00
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
2015-12-14 17:13:59 -08:00
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)
2015-12-14 08:21:39 +00:00
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
2015-12-13 13:02:39 -08:00
Luke Dashjr
dd2ba39d32 Use rsync instead of scp for file transfers to save time on cache download from VM 2015-12-13 09:41:19 +00:00
Dev Random
f9ab5871bd Update RELEASE_NOTES 2015-12-12 10:44:14 -08:00
Dev Random
76e5bc186d Merge pull request #105 from laanwj/2015_11_auto_ipv4
Set up IPv4 gateway automatically
2015-12-07 14:43:46 +08:00
Dev Random
659b678c1a Merge pull request #108 from josephbisch/arch-instructions
Add instructions for using gitian-builder with an Arch host
2015-12-07 14:42:14 +08:00
Dev Random
0020642f7a Merge pull request #107 from MarcoFalke/master
ssh: Replace deprecated dsa with rsa
2015-12-07 14:41:23 +08:00
Joseph Bisch
2f0abd1001 Add instructions for using gitian-builder with an Arch host 2015-12-05 00:03:31 -05:00
MarcoFalke
7e4b665acb Replace deprecated dsa with rsa 2015-12-02 13:27:17 +01:00
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.
2015-11-19 13:16:17 +01:00
Dev Random
29c406e117 Merge pull request #104 from josephbisch/fix-tuser
Set TUSER to ubuntu by default and update README
2015-11-18 20:38:37 -05:00
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).
2015-11-18 10:22:38 -05:00
Dev Random
ad77800219 Merge pull request #103 from josephbisch/fix-debian-i386
Fix debian i386
2015-11-17 10:39:20 -05:00
Joseph Bisch
23ccc3d1dd Use grub package instead of grub-pc unless distro is ubuntu
According to the Debian wiki, installing the package grub installs the
correct version of grub for your suite automatically. This fixes a "you
have held broken packages" error when creating the package manifest due
to a conflict between grub-pc and grub-legacy (at least with Wheezy).
2015-11-13 10:04:50 -05:00
Joseph Bisch
1aad9f4079 Expand on apt issue/workaround and correct affected Debian suites 2015-11-13 09:22:19 -05:00
Joseph Bisch
5b7c52b231 Swap Debian i386 flavour checks
Check for older suites with 686 flavour before checking for 686-pae
flavour suites, because the former should never change, but the latter
would have to be changed whenever a new suite was released if it wasn't
the last if statement.
2015-11-13 09:05:46 -05:00
Joseph Bisch
4f69707c4d Fix issue with apt in Debian <= Squeeze 2015-11-12 12:42:58 -05:00
Joseph Bisch
fe1abd1153 Fix flavour for i386 arch
Wheezy on up has linux-image-686-pae. Squeeze on down has
linux-image-686.
2015-11-12 10:05:58 -05:00
Dev Random
1c1c17473e Merge pull request #101 from josephbisch/debian
Initial Debian guest support
2015-10-19 09:55:13 -07:00