Open VorpalBlade opened 7 months ago
Perhaps there could be a flag --investigate package-name=1.2.3
flag or similar that checked out both in directories below the current working directory, and did a soft publish and unpacked that as well. Then it would make it easy for me to manually investigate what is going on.
Found NO tag match with package compact_str
Found NO tag match with package const-random
Found NO tag match with package const-random-macro
Found NO tag match with package generic-array
Found NO tag match with package heck
Found NO tag match with package heck
Found NO tag match with package hermit-abi
Found NO tag match with package ident_case
This seems a good reason to also check whatever commit ID that cargo identified when publishing (if it exists). I would argue checking both and making a summary table at the end.
Thank you very much for all of the feedback. I've spent most of the time scanning crates.io instead of improving the code, but I definitely want this tool to become useful and easy to use in the medium to long term.
The NO tag match
error is for crates that don't seem to have tagged the release in question in the git repository. I have already opened issues for a few of them. A lot of maintainers seem to forget to tag or to push tags for new releases. Many crates surprisingly don't use tags at all, which combined with the lack of .cargo_vcs_info.json
, or publishing from unknown branches, makes the process of reproducing the release much harder.
I've just seen https://github.com/briansmith/untrusted/issues/69#issuecomment-2029733947. Not to downplay issues, but given that many maintainers commit from release branches, it seems a bit alarmist (though arguable, given the scope of the crate) to post a comment like this. I wouldn't want to alienate the community like RustSec did with some maintainers that didn't agree with unmaintained crate advisories (probably because of the backslash from the downstream users)
You are right, I changed from deeply problematic to somewhat problematic.
Consider some lines from my first run:
Maybe show a diff? Or provide some other easy way to inspect the actual differences. Or is this just due to the library not having a checked in Cargo.lock?
Aaah! I definitely want more details on that one! (Will be investigating that one manually)
Seen this one several times. It would make sense to show more details here.
Similar to the above, I want more info.
As an error message, this doesn't stand out enough from the log lines (whatever it means).