Loading .gitlab-ci.yml +7 −7 Original line number Diff line number Diff line Loading @@ -32,7 +32,7 @@ rust-latest: - cargo clippy --all-features --all-targets -- -D warnings - cargo fmt -- --check - cp cargo-audit $CARGO_HOME/bin/ || cargo install cargo-audit - ./maint/cargo_audit.sh - ./maint/cargo_audit - cp $CARGO_HOME/bin/cargo-audit . - cargo build --verbose --release -p arti-bench --target x86_64-unknown-linux-gnu tags: Loading Loading @@ -90,8 +90,8 @@ coverage: - rustup component add llvm-tools-preview - cargo install grcov # Generate report - ./maint/with_coverage.sh cargo test --verbose --all-features - ./maint/with_coverage.sh -f cobertura -o coverage.xml -c true - ./maint/with_coverage cargo test --verbose --all-features - ./maint/with_coverage -f cobertura -o coverage.xml -c true artifacts: paths: - 'coverage' Loading @@ -116,7 +116,7 @@ build-repro: stage: build image: rust:1.54.0-alpine3.14 script: - ./maint/reproducible_build.sh linux windows macos - ./maint/reproducible_build linux windows macos artifacts: paths: - arti-linux Loading @@ -136,11 +136,11 @@ integration: script: - apt update - apt install -y tor git python3 curl - ./tests/chutney/setup.sh - ./tests/chutney/setup - curl http://example.com -vs --socks5-hostname 127.0.0.1:9150 -o /dev/null - ./tests/chutney/stop-arti.sh - ./tests/chutney/stop-arti - RUST_LOG=debug target/x86_64-unknown-linux-gnu/release/arti-bench -c ./chutney/net/nodes/arti.toml --socks5 127.0.0.1:9008 -o benchmark_results.json - ./tests/chutney/teardown.sh - ./tests/chutney/teardown artifacts: paths: - benchmark_results.json Loading crates/tor-rtcompat/misc/matrix.py→crates/tor-rtcompat/misc/matrix +0 −0 File moved. View file doc/Release.md +7 −7 Original line number Diff line number Diff line Loading @@ -5,14 +5,14 @@ I made the toplevel changelog for 0.0.1 by reading 'git shortlog arti-v0.0.0..' and summarizing the best stuff. There is a ./maint/thanks.sh script to generate the acknowledgments. There is a ./maint/thanks script to generate the acknowledgments. 2. Make sure we're up-to-date. Try to run: * cargo update * cargo upgrade --dry-run --workspace --skip-compatible * ./maint/cargo_audit.sh * ./maint/check_licenses.sh * ./maint/readmes.sh * ./maint/cargo_audit * ./maint/check_licenses * ./maint/readmes (Note that not all of the above will make changes on their own; you'll need to understand the output and decide what to do.) Loading @@ -31,11 +31,11 @@ To bump the patch version of _every_ crate, run: ; for crate in $(./maint/list_crates.py); do cargo set-version -p "$crate" --bump patch; done ; for crate in $(./maint/list_crates); do cargo set-version -p "$crate" --bump patch; done To find only the crates that changed since version 0.0.x, you can run: ; ./maint/changed_crates.sh arti-v0.0.x ; ./maint/changed_crates arti-v0.0.x But note that you can't just bump _only_ the crates that changed! Any crate that depends on one of those might now count as changed, even if Loading @@ -47,7 +47,7 @@ a list of crates from lowest- to highest-level, see the top-level Cargo.toml. ; for crate in $(./maint/list_crates.py); do cargo publish -p "$crate"; echo "Sleeping"; sleep 30; done ; for crate in $(./maint/list_crates); do cargo publish -p "$crate"; echo "Sleeping"; sleep 30; done (The "sleep 30" is probably too long, but some delay seems to be necessary to give crates.io time to publish each crate before the next Loading maint/add_warning.py→maint/add_warning +1 −1 Original line number Diff line number Diff line Loading @@ -108,7 +108,7 @@ def main(lints,files): if not files: print("No files provided. Example usage:") print(" ./maint/add_warning.py ./maint/add_warning.py crates/*/src/{lib,main}.rs") print(" ./maint/add_warning crates/*/src/{lib,main}.rs") for fn in files: process(lints, fn) Loading maint/binary_size.sh→maint/binary_size +1 −1 Original line number Diff line number Diff line #!/bin/sh # # binary_size.sh: Build arti with a given set of options, and # binary_size: Build arti with a given set of options, and # dump the binary size in a json format. set -eu Loading Loading
.gitlab-ci.yml +7 −7 Original line number Diff line number Diff line Loading @@ -32,7 +32,7 @@ rust-latest: - cargo clippy --all-features --all-targets -- -D warnings - cargo fmt -- --check - cp cargo-audit $CARGO_HOME/bin/ || cargo install cargo-audit - ./maint/cargo_audit.sh - ./maint/cargo_audit - cp $CARGO_HOME/bin/cargo-audit . - cargo build --verbose --release -p arti-bench --target x86_64-unknown-linux-gnu tags: Loading Loading @@ -90,8 +90,8 @@ coverage: - rustup component add llvm-tools-preview - cargo install grcov # Generate report - ./maint/with_coverage.sh cargo test --verbose --all-features - ./maint/with_coverage.sh -f cobertura -o coverage.xml -c true - ./maint/with_coverage cargo test --verbose --all-features - ./maint/with_coverage -f cobertura -o coverage.xml -c true artifacts: paths: - 'coverage' Loading @@ -116,7 +116,7 @@ build-repro: stage: build image: rust:1.54.0-alpine3.14 script: - ./maint/reproducible_build.sh linux windows macos - ./maint/reproducible_build linux windows macos artifacts: paths: - arti-linux Loading @@ -136,11 +136,11 @@ integration: script: - apt update - apt install -y tor git python3 curl - ./tests/chutney/setup.sh - ./tests/chutney/setup - curl http://example.com -vs --socks5-hostname 127.0.0.1:9150 -o /dev/null - ./tests/chutney/stop-arti.sh - ./tests/chutney/stop-arti - RUST_LOG=debug target/x86_64-unknown-linux-gnu/release/arti-bench -c ./chutney/net/nodes/arti.toml --socks5 127.0.0.1:9008 -o benchmark_results.json - ./tests/chutney/teardown.sh - ./tests/chutney/teardown artifacts: paths: - benchmark_results.json Loading
doc/Release.md +7 −7 Original line number Diff line number Diff line Loading @@ -5,14 +5,14 @@ I made the toplevel changelog for 0.0.1 by reading 'git shortlog arti-v0.0.0..' and summarizing the best stuff. There is a ./maint/thanks.sh script to generate the acknowledgments. There is a ./maint/thanks script to generate the acknowledgments. 2. Make sure we're up-to-date. Try to run: * cargo update * cargo upgrade --dry-run --workspace --skip-compatible * ./maint/cargo_audit.sh * ./maint/check_licenses.sh * ./maint/readmes.sh * ./maint/cargo_audit * ./maint/check_licenses * ./maint/readmes (Note that not all of the above will make changes on their own; you'll need to understand the output and decide what to do.) Loading @@ -31,11 +31,11 @@ To bump the patch version of _every_ crate, run: ; for crate in $(./maint/list_crates.py); do cargo set-version -p "$crate" --bump patch; done ; for crate in $(./maint/list_crates); do cargo set-version -p "$crate" --bump patch; done To find only the crates that changed since version 0.0.x, you can run: ; ./maint/changed_crates.sh arti-v0.0.x ; ./maint/changed_crates arti-v0.0.x But note that you can't just bump _only_ the crates that changed! Any crate that depends on one of those might now count as changed, even if Loading @@ -47,7 +47,7 @@ a list of crates from lowest- to highest-level, see the top-level Cargo.toml. ; for crate in $(./maint/list_crates.py); do cargo publish -p "$crate"; echo "Sleeping"; sleep 30; done ; for crate in $(./maint/list_crates); do cargo publish -p "$crate"; echo "Sleeping"; sleep 30; done (The "sleep 30" is probably too long, but some delay seems to be necessary to give crates.io time to publish each crate before the next Loading
maint/add_warning.py→maint/add_warning +1 −1 Original line number Diff line number Diff line Loading @@ -108,7 +108,7 @@ def main(lints,files): if not files: print("No files provided. Example usage:") print(" ./maint/add_warning.py ./maint/add_warning.py crates/*/src/{lib,main}.rs") print(" ./maint/add_warning crates/*/src/{lib,main}.rs") for fn in files: process(lints, fn) Loading
maint/binary_size.sh→maint/binary_size +1 −1 Original line number Diff line number Diff line #!/bin/sh # # binary_size.sh: Build arti with a given set of options, and # binary_size: Build arti with a given set of options, and # dump the binary size in a json format. set -eu Loading