Homu
57c7838d5f
Auto merge of #2393 - nathan-at-least:2391.make-release-script, r=nathan-at-least
...
make-release.py script
ref #2391
This is a new `make-release.py` script which automates creation of the 'release PR' branch.
It has partial unittest coverage (large around version parsing/sorting/serializing) and always runs unittests prior to doing actual work. Most of the testing was done manually by using the ``--repo`` arg on a test repo, then reseting its state each time I needed a new test (to get around git checks). There is no other 'dry run' functionality.
2017-05-22 21:28:26 -07:00
Nathan Wilcox
88bf7eb050
Add a few more version strings to positive parser test.
2017-05-22 21:23:11 -07:00
Nathan Wilcox
187e64c7ab
Consider both beta and rc versions to be `IS_RELEASE == false`.
2017-05-22 20:42:00 -07:00
Nathan Wilcox
92333721e5
Examine all future versions which are assumed to follow the same Version parser schema.
2017-05-22 20:38:22 -07:00
Nathan Wilcox
73a3f7dc02
Include release version in commit comments.
2017-05-22 20:38:06 -07:00
Nathan Wilcox
7f10df4785
Fix `release-process.md` doc usage for `make-release.py` to have correct arguments and order.
2017-05-22 20:24:42 -07:00
Homu
8b1384ca29
Auto merge of #2397 - nathan-at-least:performance-benchmarks-fixes, r=nathan-at-least
...
Performance benchmarks fixes
Addresses #2395 and #2392 .
2017-05-22 18:57:57 -07:00
Nathan Wilcox
5a027a4a6e
Do not use `-rpcwait` on all `zcash_rpc` invocations, only block when starting zcashd.
2017-05-22 17:51:23 -07:00
Nathan Wilcox
4e47698633
Reuse zcash_rpc.
2017-05-22 17:47:36 -07:00
Nathan Wilcox
453c74743c
Fix a variable name typo.
2017-05-22 17:46:26 -07:00
Nathan Wilcox
0cfc9d65fa
Enable set -u mode.
2017-05-22 17:46:13 -07:00
Nathan Wilcox
0df82709b4
First full-release-branch version of script; rewrite large swatch of release-process.md. [Manually tested.]
2017-05-22 12:34:00 -07:00
Homu
7ea88c9513
Auto merge of #2389 - str4d:2388-bench-archive-determinism, r=nathan-at-least
...
Remove additional sources of nondeterminism from benchmark archive
Closes #2388 .
2017-05-22 11:05:36 -07:00
Nathan Wilcox
c66c5ab21f
Tidy up / systematize logging output a bit more.
2017-05-19 18:20:00 -07:00
Nathan Wilcox
08d66a9c01
Polish logging a bit more.
2017-05-19 18:09:35 -07:00
Nathan Wilcox
c62edf9471
Generate manpages; commit that; improve error output in sh_log.
2017-05-19 18:05:02 -07:00
Nathan Wilcox
785244020a
Commit the version changes and build.
2017-05-19 18:05:02 -07:00
Nathan Wilcox
f6b9ffefb7
Shorten the arg log line.
2017-05-19 18:05:02 -07:00
Nathan Wilcox
14b2a420d3
Switch from `sh_out_logged` to `sh_log`.
2017-05-19 17:35:20 -07:00
Nathan Wilcox
cf97f66987
Remove portions of `./doc/release-process.md` now implemented in `make-release.py`.
2017-05-19 17:16:59 -07:00
Nathan Wilcox
4dbb6c0b1d
Modify the `APPROX_RELEASE_HEIGHT`.
2017-05-19 17:09:37 -07:00
Jack Grigg
08dc7889d2
Remove additional sources of determinism from benchmark archive
...
The archive has also been moved from .tar.gz to .tar.xz for a
33% reduction in size.
Closes #2388 .
2017-05-20 11:59:16 +12:00
Nathan Wilcox
ab55424763
Generalize buildnum patching for both `clientversion.h` and `configure.ac`.
2017-05-19 16:45:01 -07:00
Nathan Wilcox
482291582e
Implement the IS_RELEASE rule for betas.
2017-05-19 16:35:44 -07:00
Nathan Wilcox
68ab915a24
Implement `PathPatcher` abstraction, `clientversion.h` rewrite, and build numbering w/ unittests.
2017-05-19 16:32:09 -07:00
Homu
c7e1e4f29a
Auto merge of #2364 - emilrus:tordoc, r=nathan-at-least
...
Trivial: Replace bitcoind with zcashd in tor doc
2017-05-19 15:34:08 -07:00
Nathan Wilcox
2d8d493ff9
Exit instead of raising an unexpected exception, since it's already logged.
2017-05-19 15:27:07 -07:00
Nathan Wilcox
fad06b020b
Make sure to pull the latest master.
2017-05-19 15:25:39 -07:00
Nathan Wilcox
ea5abe2ca7
Add an option to run against a different repo directory.
2017-05-19 15:15:59 -07:00
Nathan Wilcox
b43194baee
Make --help output clean by not running self-test.
2017-05-19 13:09:24 -07:00
Nathan Wilcox
1ecb494896
Always run unittests prior to actual runs.
2017-05-19 13:08:26 -07:00
Nathan Wilcox
b9b7f25fb9
Make SystemExit errors less redundant in output; verify clean git status on master.
2017-05-19 13:05:55 -07:00
Nathan Wilcox
3250b3d34e
Add version sorting, assert that RELEASE_PREV is the most recent release.
2017-05-19 13:00:59 -07:00
Nathan Wilcox
7f53785735
Add support for beta/rc release versions.
2017-05-19 12:24:22 -07:00
Nathan Wilcox
a93f4de2f6
Add all of the zcash release tags in my current repo as positive test vector.
2017-05-19 12:20:14 -07:00
Nathan Wilcox
987d040660
Add another case from debian-style versions.
2017-05-19 12:17:07 -07:00
Nathan Wilcox
6e5b990a35
Update version spec by altering test; also update regex to pass single 0 digits in major/minor/patch.
2017-05-19 12:16:13 -07:00
Nathan Wilcox
30cc01ef13
Start on a make-release.py script; currently just arg parsing and unittests [unittests fail].
2017-05-19 12:14:46 -07:00
Homu
8214ebc61c
Auto merge of #2372 - str4d:2355-connectblock-bench, r=nathan-at-least
...
Benchmark for calling ConnectBlock on a block with many inputs
Requires placing `block-107134.tar.gz` (containing the block, and a fake CoinsDB containing its inputs) into the base directory of the repository.
To facilitate generation of the fake CoinsDB, an additional field `valuesZat` has been added to `getrawtransaction` containing the integer number of zatoshis instead of a decimal number of ZEC.
Closes #2355 .
2017-05-18 20:13:26 -07:00
Homu
4578919278
Auto merge of #2281 - str4d:release-version-handling, r=nathan-at-least
...
Release version handling
- Convert Zcash versions to Debian format for packaging
- [manpage] Handle build numbers in versions
2017-05-18 17:40:47 -07:00
Homu
3cbcabc16d
Auto merge of #2376 - str4d:2271-miner-tests, r=nathan-at-least
...
Regenerate miner tests
Closes #2271 .
2017-05-18 15:00:04 -07:00
Jack Grigg
c66c731adf
Add a benchmark for calling ConnectBlock on a block with many inputs
...
Requires placing block-107134.tar.gz (containing the block, and a fake CoinsDB
containing its inputs) into the base directory of the repository. This can be
generated using qa/zcash/create_benchmark_archive.py (see the script for usage
details).
To facilitate generation of the fake CoinsDB, an additional field 'valueZat' has
been added to 'getrawtransaction' containing the integer number of zatoshis
instead of a decimal number of ZEC.
Closes #2355 .
2017-05-18 11:03:46 +12:00
Homu
73676ce6d6
Auto merge of #2200 - str4d:1884-tx-priority-test, r=nathan-at-least
...
Fix prioritisetransaction RPC test
Part of #1884 .
2017-05-16 11:54:49 -07:00
Jack Grigg
2857f6960d
Regenerate miner tests
...
Closes #2271 .
2017-05-16 22:38:07 +12:00
Homu
38684e4c42
Auto merge of #2293 - daira:alerts-for-2017-04-11.a, r=nathan-at-least
...
Alerts for 2017-04-11.a security issue (fixed in 1.0.8-1)
Alert 1002 (versions 1.0.0-1.0.2 inclusive).
Alert 1003 (versions 1.0.3-1.0.8 inclusive).
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2017-05-15 16:08:29 -07:00
Homu
2adeb3948b
Auto merge of #2369 - nathan-at-least:build-toolchain-logging, r=nathan-at-least
...
Print toolchain versions before making depends, autoconf, or main build.
Closes #2218 .
Note: I spent a half hour attempting to have make do this so that people not using `build.sh` would get the same output. There's no easy way I found to ensure that output occurs first and regardless of the result of other build rules.
2017-05-15 13:12:05 -07:00
Homu
0d77ed35ae
Auto merge of #2340 - ioptio:master, r=nathan-at-least
...
wallet backup instructions
closes #2178
2017-05-15 11:19:40 -07:00
Homu
e209ba4951
Auto merge of #2338 - amgadabdelhafez:patch-1, r=nathan-at-least
...
Update timedata.cpp to fix error message string from bitcoin core to zcash
Changing error message string from bitcoin core to zcash. fixes issue #2336
2017-05-15 09:42:19 -07:00
Homu
3a98e3b4c2
Auto merge of #2297 - str4d:2274-apoptosis, r=nathan-at-least
...
Implement automatic shutdown of deprecated Zcash versions
Closes #2274 .
2017-05-14 18:39:14 -07:00
Homu
01bc99205a
Auto merge of #2251 - str4d:2210-tor-quotedstring-escapes, r=nathan-at-least
...
Handle escapes in Tor QuotedStrings
Also adds a missing copyright header.
Closes #2210 .
2017-05-13 15:24:58 -07:00