You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When publishing crates via cargo, it will attempt to embed .cargo_vcs_info.json in to the package so that one can retrieve info about the exact revision a release was made from in the repository the package was built from, however, this file is not present in any of the packages in this repository. I'm guessing this is due to the use of the --allow-dirty flag in the release process due to copying the README in to each package based on a cursory glance of the release workflow.
This is related to #373, as my fallback when a license is not part of the packaged crate is to attempt to look up the LICENSE file from the repo, but to ensure it is valid I use the commit that's part of the package to ensure the LICENSE is correct at the exact point in time the release was made, but this method doesn't work on any of the sentry crates.
The text was updated successfully, but these errors were encountered:
The problem is rather that we rely on cargo-hack to publish because we have circular dev-dependencies.
Essentially rust-lang/cargo#4242 is blocking this. But I see that there might be ways to work around that, similar to the way rust-lang/futures-rs#2305 was solved. I will try that.
When publishing crates via cargo, it will attempt to embed
.cargo_vcs_info.json
in to the package so that one can retrieve info about the exact revision a release was made from in the repository the package was built from, however, this file is not present in any of the packages in this repository. I'm guessing this is due to the use of the--allow-dirty
flag in the release process due to copying the README in to each package based on a cursory glance of the release workflow.This is related to #373, as my fallback when a license is not part of the packaged crate is to attempt to look up the LICENSE file from the repo, but to ensure it is valid I use the commit that's part of the package to ensure the LICENSE is correct at the exact point in time the release was made, but this method doesn't work on any of the sentry crates.
The text was updated successfully, but these errors were encountered: