Commit Graph

564 Commits

Author SHA1 Message Date
Don Patterson
3dfe3a45a9 Fix bug in dmg builder so that it actually reads in the configuration file 2018-12-23 12:18:36 +01:00
Cory Fields
0f64b28af7 build: Fix 'make deploy' for OSX
Native OSX uses system tools rather than 3rd party dependencies. rsvg-convert
is still required, though.
2018-12-23 12:15:01 +01:00
Micha
caedbd46a0 [TRIVIAL] reorder Windows gitian build order to match Linux
The consistency is helpful for gauging Gitian build progress. Right now it's necessary to remember which platform builds in which order, which can be confusing if you're attempting to get a quick idea of how far along your builds are.
2018-12-23 11:30:24 +01:00
MarcoFalke
6a0ab18954 [contrib] delete qt_translations.py
follow-up of 1a97b22 #4185
2018-12-23 11:18:01 +01:00
nomnombtc
35de655d68 improved gen-manpages.sh, includes bitcoin-tx and strips commit tag, now also runs binaries from build dir by default, added variables for more control 2018-12-23 11:13:49 +01:00
nomnombtc
2dd21dd5b6 add gen-manpages.sh description to README.md 2018-12-23 11:04:56 +01:00
nomnombtc
2bd6e695af add script to generate manpages with help2man 2018-12-23 11:04:29 +01:00
Andrew Chow
eebb54b3d0 Set defaults to gitian defaults
Set the default -j and -m to 2 and 2000 respectively, matching gitian's default values.
2018-12-23 10:48:11 +01:00
Andrew Chow
7b9cb122f6 Create option to detach sign gitian builds and not commit the files in the script
Gitian builds can be done where the assert files are made but no signing is done. The sigs can also optionally not be committed automatically.
2018-12-23 10:46:46 +01:00
Andrew Chow
877aa586e9 Check for OSX SDK 2018-12-23 10:45:51 +01:00
Andrew Chow
abb486159b Create an easy to use gitian building script
I've written a script that automates the setup and building of binaries with gitian. All of the commands are pulled from various documentation on gitian building.
2018-12-23 10:44:45 +01:00
Luke Dashjr
5a63f11947 Include instructions to extract Mac OS X SDK on Linux using 7zip and SleuthKit 2018-12-23 10:42:10 +01:00
Michel van Kessel
2ffbcee9af new seeds
updated nodes_main.txt and nodes_test.txt
2018-11-15 19:29:09 +01:00
Alice Wonder
76fe5c393d All files related to my RPM spec file project in one commit 2018-11-10 00:12:10 +03:00
lateminer
6c033f11df Remove reference to test patches 2018-11-10 00:11:03 +03:00
Alice Wonder
66dc01c23c Description of RPM directory 2018-11-10 00:06:37 +03:00
isle2983
c37822da78 [copyright] add MIT License copyright header to zmq_sub.py
Github-Pull: #8701
Rebased-From: 37a7fe9e440b83e2364d5498931253937abe9294
2018-11-10 00:05:07 +03:00
lateminer
89564cb3b8 Update contrib/verify-commits 2018-11-10 00:03:43 +03:00
Luke Dashjr
723fbec1d3 Bugfix: Correct copyright year in Mac DMG background image 2018-11-09 23:50:26 +03:00
lateminer
b94a0b413f Remove contrib/macdeploy/Base.lproj/InfoPlist.strings 2018-11-09 23:46:49 +03:00
BtcDrak
ff2acad9a1 Update btcdrak signing key
Github-Pull: #8662
Rebased-From: 46606af200db563ca742b56f291cee2311a27491
2018-11-09 23:35:57 +03:00
Luke Dashjr
36e46640d1 Update luke-jr's PGP key
Same key, extended expiration date
2018-11-09 23:35:48 +03:00
Johnson Lau
d1f6c993be Update gitian signing key of jl2012
Github-Pull: #8950
Rebased-From: 9b0d8efe811058928a6ed3a55c0b6d58e13b22ba
2018-11-09 23:35:31 +03:00
MarcoFalke
065a20fce2 [gitian] Move keys to contrib/gitian-keys 2018-11-09 23:34:27 +03:00
MarcoFalke
c5fbfdf373 [gitian] Add marcofalke-key.pgp 2018-11-09 23:32:53 +03:00
lateminer
402eb6dc15 Update contrib/gitian-descriptors 2018-11-09 23:31:42 +03:00
Luke Dashjr
852e6ce19c More complicated package name substitution for Mac deployment 2018-11-09 23:25:32 +03:00
MarcoFalke
53cce15e55 [doc] Update git-subtree-check.sh README
Github-Pull: #8545
Rebased-From: fa3d9740099c8513f9942983f135f58890e62cb5
2018-11-09 23:01:11 +03:00
MarcoFalke
7d168c8663 [doc] Update bitcoin-core GitHub links 2018-11-09 23:01:02 +03:00
MarcoFalke
66e2824d28 contrib: Make fix-copyright-headers.py more portable
Github-Pull: #8607
Rebased-From: fafe7b3432d5117e3f207eafe2fca1f9637b24f6
2018-11-09 22:56:49 +03:00
isle2983
c0801a4176 [copyright] add MIT license headers to .sh scripts where missing 2018-11-09 22:55:07 +03:00
Wladimir J. van der Laan
100926a654 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.
2018-11-09 22:51:41 +03:00
Wladimir J. van der Laan
48d9e58483 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.
2018-11-09 22:51:32 +03:00
Wladimir J. van der Laan
f1084d15b1 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.
2018-11-09 22:51:24 +03:00
Andrew C
f6d3a70fbf [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.
2018-11-09 22:51:15 +03:00
Wladimir J. van der Laan
7dfa83448d 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.
2018-11-09 22:51:06 +03:00
Wladimir J. van der Laan
ceeecd99da 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
2018-11-09 22:50:54 +03:00
calebogden
8193c2da05 Fixing typos on security-check.py and torcontrol.cpp 2018-11-09 22:47:13 +03:00
MarcoFalke
e64cbfc569 [contrib] Prepare clang-format-diff for usage 2018-11-09 22:39:21 +03:00
MarcoFalke
5e060631ea Add clang-format-diff.py from the LLVM svn
------------------------------------------------------------------------
r249567 | djasper | 2015-10-07 19:00:20 +0200 (Wed, 07 Oct 2015) | 2 lines

clang-format: Add include sorting capabilities to sublime, emacs and
clang-format-diff.py.
------------------------------------------------------------------------
r231926 | djasper | 2015-03-11 15:58:38 +0100 (Wed, 11 Mar 2015) | 3 lines

clang-format: Recognize the .ts (TypeScript) extension as JavaScript.

Patch by Martin Probst. Thank you.
------------------------------------------------------------------------
r223685 | djasper | 2014-12-08 20:39:03 +0100 (Mon, 08 Dec 2014) | 1 line

clang-format: Make clang-format-diff.py format java files.
------------------------------------------------------------------------
r221990 | djasper | 2014-11-14 14:27:28 +0100 (Fri, 14 Nov 2014) | 4 lines

clang-format: Give clang-format-diff.py a -v option.

With it, it prints the file being formatted. Apparently people are
formatting thousands of files and some progress indication is helpful.
------------------------------------------------------------------------
r216945 | ed | 2014-09-02 22:59:13 +0200 (Tue, 02 Sep 2014) | 6 lines

Use /usr/bin/env python instead of /usr/bin/python.

On operating systems like the BSDs, it is typically the case that
/usr/bin/python does not exist. We should therefore use /usr/bin/env
instead. This is also done in various other scripts in tools/.

------------------------------------------------------------------------
r208766 | djasper | 2014-05-14 11:36:11 +0200 (Wed, 14 May 2014) | 1 line

clang-format: Add clang-format-diff usage examples for SVN.
------------------------------------------------------------------------
r199750 | djasper | 2014-01-21 16:40:01 +0100 (Tue, 21 Jan 2014) | 3 lines

clang-format: Enable formatting for .proto and .protodevel files.

Support for protocol buffer files seems complete enough.
------------------------------------------------------------------------
r197668 | djasper | 2013-12-19 11:21:37 +0100 (Thu, 19 Dec 2013) | 1 line

Fix usage description of clang-format-diff.py.
------------------------------------------------------------------------
r197608 | alp | 2013-12-18 22:34:07 +0100 (Wed, 18 Dec 2013) | 7 lines

clang-format-diff.py: fix -regex/-iregex matching

While debating the finer points of file extension matching, we somehow missed
the bigger problem that the current code will match anything starting with the
default or user-specified pattern (e.g. lit.site.cfg.in).

Fix this by doing what find(1) does, implicitly wrapping the pattern with ^$.
------------------------------------------------------------------------
r197542 | alp | 2013-12-18 01:58:58 +0100 (Wed, 18 Dec 2013) | 3 lines

clang-format-diff.py: add the OpenCL file extension

It's handled correctly as a C-family language.
------------------------------------------------------------------------
r197378 | alexfh | 2013-12-16 11:57:30 +0100 (Mon, 16 Dec 2013) | 14 lines

Added -iregex for case-insensitive regex to filter file names.

Summary:
-regex and -iregex both mimic options of the find utility.
Made the default list of extensions case-insensitive, so that it's not only C
and CPP extensions are accepted in upper case.

Reviewers: djasper

Reviewed By: djasper

CC: cfe-commits

Differential Revision: http://llvm-reviews.chandlerc.com/D2415
------------------------------------------------------------------------
r196917 | alp | 2013-12-10 14:51:53 +0100 (Tue, 10 Dec 2013) | 10 lines

clang-format-diff.py: Support -regex filter and more filename extensions

Add support for more filename extensions based on the list in the clang
plus JavaScript.

Also adds a -regex option so users can override defaults if they have unusual
file extensions or want to format everything in the diff.

Keeping with tradition the flag is modelled on Unix conventions, this time
matching the semantics of find(1).
------------------------------------------------------------------------
r196484 | alp | 2013-12-05 09:14:54 +0100 (Thu, 05 Dec 2013) | 4 lines

clang-format-diff.py: pass through errors to stderr, not stdout

Also use write() for unified diff output to avoid further processing by the
print function (e.g. trailing newline).
------------------------------------------------------------------------
r196336 | alp | 2013-12-04 01:48:22 +0100 (Wed, 04 Dec 2013) | 3 lines

clang-format-diff.py: Fix 'beintroduced' in help output

Also update docs to reflect recently changed -i inplace edit behaviour.
------------------------------------------------------------------------
r192505 | alexfh | 2013-10-11 23:32:01 +0200 (Fri, 11 Oct 2013) | 17 lines

Changed clang-format-diff.py to output diff by default. Added -i option to apply changes to files instead.

Summary:
"svn diff|clang-format-diff.py" will just output the diff.
Now it's possible to use:
  svn diff|clang-format-diff.py|patch -p0
as an equivalent to:
  svn diff|clang-format-diff.py -i
;)

