Commit Graph

17011 Commits

Author SHA1 Message Date
sasha 34ca70d7a9
Merge pull request #6214 from zcash/update-parallel-gitian-descriptor
Update gitian-linux-parallel.yml
2022-10-21 10:42:43 -07:00
Daira Hopwood e89d94d8b9
Merge pull request #6213 from zcash/version-5.3.0
Merge v5.3.0 release branch back to `master`.
2022-10-21 14:01:42 +01:00
sasha a524061861
Update gitian-linux-parallel.yml
The release commit was built with a `make-release.py` that was before the parallel-gitian commit, causing the parallel gitian descriptor to not be updated.
2022-10-20 18:12:07 -07:00
Kris Nuttycombe 35186b0092
Merge pull request #6210 from sellout/release-v5.3.0
Release v5.3.0
2022-10-20 12:25:20 -06:00
Greg Pfeil 8e333b3f49 updatecheck: support XDG-based token location
Have updatecheck look in $XDG_DATA_HOME/zcash/updatecheck/token for the GH
token. Having one in the repo will still take precedence (for pre-existing
users, as well as if you want to override the token used in a particular
case). The new location is standardized, exists at the user level (as the token
logically does), and means that you don't need to copy files around if you get a
new clone or worktree to do a release.
2022-10-20 12:25:13 -06:00
Greg Pfeil 4c21d6f444 updatecheck: simplify token handling
- make the token optional (just will hit a rate limit after a few runs of the
  script)
- only load the token once, rather than once per request (this is necessary
  after the above change, so you don't get the warning printed repeatedly)
- switch from BasicAuth to an Authorization header (this means we no longer need
  the GitHub username, just the token)
- support a token file that doesn't contain a username (it will still parse old
  versions of the file properly)
2022-10-20 12:13:30 -06:00
Kris Nuttycombe 654180df21
Merge pull request #6104 from superbaud/parallel-gitian-descriptor
Add a new gitian descriptor to enable parallel gitian builds
2022-10-20 11:03:23 -06:00
Greg Pfeil d557b6e5c5 make-release.py: Updated release notes and changelog for 5.3.0. 2022-10-20 10:52:37 -06:00
Greg Pfeil b6681791fc make-release.py: Updated manpages for 5.3.0. 2022-10-20 10:52:37 -06:00
Greg Pfeil 9c4bf36c45 updatecheck: fix GitHub auth
The script was accessing nonexistent vars, so auth wasn't working. Mostly not
noticable until you hit the API's unauthed request rate limit.
2022-10-20 10:48:02 -06:00
Greg Pfeil 5a084253d6 make-release.py: Versioning changes for 5.3.0. 2022-10-20 10:38:42 -06:00
sasha 6c85d52504 Add `-j$(nproc)` to the parallel gitian descriptor 2022-10-20 09:26:59 -07:00
sasha 75397a623e Use linux gitian descriptor as a base for the parallel linux descriptor 2022-10-20 09:25:43 -07:00
sasha e1b716b753 Make make-release.py aware of the parallel build gitian descriptor file 2022-10-20 09:24:36 -07:00
Kris Nuttycombe cc34f4f9ba
Merge pull request #6207 from sellout/fix-release-script
Check dependency updates on the correct branch
2022-10-20 09:46:53 -06:00
Kris Nuttycombe 5e05f060ef
Merge pull request #6208 from zcash/5.3.0-dependency_updates
Update to released versions of librustzcash crates.
2022-10-20 09:33:24 -06:00
Kris Nuttycombe 16c49a844e Fix clippy lints. 2022-10-20 08:35:29 -06:00
Kris Nuttycombe 06a1c78941 Certify librustzcash crate upgrades. 2022-10-20 08:35:29 -06:00
Kris Nuttycombe 741e6b1108 Update to released versions of librustzcash crates. 2022-10-20 08:35:29 -06:00
Greg Pfeil 65d04eed60 Check dependency updates on the correct branch
Previously make-release.py checked dependency updates before checking out the
commit to be released. This could be annoying if the release branch had
everything up-to-date, but you ran the script from a different branch. Worse,
you could accidentally update the dependencies on your original branch, and have
it pass the release process with outdated dependencies.
2022-10-19 14:50:46 -06:00
Daira Hopwood 66ee214954
Merge pull request #6206 from zcash/5.3.0-dependency_updates
Update and/or postpone dependencies for 5.3.0
2022-10-19 21:00:58 +01:00
Kris Nuttycombe 2f734ce6ea Vet cxxbridge upgrade. 2022-10-19 12:21:37 -06:00
Kris Nuttycombe 05110068d9 Update and/or postpone dependencies for 5.3.0 2022-10-19 10:09:03 -06:00
Daira Hopwood a6141281d4
Merge pull request #6201 from sellout/fix-disable-wallet
Fix building with --disable-wallet
2022-10-19 07:36:23 +01:00
Greg Pfeil a9528ca0a3
Merge pull request #6204 from sellout/fix-zcashd-help
Fix broken `zcashd --help`
2022-10-18 14:53:52 -06:00
Greg Pfeil dd7b8b580f Don’t define wallet-needing code when --disable-wallet
Co-authored-by: Daira Hopwood <daira@jacaranda.org>
2022-10-18 13:52:04 -06:00
Greg Pfeil 669a1b9ba0 Qualify a `string`
This only gets triggered with `./configure --disable-wallet`, but clang
complains about this unqualified identifier.
2022-10-18 13:52:04 -06:00
Greg Pfeil 04d314d067 Apply suggestions from code review
Co-authored-by: Kris Nuttycombe <kris.nuttycombe@gmail.com>
2022-10-18 13:43:14 -06:00
Greg Pfeil fa494a10a1 Fix `zcashd --help`
When I cleaned up the debug log reporting, I included the path to the debug log
in the help message, which unfortunately required the base params to be
loaded. They don’t get loaded before the help message (and they shouldn’t), so
this caused an assertion failure.

