crate-ci / cargo-release

Cargo subcommand `release`: everything about releasing a rust crate.
Apache License 2.0
1.31k stars 109 forks source link

feat: support project level `rate_limit` #792

Closed rnbguy closed 2 months ago

rnbguy commented 3 months ago

Closes: #790

With this PR, we should be able to include this in a workspace Cargo.toml:

[workspace.metadata.release]
rate-limit = { existing-packages = 50 }

This would allow a maximum of 50 crates to be published together. This is currently hard-coded to be 30.

epage commented 3 months ago

Could you clean up your commit to being atomic?

coveralls commented 3 months ago

Pull Request Test Coverage Report for Build 9535930480

Warning: This coverage report may be inaccurate.

This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

Details


Changes Missing Coverage Covered Lines Changed/Added Lines %
src/steps/publish.rs 0 3 0.0%
src/steps/release.rs 0 3 0.0%
src/steps/mod.rs 0 4 0.0%
src/config.rs 4 16 25.0%
<!-- Total: 4 26 15.38% -->
Files with Coverage Reduction New Missed Lines %
src/ops/replace.rs 1 0.0%
src/config.rs 4 26.95%
src/ops/shell.rs 21 0.0%
src/steps/changes.rs 77 0.0%
<!-- Total: 103 -->
Totals Coverage Status
Change from base Build 8940883685: 0.2%
Covered Lines: 222
Relevant Lines: 2449

💛 - Coveralls
epage commented 2 months ago

Thanks!