Commit Graph

999 Commits

Author SHA1 Message Date
Kris Nuttycombe dae937b5cd
Merge pull request #6405 from daira/patch-copyright
Clarify that patches to a dependency are under the same license as that dependency
2023-02-24 17:39:17 -07:00
Jack Grigg 06e4ef83ec depends: Update Clang / libcxx to LLVM 15.0.6
- We update Windows cross-compile builds to 15.0.7 because binaries are
  provided for it, but not currently for any other platform we need.
- We update native x84_64 macOS builds to 15.0.4 because no 15.0.6
  binaries are provided, and the 15.0.7 ones appear to be targeted at a
  newer Darwin version.
- We keep FreeBSD on 14.0.6 because no Clang 15 binaries are provided,
  and as FreeBSD is a Tier 3 platform it doesn't block us from upgrading
  the remaining platforms.
2023-02-16 16:02:37 +00:00
Kris Nuttycombe 0b9f76c36c
Merge pull request #6430 from zcash/hotfix-v5.4.1
Back-merge of hotfix-v5.4.1
2023-02-13 16:24:30 -07:00
Jack Grigg 56626bcb29 make-release.py: Updated release notes and changelog for 5.4.1. 2023-02-13 18:10:07 +00:00
Jack Grigg fc6ddfa605 make-release.py: Versioning changes for 5.4.1. 2023-02-13 18:06:28 +00:00
Daira Hopwood a65b04a4f5 Update copyright date and email for tl_expected.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2023-02-09 00:48:40 +00:00
Kris Nuttycombe af4994c1ae
Merge pull request #6414 from zcash/version-5.4.0 2023-02-08 15:28:18 -07:00
Jack Grigg 0e277800bb make-release.py: Updated release notes and changelog for 5.4.0. 2023-02-08 17:21:10 +00:00
Jack Grigg 4cb8973c22 make-release.py: Versioning changes for 5.4.0. 2023-02-08 17:07:58 +00:00
Daira Hopwood 1156e43992 Clarify that patches to a dependency are under the same license as that dependency.
The relevant licenses are:

* bdb: BDB (variant of Gnu Affero GPL)
* libevent: BSD-3-clause
* libsodium: ISC
* tl_expected: CC0-1.0
* zeromq: LGPL-3+ with ZeroMQ exception

In the case of zeromq, this is an explicit condition of the license --
specifically its static linking exception, which we rely on:
"If you modify this library, you must extend this exception to your
version of the library."

In all cases, patches are necessarily derived (even if only trivially)
from the code they are patching. We technically could relicense to MIT
in some cases, but using the original license for patches we've written
is a courtesy that makes it easier for upstream to adopt the patch, even
if we don't specifically file a PR.

native_cctools is also patched, but Debian copyright policy does not
require `contrib/debian/copyright` to mention this dependency, because
it is only part of the build process and its contents do not get compiled
into the resulting build:
https://www.debian.org/doc/debian-policy/ch-archive.html#s-pkgcopyright

In all cases I checked that we have the right to distribute the patch
under the relevant license (i.e. it doesn't depend on any incompatible
third-party contributions). Reviewers should satisfy themselves of this.

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2023-02-06 15:17:51 +00:00
Charlie O'Keefe 251432966f
Merge pull request #6401 from nuttycom/version-5.4.0-back_merge
Back-merge version-5.4.0 changes to `master`.
2023-02-02 15:36:12 -07:00
Kris Nuttycombe 7b28054e8b make-release.py: Updated release notes and changelog for 5.4.0-rc4. 2023-02-01 17:37:55 -07:00
Kris Nuttycombe 6ae749d4d9 make-release.py: Versioning changes for 5.4.0-rc4. 2023-02-01 17:35:05 -07:00
Kris Nuttycombe aef66f4845 Add a docker-compose.yml for prometheus/grafana metrics collection.
@str4d provided the zcashd-metrics dashboard.

Co-authored-by: Jack Grigg <jack@z.cash>
2023-02-01 08:51:23 -07:00
Kris Nuttycombe d9a60c9d1e make-release.py: Updated release notes and changelog for 5.4.0-rc3. 2023-01-27 15:07:19 -07:00
Kris Nuttycombe 6e8404e9b3 make-release.py: Versioning changes for 5.4.0-rc3. 2023-01-27 15:03:29 -07:00
Kris Nuttycombe 25c62d804a Fixes an error in `zcash-cli help` following the removal of `dumpwallet`. 2023-01-25 16:57:29 -07:00
Jack Grigg f5b123e494 make-release.py: Updated release notes and changelog for 5.4.0-rc2. 2023-01-24 02:13:05 +00:00
Jack Grigg ae7c2c742d make-release.py: Versioning changes for 5.4.0-rc2. 2023-01-24 02:13:05 +00:00
str4d d6e2fada84
Merge pull request #6362 from nuttycom/issue2921-fix-copyright-headers
Replace fix-copyright-headers.py with a script that creates a scripted-diff git commit.
2023-01-23 22:13:05 +00:00
str4d 0e931a9397
Merge pull request #4470 from oxarbitrage/issue4294
Add transparent value pool to RPC calls
2023-01-23 21:55:00 +00:00
Kris Nuttycombe 0f886c32fe Apply suggestions from code review
Co-authored-by: str4d <thestr4d@gmail.com>
2023-01-23 13:23:20 -07:00
Kris Nuttycombe 3cec519ce4 scripted-diff: Update Zcash copyrights to 2023
-BEGIN VERIFY SCRIPT-
for party in "The Zcash developers" "The Bitcoin Core developers" "Bitcoin Developers"; do
  sed -i"" -e "s#Copyright (c) \([0-9]\{4\}\)\(-[0-9]\{4\}\)\? $party#Copyright (c) \1-2023 $party#" COPYING
  sed -i"" -e "s#\(.*\)\([0-9]\{4\}\)\(-[0-9]\{4\}\)\, $party#\1\2-2023, $party#" contrib/debian/copyright
done

sed -i"" -e "s/define(_COPYRIGHT_YEAR, [0-9]\{4\})/define(_COPYRIGHT_YEAR, 2023)/" configure.ac
sed -i"" -e "s/#define COPYRIGHT_YEAR [0-9]\{4\}/#define COPYRIGHT_YEAR 2023/" src/clientversion.h

git grep "^// Copyright (c) .* The Zcash developers" \
  | awk -F ':' '{print $1}' \
  | xargs -I {} sed -i"" -e "s#// Copyright (c) \([0-9]\{4\}\)\(-[0-9]\{4\}\)\? The Zcash developers#// Copyright (c) \1-2023 The Zcash developers#" {}
-END VERIFY SCRIPT-
2023-01-23 11:31:54 -07:00
Kris Nuttycombe b8fe1d2b78 Replace fix-copyright-headers.py with a script that creates a scripted-diff git commit.
Fixes #2921
Supersedes #4926
2023-01-23 11:31:41 -07:00
Kris Nuttycombe 57ca26867b Remove unnecessary delta_count variable. 2023-01-22 22:21:02 -07:00
Kris Nuttycombe 193b22b754 Apply suggestions from code review
Co-authored-by: Daira Hopwood <daira@jacaranda.org>
2023-01-22 11:33:23 -07:00
Kris Nuttycombe 810c191216 Add script for verifying block rewards and fees not claimed by miners.
Co-authored-by: Jack Grigg <jack@z.cash>
Co-authored-by: Daira Hopwood <daira@jacaranda.org>
2023-01-22 09:10:03 -07:00
Jack Grigg 227887490b make-release.py: Updated release notes and changelog for 5.4.0-rc1. 2023-01-19 22:57:59 +00:00
Jack Grigg 072fc26e3e make-release.py: Versioning changes for 5.4.0-rc1. 2023-01-19 22:50:16 +00:00
str4d 6ec042dd51
Merge pull request #6343 from rex4539/typos
Fix typos
2023-01-18 23:22:44 +00:00
Dimitris Apostolou 3748f3b83a
Fix typos 2023-01-13 00:49:12 +02:00
str4d e747455adf
Merge pull request #6341 from str4d/6340-drop-centos-8
Remove CentOS 8 as a supported platform
2023-01-12 21:36:30 +00:00
str4d e1d48dd3fb
Merge pull request #6136 from zcash/tekton_zcash_basics
Add basic Tekton Zcash CI environment
2023-01-12 17:59:52 +00:00
Marshall Gaucher 15970e55f3
Update contrib/ci-builders/tekton/tekton-labs/tasks/zcash-build-test.yml
Update darwin version

Co-authored-by: str4d <jack@electriccoin.co>
2023-01-12 06:23:44 -08:00
Marshall Gaucher 1c60c3ac4e
Update contrib/ci-builders/tekton/tekton-labs/tasks/zcash-build.yml
update darwin version

Co-authored-by: str4d <jack@electriccoin.co>
2023-01-12 06:23:28 -08:00
Jack Grigg 6affc287f7 Remove CentOS 8 as a supported platform
CentOS 8 reached EoL on December 31st 2021, and no longer satisfies our
Tier 2 platform requirements.

Part of zcash/zcash#6340.
2023-01-12 00:08:31 +00:00
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