Reviewers: djasper

Reviewed By: djasper

CC: cfe-commits

Differential Revision: http://llvm-reviews.chandlerc.com/D1840
------------------------------------------------------------------------
r192184 | djasper | 2013-10-08 17:54:36 +0200 (Tue, 08 Oct 2013) | 7 lines

clang-format: Don't exit with failure on empty files.

Also let clang-format-diff.py detect errors based on clang-format's
return code. Otherwise messages like "Can't find usable .clang-format,
falling back to LLVM style" can make it fail, which might be undesired.

Patch by Alp Toker. Thank you!
------------------------------------------------------------------------
r191820 | djasper | 2013-10-02 15:59:03 +0200 (Wed, 02 Oct 2013) | 18 lines

clang-format: Fix clang-format-diff.py according to diff specification.

Patch by Alp Toker. Many thanks!

Original descriptions:
clang-format-diff incorrectly modifies unchanged lines due to an error
in diff parsing.

The unified diff format has a default line change count of 1, and 0 may
be specified to indicate that no lines have been added. This patch
updates the parser to accurately reflect the diff specification.

This also has the benefit of stabilising the operation so it will
produce the same output when run multiple times on the same changeset,
which was previously not the case.

No tests added because this script is not currently tested (though we
should look into that!)
------------------------------------------------------------------------
r191137 | djasper | 2013-09-21 12:05:02 +0200 (Sat, 21 Sep 2013) | 3 lines

