Commit Graph

960 Commits

Author SHA1 Message Date
Daira Hopwood 4de0d85abf The std::expected proposal has unnecessary instances of undefined behaviour
for operator->, operator*, and error(). Make these into assertion failures
(this still conforms to the proposal).

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2022-12-08 20:53:54 +00:00
Daira Hopwood 7472b0dbca Add tl::expected. refs #4816
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2022-12-08 20:53:54 +00:00
Kris Nuttycombe 8b16094f66
Merge pull request #6284 from janisozaur/patch-1
Update debian/compat to version 13
2022-12-08 13:08:22 -07:00
Greg Pfeil 6a7b67c06d Fix a minor bug in docker/entrypoint.sh
Fixes #6297.
2022-12-06 17:18:18 -07:00
Greg Pfeil 7cb61508b1 Defer fixing docker/entrypoint.sh lint failure 2022-12-06 13:46:00 -07:00
Greg Pfeil 4946316537 Appease ShellCheck
ShellCheck has started failing in CI. My guess is that the ubuntu-latest runner
now uses a `/bin/sh` that is actually Bash.

- excludes checksec.sh, as it’s not our code
- fixes lints in other files
2022-12-06 10:46:43 -07:00
Michał Janiszewski e80cd4dd19
Update debian/compat to version 13
Compat version 13 is currently the recommended one.

An important change introduced in 10 was change of default to target parallel builds

5d1bb29841/debhelper.pod (compatibility-levels)
2022-12-04 23:54:07 +01:00
Daira Hopwood ed0089d876 make-release.py: Updated release notes and changelog for 5.3.2. 2022-12-03 19:58:44 +00:00
Daira Hopwood f7697dbdf3 make-release.py: Versioning changes for 5.3.2. 2022-12-03 19:49:32 +00:00
Daira Hopwood 0972ffd785 make-release.py: Updated release notes and changelog for 5.3.1. 2022-12-02 02:46:42 +00:00
Daira Hopwood 5e3e4d49d0 make-release.py: Versioning changes for 5.3.1. 2022-12-02 02:42:08 +00:00
Greg Pfeil 761b764b51 make-release.py: Updated release notes and changelog for 5.3.1-rc1. 2022-11-23 22:18:55 -07:00
Greg Pfeil 0647a9ba24 make-release.py: Versioning changes for 5.3.1-rc1. 2022-11-23 22:09:24 -07:00
sasha 15b7f93177 Fix gitian version string issue by reverting the GIT_DIR backport commit
We partially revert 8dbd2edd98 by removing
all instances of setting `GIT_DIR` in the gitian descriptors. Currently,
gitian builds cause zcash to have version strings which look like
`Zcash Daemon version v5.3.0-35186b009-dirty`, which is inaccurate.

Setting `GIT_DIR` with a current working directory of
`/home/debian/build/zcash/distsrc-x86_64-linux-gnu` makes the git
invocations in `genbuild.sh` see that directory as the top of the
working tree, which causes git to believe that a bunch of tracked files
were deleted (namely, those not included by the `make dist` step).

This causes `genbuild.sh` to believe that it is working with a dirty
tree, and with the help of `src/clientversion.cpp`, zcash gets a version
string that includes a hash ending in `-dirty`.
2022-10-21 10:50:22 -07: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 d557b6e5c5 make-release.py: Updated release notes and changelog for 5.3.0. 2022-10-20 10:52:37 -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
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 78d23a2a96 make-release.py: Versioning changes for 5.3.0-rc1. 2022-10-11 11:17:23 +00:00
Hennadii Stepanov c23889a150 script: Enable SC2001 rule for Gitian scripts
(cherry picked from commit bitcoin/bitcoin@17f81e9648)
2022-08-20 03:15:12 +00:00
Hennadii Stepanov f620206f03 script: Enable SC2155 rule for Gitian scripts
Also pwd command is replaced with $PWD variable everywhere for
consistency.

(cherry picked from commit bitcoin/bitcoin@61bb21b418)
2022-08-20 03:15:12 +00:00
Hennadii Stepanov fa3abe8819 script: Enable SC2006 rule for Gitian scripts
(cherry picked from commit bitcoin/bitcoin@577682d9e8)
2022-08-20 03:15:12 +00:00
Jack Grigg 3dd142d605 lint: Fix ShellCheck lints in Zcash scripts 2022-08-20 03:15:12 +00:00
Hennadii Stepanov 8294e51681 Enable ShellCheck rules
Enabled ShellCheck rules:
  SC1087
  SC2001
  SC2004
  SC2005
  SC2006
  SC2016
  SC2028
  SC2048
  SC2066 (note that IFS already contains only a line feed)
  SC2116
  SC2166
  SC2181
  SC2206
  SC2207
  SC2230
  SC2236