The fix is to use “debug log” in the help message, rather than the path to the
actual debug log. This is the right thing to do, because the help message
explains how to set the path to the debug log, so the literal path when run with
`--help` would possibly not be the correct one at runtime.

Fixes #6184.
2022-10-18 13:42:02 -06:00
Greg Pfeil 5c19487991 Add test for `zcashd --help`
Currently failing.
2022-10-18 13:42:02 -06:00
Daira Hopwood 774fa691aa Always use a tuple as right argument of % in new Python code.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2022-10-18 13:42:02 -06:00
Greg Pfeil 1e480d2b4d Address review feedback and fixed test failures
Some tests were checking error message strings, but the check was still
hardcoded to “bitcoind”.
2022-10-18 13:42:02 -06:00
Greg Pfeil 8cb655c3ff Fix display of binary name in error messages.
Ensures that test failures report the name of the actual binary that was run.
2022-10-18 13:42:02 -06:00
str4d cb8c2eec84
Merge pull request #6198 from zcash/release-v5.3.0-rc1
Release v5.3.0-rc1
2022-10-12 02:54:40 +01:00
Greg Pfeil ebea82c96c
Merge pull request #6165 from sellout/rpc-tests-binary-name
Fix display of binary name in error messages.
2022-10-11 16:25:51 -06:00
Jack Grigg 2b28a56c27 make-release.py: Updated release notes and changelog for 5.3.0-rc1. 2022-10-11 11:30:02 +00:00
Jack Grigg 4f03ebb2a5 make-release.py: Updated manpages for 5.3.0-rc1. 2022-10-11 11:30:01 +00:00
Jack Grigg 78d23a2a96 make-release.py: Versioning changes for 5.3.0-rc1. 2022-10-11 11:17:23 +00:00
Jack Grigg 4871fba26a rust: Update remaining dependencies
The audit exemptions have been regenerated for these dependencies.
2022-10-11 10:13:41 +00:00
Jack Grigg 2477ef9c4b rust: Audit some dependency updates 2022-10-11 05:08:07 +00:00
Daira Hopwood 7788afcf54 Always use a tuple as right argument of % in new Python code.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2022-10-10 20:50:59 +01:00
Jack Grigg 13657342c8 qa: Recommend cargo-upgrades instead of cargo-outdated
Closes zcash/zcash#6090.
2022-10-10 19:05:51 +00:00
Jack Grigg 9a69c2b01e rust: Update to `cpufeatures 0.2.5`
Closes zcash/zcash#6195.
2022-10-10 19:04:39 +00:00
Jack Grigg f7b59a5ddb qa: Postpone Clang 15.0.2 2022-10-10 18:56:49 +00:00
Jack Grigg 1f836859f3 depends: Update cxx to 1.0.78 2022-10-10 18:56:12 +00:00
Jack Grigg 3b9f7c2a69 rust: Update to `metrics 0.20` 2022-10-10 18:44:33 +00:00
Kris Nuttycombe fe3defdbc6
Merge pull request #6191 from DeckerSU/patch-test-framework
test_framework: fix AttributeError in sapling_spends_compact_digest
2022-10-10 10:05:40 -06:00
Greg Pfeil ad47364f31 Address review feedback and fixed test failures
Some tests were checking error message strings, but the check was still
hardcoded to “bitcoind”.
2022-10-04 10:21:06 -06:00
Greg Pfeil 6a7c86e63b Fix display of binary name in error messages.
Ensures that test failures report the name of the actual binary that was run.
2022-10-04 10:21:06 -06:00
DeckerSU 225c8b8a03
test_framework: fix AttributeError in sapling_spends_compact_digest
Without this fix we will get:
AttributeError: 'SpendDescriptionV5' object has no attribute 'anchor'
On certain V5 transactions rehash / calc_sha256, for example:
ca6abd8ef7d6ef158a4a35ea2c2c0cf122f2f664a88f8fa5b6fd79e48c5bed59
2022-10-04 01:54:34 +02:00