Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow configuring what package "v1.2.3" tags refer to #1095

Open
Shnatsel opened this issue May 24, 2024 · 0 comments
Open

Allow configuring what package "v1.2.3" tags refer to #1095

Shnatsel opened this issue May 24, 2024 · 0 comments

Comments

@Shnatsel
Copy link

In https://github.com/rust-secure-code/cargo-auditable I have started out tagging the versions of cargo auditable itself, but the project has since grown and gained several more binaries. So I have versions like v0.5.0 referring to cargo auditable, and everything else is prefixed, e.g. rust-audit-info/v0.5.4.

This naming scheme causes cargo dist to fail, necessitating workarounds. It detects several packages matching the version from a given tag (even only one package with 0.1.0 version exists on the commit with the 0.1.0 tag).

I cannot change the tagging format because several Linux distributions now rely on monitoring these tags to be informed about new releases. So I would like to configure cargo dist to treat versions such as v0.5.0 as always referring to the package I specify, namely "cargo-auditable".

This would unlock publishing the auxiliary tools such as rust-audit-info and auditable2cdx through cargo dist.

@Shnatsel Shnatsel changed the title Allow configuring what package "v1.2.3" tag refers to Allow configuring what package "v1.2.3" tags refer to May 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant