Marshall Gaucher
66e71c45b3
Update entrypoint.sh
...
Add in config option for prometheusport and metricsallowip via entrypoint.sh mechanism
2021-11-02 17:54:52 -07:00
Kris Nuttycombe
78ee3d7357
Merge pull request #5354 from zcash/hotfix-v4.5.1-1
...
Merge v4.5.1-1 hotfix branch
2021-10-11 08:58:20 -06:00
Jack Grigg
e2abf34cc9
make-release.py: Updated release notes and changelog for 4.5.1-1.
2021-10-08 17:03:31 +00:00
Jack Grigg
a4419b5f85
make-release.py: Versioning changes for 4.5.1-1.
2021-10-08 17:00:27 +00:00
str4d
ad35b89e05
contrib: Add space between URL and period
...
Co-authored-by: Daira Hopwood <daira@jacaranda.org>
2021-10-07 11:38:37 +13:00
Jack Grigg
f574047387
contrib: Add license information for libc++ and libevent
...
Closes zcash/zcash#5302 .
2021-09-29 13:43:55 +01:00
Jack Grigg
a672318b4d
contrib: Update Debian copyright file to follow the v1 format
...
https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
2021-09-29 13:42:01 +01:00
str4d
3ab6e1b3d9
Merge pull request #5315 from charlieok/add_buster_gitian_suite
...
Add buster to the list of suites used by gitian
2021-09-30 00:21:50 +13:00
Jack Grigg
4bfbdfa4ef
make-release.py: Updated release notes and changelog for 4.5.1.
2021-09-29 01:49:51 +01:00
Jack Grigg
3822c716fd
make-release.py: Versioning changes for 4.5.1.
2021-09-29 01:40:44 +01:00
Charlie O'Keefe
21d6835efa
Update base image used by Dockerfile from debian 10 to debian 11
...
I built a docker image with this change and verified that it successfully started zcashd
2021-09-23 14:03:29 -06:00
Jack Grigg
a1d17292b4
make-release.py: Updated release notes and changelog for 4.5.0.
2021-09-23 04:20:16 +01:00
Jack Grigg
1bd9152daa
make-release.py: Versioning changes for 4.5.0.
2021-09-23 04:12:06 +01:00
Jack Grigg
00724c9f5a
Update halo2 and orchard dependencies with BOSL Zcash exception
2021-09-22 23:10:57 +01:00
Jack Grigg
660e938499
cargo update
...
Includes pasta_curves 0.2.1, which relicenses to MIT OR Apache-2.0.
2021-09-22 22:51:26 +01:00
Charlie O'Keefe
db8abb7a54
Add buster to the list of suites used by gitian
2021-09-22 10:58:34 -06:00
Jack Grigg
9803111210
contrib: Add script for generating a graph of our Rust dependencies
...
Co-authored-by: Daira Hopwood <daira@jacaranda.org>
2021-09-17 13:38:01 +01:00
Jack Grigg
bfd7b31efe
make-release.py: Updated release notes and changelog for 4.5.0-rc1.
2021-09-16 23:34:14 +01:00
Jack Grigg
8a9f29eaf1
make-release.py: Versioning changes for 4.5.0-rc1.
2021-09-16 23:15:40 +01:00
Jack Grigg
66832c1e54
contrib: Add BOSL to contrib/debian/copyright
2021-06-10 22:11:42 +01:00
Homu
c6a0ec17fe
Auto merge of #5212 - str4d:release-v4.4.1, r=str4d
...
Release v4.4.1
Due to Homu merge confusion, the release commit for this release is
0dade79ce7
(the final commit in the
release branch), not the merge commit.
2021-06-10 00:48:18 +00:00
Jack Grigg
5fe7df4c6f
make-release.py: Updated release notes and changelog for 4.4.1.
2021-06-09 23:19:49 +01:00
Jack Grigg
d51c3884bf
make-release.py: Versioning changes for 4.4.1.
2021-06-09 23:14:25 +01:00
Homu
8fbabc4740
Auto merge of #5205 - str4d:bump-rust-deps, r=str4d
...
Migrate to latest Rust dependencies
This brings in the Orchard dependencies, as well as a `metrics` feature we upstreamed.
2021-06-09 15:26:37 +00:00
Jack Grigg
5ef2270b2a
make-release.py: Updated release notes and changelog for 4.4.1-rc1.
2021-06-08 22:45:20 +01:00
Jack Grigg
81ee683c38
make-release.py: Versioning changes for 4.4.1-rc1.
2021-06-08 22:38:24 +01:00
Jack Grigg
3d6c1e4426
metrics 0.16 and metrics-exporter-prometheus 0.5
...
Includes the allowlist logic that we upstreamed.
2021-06-06 00:53:19 +01:00
mdr0id
50ff89c4b8
add tekton build/worker docker, organize legacy buildbot docker
2021-05-05 12:00:31 -07:00
mdr0id
cb756bf725
clean up ubuntu 18.04 and 20.04 commands
2021-04-21 10:39:45 -07:00
mdr0id
4bb3d492e5
Add Debian 11 ci-builder
2021-04-21 10:35:45 -07:00
Jack Grigg
ad1c30873d
make-release.py: Updated release notes and changelog for 4.4.0.
2021-04-15 16:55:39 +12:00
Jack Grigg
c54fdeed35
make-release.py: Versioning changes for 4.4.0.
2021-04-15 16:42:53 +12:00
Jack Grigg
30f68da525
make-release.py: Updated release notes and changelog for 4.4.0-rc1.
2021-04-09 17:40:36 +12:00
Jack Grigg
f4d88aec20
make-release.py: Versioning changes for 4.4.0-rc1.
2021-04-09 17:32:49 +12:00
Jack Grigg
83eef40f4c
rust: Add license header to metrics_ffi::prometheus
2021-03-31 09:19:17 +13:00
Jack Grigg
958ffeafd3
metrics: Move documentation into zcashd book
2021-03-30 15:12:36 +13:00
Jack Grigg
d08cdbe5f7
metrics: Implement IP access control on Prometheus scrape endpoint
2021-03-30 15:12:08 +13:00
str4d
d0f468e1ce
Add security warnings for -prometheusmetrics option
...
Co-authored-by: Daira Hopwood <daira@jacaranda.org>
2021-03-30 15:12:08 +13:00
Jack Grigg
7a96af8260
rust: Move helper macros into rust/helpers.h
2021-03-30 15:12:08 +13:00
Jack Grigg
37b42d8a41
tracing: Merge TracingSpanFields macro into TracingSpan
...
Leverages the VA_OPT macro library, which is a polyfill for __VA_OPT__
on non-C++20 platforms, to enable TracingSpan to support optional fields.
Source: https://github.com/willwray/VA_OPT
License: Boost Software License, Version 1.0
2021-03-30 15:12:08 +13:00
Jack Grigg
e5a5bc5b83
metrics: Add documentation and example configs
2021-03-30 15:12:08 +13:00
Jack Grigg
8b91e3bf21
make-release.py: Updated release notes and changelog for 4.3.0.
2021-02-24 20:17:10 +00:00
Jack Grigg
205b40da9a
make-release.py: Versioning changes for 4.3.0.
2021-02-24 20:12:54 +00:00
Homu
e68e43a0fe
Auto merge of #5001 - mdr0id:add_zstd_apt_package, r=str4d
...
add zstd package to support Windows cross compile
Once the v4.3.0 release is stable, we will need to go rebuild/deploy this builder with a couple other updates so that windows can gracefully cross compile again.
2021-02-23 01:47:34 +00:00
Marshall Gaucher
14de44030f
add libxml2
...
Adding libxml2 to linux gitian descriptors
2021-02-22 14:37:30 -08:00
mdr0id
beb40ce3e7
add zstd package
2021-02-22 13:20:59 -08:00
Jack Grigg
6052843b6f
make-release.py: Updated release notes and changelog for 4.3.0-rc1.
2021-02-19 22:05:06 +00:00
Jack Grigg
e8096841a3
make-release.py: Versioning changes for 4.3.0-rc1.
2021-02-19 21:51:00 +00:00
Marius Kjærstad
ae4ad8fc4b
Update of copyright year to 2021
2021-01-01 04:14:18 +01:00
Kris Nuttycombe
993feb59f8
make-release.py: Updated release notes and changelog for 4.2.0.
2020-12-21 12:58:15 -07:00
Kris Nuttycombe
c75e663c2a
make-release.py: Versioning changes for 4.2.0.
2020-12-21 12:43:00 -07:00
Kris Nuttycombe
a0dd3e3ce5
make-release.py: Updated release notes and changelog for 4.2.0-rc1.
2020-12-19 09:56:36 -07:00
Kris Nuttycombe
f8bb085d85
make-release.py: Versioning changes for 4.2.0-rc1.
2020-12-19 09:45:41 -07:00
Homu
844ef48b45
Auto merge of #4912 - daira:daira-partial-revert-4904, r=daira
...
Partial revert of "Update links"
This partially reverts commit f459e43dc9
. See #4904 .
In summary, the rationale is that:
* Some of the changed files are from subtrees, which should be updated upstream.
* The licensing of four of the files under `build-aux/m4` is complicated and so changes to them should have required review with that in mind: 5b97cd27f8/COPYING (L38-L44)
* The changes to `contrib/debian/copyright` must also be reverted because those are in copies of specific versioned licenses.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2020-12-17 18:28:32 +00:00
Homu
dea50714f9
Auto merge of #4892 - str4d:boosted, r=str4d
...
Replace boost::variant and boost::optional with standard library
Includes a commit cherry-picked from https://github.com/bitcoin/bitcoin/pull/20419 .
Closes #4821 . Closes #4822 .
2020-12-17 02:42:55 +00:00
Daira Hopwood
2840790f66
Partial revert of "Update links". See #4904
...
This partially reverts commit f459e43dc9
.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2020-12-17 01:42:03 +00:00
fanquake
f201e1e02d
build: set minimum supported macOS to 10.14
2020-12-16 22:59:35 +00:00
Dimitris Apostolou
f459e43dc9
Update links
2020-12-13 11:24:44 +02:00
Kris Nuttycombe
7ec8a9c5f4
make-release.py: Updated release notes and changelog for 4.1.1.
2020-11-16 10:23:40 -07:00
Kris Nuttycombe
142328b067
make-release.py: Versioning changes for 4.1.1.
2020-11-16 10:07:07 -07:00
Jack Grigg
dbfb3565d6
lint: Opt out of locale dependence in Zcash shell scripts
2020-11-09 23:06:21 +00:00
Jack Grigg
7c4b19fa4d
lint: Use consistent shebangs
2020-11-09 23:06:21 +00:00
isle2983
ccf31edf62
[copyright] add MIT license headers to .sh scripts where missing
...
Years are set according to 'git log' history
Zcash: Only the scripts we have that are missing the header.
2020-11-09 22:59:04 +00:00
Homu
84a5830aaa
Auto merge of #4829 - str4d:backport-lints, r=str4d
...
Backport useful lints from upstream
Cherry-picked from the following upstream PRs:
- bitcoin/bitcoin#6892
- bitcoin/bitcoin#11151
- bitcoin/bitcoin#11300
- bitcoin/bitcoin@96d91b79bd
- bitcoin/bitcoin#12097
- bitcoin/bitcoin#12098
- bitcoin/bitcoin#12442
- bitcoin/bitcoin#12572
- bitcoin/bitcoin#12757
- bitcoin/bitcoin#11878
- bitcoin/bitcoin#12933
- bitcoin/bitcoin#12871
- bitcoin/bitcoin#12972
- bitcoin/bitcoin#13281
- bitcoin/bitcoin#13385
- bitcoin/bitcoin#13041
- bitcoin/bitcoin#13454
- bitcoin/bitcoin#13448
- bitcoin/bitcoin#13510
- bitcoin/bitcoin#13851
- bitcoin/bitcoin#13863
- bitcoin/bitcoin#14115
- bitcoin/bitcoin#14831
- bitcoin/bitcoin#15164
- bitcoin/bitcoin#15170
- bitcoin/bitcoin#15166
- bitcoin/bitcoin#16036
- bitcoin/bitcoin#16768
- bitcoin/bitcoin#13494
Several of the lints fail for our current codebase; these will be addressed in a
subsequent PR.
2020-11-09 21:20:55 +00:00
Sean Bowe
fe681d2cc6
make-release.py: Updated release notes and changelog for 4.1.0.
2020-11-02 13:40:54 -07:00
Sean Bowe
75a8a6c25f
make-release.py: Versioning changes for 4.1.0.
2020-11-02 13:38:03 -07:00
Daira Hopwood
6cbaa65b55
Gitian builds: Remove manual CFLAGS and CXXFLAGS from descriptor.
...
Before Zcash launched, we were heavily relying on `zcutil/build.sh` to
apply our Zcash-specific hardening flags. The Gitian deterministic build
system obviously didn't use our script, so the corresponding flags were
manually added to `gitian-linux.yml`.
Since then, we have migrated all of our flags into `configure.ac`.
Manually setting them in the Gitian descriptor is no longer necessary,
and should have been removed at the same time. This didn't cause any
noticeable issues, however, leaving it undetected until we migrated to
Clang in zcash/zcash#4613 , and performed a Gitian build for 4.1.0-rc1.
The Gitian failure was caused by linker flags specific to C++ being used
in configuration tests for secp256k1 (a C library). This causes ldd to
emit warnings, which are then converted to errors by the -Werror flags
that were added to CFLAGS and CXXFLAGS by `gitian-linux.yml`. CI did not
encounter this because it uses the standard `--enable-werror` config flag,
which adds `-Werror` to CXXFLAGS but not CFLAGS.
Co-authored-by: Jack Grigg <jack@z.cash>
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2020-10-29 11:15:59 +00:00
vim88
27f924108c
Scripts and tools & Docs: Used #!/usr/bin/env bash instead of obsolete #!/bin/bash, added linting for .sh files shebang and updated the Developer Notes.
2020-10-27 23:05:19 +00:00
DesWurstes
be186b8112
Obsolete #!/bin/bash shebang
2020-10-27 23:05:18 +00:00
practicalswift
0eef155a4a
Explicitly specify encoding when opening text files in Python code
2020-10-27 23:05:02 +00:00
MarcoFalke
c2848070b4
test: Move linters to test/lint, add readme
...
Zcash: Only the lint-* scripts we have backported.
2020-10-27 23:05:02 +00:00
John Newbery
2788e33710
[contrib] convert test-security-check to python3
2020-10-27 23:05:02 +00:00
practicalswift
5d0affeafb
add lint tool to check python3 shebang
2020-10-27 23:05:02 +00:00
practicalswift
eab2490ea4
Add shell script linting: Check for shellcheck warnings in shell scripts
2020-10-27 23:05:02 +00:00
MarcoFalke
5747638ecf
Refine travis check for duplicate includes
...
This partially reverts commit c36b720d009f1ab1c3900750e05c1f17412e564d.
2020-10-27 23:05:02 +00:00
practicalswift
a3afa2a17e
Add Travis check for duplicate includes
...
This enforces parts of the project header include guidelines (added by @sipa in #10575 ).
2020-10-27 23:05:02 +00:00
practicalswift
87bc7fc83e
Add lint-include-guards.sh which checks include guard consistency
2020-10-27 23:05:02 +00:00
Akio Nakamura
b2d56059fa
[script] lint-whitespace: improve print linenumber
...
Before this PR, the linenumber infomaition is output if trailing-space
or tab code was found, but the output occurence is only per a file.
This PR separates the output timing of file name and line number.
As a result, users will find where they need to fix more easily.
2020-10-27 23:05:02 +00:00
MarcoFalke
87f4e1c488
devtools: Exclude patches from lint-whitespace
2020-10-27 23:05:02 +00:00
Sjors Provoost
c1683a142b
[scripts] lint-whitespace: check last N commits or unstaged changes
...
Get usage instructions:
.lint-whitespace.sh -?
2020-10-27 23:05:02 +00:00
Sjors Provoost
034fe80a79
[scripts] lint-whitespace: use perl instead of grep -P
...
MacOS does not support 'grep -P' out of the box. This change makes
it easier for developers to check for whitespace problems locally.
2020-10-27 23:05:02 +00:00
Wladimir J. van der Laan
b77da1fd0c
contrib: Ignore historical release notes for whitespace check
...
Lint checks should not test these, they are historical documents,
and we don't want to encourage silly changes to them to satisfy
a checker.
Hopefully makes travis pass again on master.
Tree-SHA512: 37e6716c4fd5e8a4e579f9b84042e6b0ac224836b6c851cd1ca3f7d46611ffd3003bed0ae08dd0457f69d6eaa485a0d21c631e7ef16b14bdb0f2f78ea700332d
2020-10-27 23:05:02 +00:00
MeshCollider
378d6d04aa
Add tab char lint check and exclude imported dependencies
2020-10-27 23:05:02 +00:00
Evan Klitzke
5da5d54216
Add a lint check for trailing whitespace.
...
This adds a new CHECK_DOC check that looks for newly introduced trailing
whitespace. Existing trailing whitespace (of which there is plenty!)
will not trigger an error.
This is written in a generic way so that new lint-*.sh scripts can be
added to contrib/devtools/, as I'd like to contribute additional lint
checks in the future.
2020-10-27 23:05:02 +00:00
therealyingtong
3cdef42bcc
make-release.py: Updated release notes and changelog for 4.1.0-rc1.
2020-10-28 02:51:45 +08:00
therealyingtong
f10cf663bc
make-release.py: Versioning changes for 4.1.0-rc1.
2020-10-28 02:32:03 +08:00
practicalswift
ab5fdb7c7d
Use bash instead of POSIX sh. POSIX sh does not support arrays.
2020-10-27 15:09:43 +00:00
practicalswift
8cd66cf690
Add error handling: exit if cd fails
2020-10-27 15:08:36 +00:00
str4d
8aadc745c2
Use HTTPS in script license headers
...
Co-authored-by: Daira Hopwood <daira@jacaranda.org>
2020-10-26 18:04:19 +00:00
Hennadii Stepanov
1d3af17140
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
Zcash: Only the changes that applied to the versions of the scripts we have.
2020-10-26 17:36:26 +00:00
practicalswift
3b1bf4b4af
Add "export LC_ALL=C" to all shell scripts
...
Zcash: Only for shell scripts we have from upstream.
2020-10-26 17:36:26 +00:00
MarcoFalke
6506fbacf1
test: Move linters to test/lint, add readme
2020-10-26 17:36:26 +00:00
Pieter Wuille
6b6f3b5649
Fail on commit with VERIFY SCRIPT but no scripted-diff
2020-10-26 17:20:55 +00:00
Cory Fields
553c9e6850
devtools: add script to verify scriptable changes
2020-10-26 15:54:33 +00:00
Daira Hopwood
c656ae1303
Add new copyright entries for build-aux/m4/ax_cxx_compile_stdcxx.m4
...
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2020-10-20 13:55:14 +01:00
Homu
de5c28b4b7
Auto merge of #4613 - str4d:claaaaaang, r=daira
...
Pin Clang for all compilation
fixes #2513 , fixes #4697 , fixes #4698 , fixes #4699 . refs #4607 , #4292
2020-10-20 11:15:47 +00:00
Daira Hopwood
f2d7fd6323
contrib/devtools/symbol-check.py: add info about Fedora-based distributions.
...
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2020-10-19 14:47:29 +01:00
Daira Hopwood
d54d4d083e
Update contrib/devtools/symbol-check.py
...
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2020-10-19 14:47:29 +01:00
Ben Wilson
172b26991e
Build python for debian9 and ubuntu16.04
2020-10-15 19:50:29 -04:00
Ben Wilson
c6f9215c04
Fixed Centos and Arch python requirements
2020-10-15 17:24:21 -04:00