(cherry picked from commit bitcoin/bitcoin@1ac454a384)

Zcash: Applies more of this commit. It was partially backported in
zcash/zcash#4827, and is also partially backported here for the scripts
we actually have.
2022-08-20 03:13:52 +00:00
MarcoFalke 606358aae0 Remove script to clean up datadirs
This reverts commit 33c055c4f1.
(bitcoin/bitcoin#2295)

(cherry picked from commit bitcoin/bitcoin@fa85de9ff5)
2022-08-20 03:13:52 +00:00
Luke Dashjr 8dbd2edd98 Bugfix: Only use git for build info if the repository is actually the right one
Also adds ability to disable check with BITCOIN_GENBUILD_NO_GIT=1 in the environment

(cherry picked from commit bitcoin/bitcoin@e98e3dde6a)
2022-08-20 03:13:52 +00:00
James White 0f0ff451b2 Add IPv6 support to qos.sh
(cherry picked from commit bitcoin/bitcoin@fc089ae47a)
2022-08-20 03:13:52 +00:00
Jack Grigg 1f94372b86 lint: Fix shell lints 2022-08-19 22:40:02 +00:00
str4d 81764889c8
Merge pull request #6071 from str4d/llvm-14
Migrate to LLVM 14
2022-08-11 03:47:54 +01:00
Kris Nuttycombe df6e05173e
Merge pull request #6083 from zcash/leveldb-1.22
Update LevelDB to 1.22+
2022-08-10 18:14:43 -06:00
Jack Grigg 12c36670fe depends: Update Clang / libcxx to LLVM 14.0.6
In practice we are using 14.0.0 in most cases, as the LLVM Project have
not published Ubuntu binaries for any point release after 14.0.0 (which
we are using here).
2022-08-10 23:10:40 +00:00
Daira Hopwood f38db34693 Add contrib/debian/copyright entry for crc32c.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2022-07-28 19:08:02 +01:00
Sean Bowe b63dc026c7
make-release.py: Updated release notes and changelog for 5.2.0. 2022-07-25 12:42:25 -06:00
Sean Bowe 9d8e85373e
make-release.py: Versioning changes for 5.2.0. 2022-07-25 12:38:28 -06:00
Kris Nuttycombe 4a17098b72
Merge branch 'version-5.2.0' into narrow-too-many-args 2022-07-25 10:42:15 -06:00
Daira Hopwood a227652d7d Update cxx to 1.0.72.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2022-07-25 14:57:19 +01:00
Kris Nuttycombe c2f8318444 make-release.py: Updated release notes and changelog for 5.2.0-rc1. 2022-07-22 15:52:42 -06:00
Kris Nuttycombe 5671ed3f9d make-release.py: Versioning changes for 5.2.0-rc1. 2022-07-22 15:49:26 -06:00
Kris Nuttycombe d1dabd5a04
Merge pull request #6019 from zcash/add_docker_tromp_miner
Add environment variables for Equihash solver and number of threads to entrypoint.sh
2022-07-14 11:38:18 -06:00
Jack Grigg 4d7ce75ef1 make-release.py: Updated release notes and changelog for 5.1.0. 2022-07-08 03:01:54 +00:00
Jack Grigg 13d1a3fc6a make-release.py: Versioning changes for 5.1.0. 2022-07-08 02:52:02 +00:00
sasha eb43bc5c02 make-release.py: Updated release notes and changelog for 5.1.0-rc1. 2022-07-05 22:25:25 +00:00
sasha 1d996a080b make-release.py: Versioning changes for 5.1.0-rc1. 2022-07-05 22:11:55 +00:00
Marshall Gaucher 91473c80b0
Update contrib/docker/entrypoint.sh
Co-authored-by: str4d <jack@electriccoin.co>
2022-07-01 12:02:11 -07:00
Marshall Gaucher 563bc2bfb4 Update entrypoint.sh
Add support flags for tromp solver and number of threads
2022-07-01 13:54:27 +01:00
Jack Grigg 0430fdf20d Upgrade to `orchard 0.2.0` 2022-07-01 01:24:15 +00:00
Daira Hopwood 5b85d9df20 halo2 is now under MIT/Apache-2.0, so does not need a declaration in `contrib/debian/copyright`.
fixes #5203

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2022-06-07 18:59:28 +01:00