Fix clang-format-diff.py to accept -style again.

Copy and paste error in r190935..
------------------------------------------------------------------------
r190935 | djasper | 2013-09-18 14:14:09 +0200 (Wed, 18 Sep 2013) | 3 lines

Simplify clang-format-diff.py using new clang-format options.

clang-format's -lines parameter makes this significantly easier.
------------------------------------------------------------------------
r189765 | alexfh | 2013-09-02 18:39:23 +0200 (Mon, 02 Sep 2013) | 2 lines

Added WebKit style to the BasedOnStyle handling and to the relevant help messages.

------------------------------------------------------------------------
r182923 | djasper | 2013-05-30 13:50:20 +0200 (Thu, 30 May 2013) | 4 lines

Fix default value of clang-format-diff's -p option.

This way, it has the same default as 'patch' and also the example in the
code makes more sense as it is explicitly setting -p 1.
------------------------------------------------------------------------
r179676 | djasper | 2013-04-17 09:55:02 +0200 (Wed, 17 Apr 2013) | 2 lines

Small improvements to clang-format documentation and integration
scripts.
------------------------------------------------------------------------
r179377 | djasper | 2013-04-12 15:42:36 +0200 (Fri, 12 Apr 2013) | 1 line

Fix clang-format-diff.py script.
------------------------------------------------------------------------
r179098 | djasper | 2013-04-09 17:23:04 +0200 (Tue, 09 Apr 2013) | 5 lines

Improvements to clang-format integrations.

This adds an emacs editor integration (thanks to Ami Fischman). Also
pulls out the style into a variable for the vi integration and just
uses clang-formats defaults style in clang-format-diff.py.
------------------------------------------------------------------------
r177506 | djasper | 2013-03-20 10:53:23 +0100 (Wed, 20 Mar 2013) | 1 line

Add clang-format binary to cfe.
------------------------------------------------------------------------

s
2018-11-09 22:39:09 +03:00
Cory Fields
2f761976bb build: add armhf/aarch64 gitian builds 2018-11-09 22:37:42 +03:00
MarcoFalke
14fd911134 Bump man pages 2018-11-09 22:23:02 +03:00
isle2983
6b6d0e9065 [copyright] Add missing copyright headers
Github-Pull: #8676
Rebased-From: 783e930e68a312bc7654d833053cceead18dd688
2018-11-09 22:12:18 +03:00
MarcoFalke
8efc016485 [contrib] Remove reference to sf and add doc to verify.sh 2018-11-09 22:06:56 +03:00
Wladimir J. van der Laan
50cd854f18 contrib: remove hardcoded version from verify.sh
Closes #7595 as by removing the hardcoded version number from
`verify.sh`.
2018-11-09 22:05:27 +03:00
Christian von Roques
a353a3bfea bash-completion: Adapt for 0.12 and 0.13
* separate completion for bitcoind and bitcoin-cli
 * remove RPC support from bitcoind completion
 * add completion for bitcoin-tx and bitcoin-qt
 * rely on autoloading of completions
2018-11-09 22:02:48 +03:00
isle2983
b520261bd9 [copyright] add MIT License copyright header to remaining Python files
Github-Pull: #8702
Rebased-From: 4677b197f7aa8d35bfc20a5961c3e1c41bb7de39
2018-11-09 21:44:06 +03:00
Suhas Daftuar
a4361e1863 Add warning if -blockminsize is used. 2018-10-23 01:25:24 +03:00
Gregory Maxwell
87e790f776 Blacklist -whitelistalwaysrelay; replaced by -whitelistrelay. 2018-10-23 01:23:56 +03:00
MarcoFalke
1dc2c96818 [travis] Run contrib/devtools/check-doc.py early 2018-10-23 01:22:51 +03:00