cargo-about icon indicating copy to clipboard operation
cargo-about copied to clipboard

What does "the definition for X has not been harvested" mean?

Open prestomation opened this issue 1 year ago • 1 comments

Describe the bug When using cargo-about, I get a warning 'the definition for X has not been harvested'. It's not clear what this means and what action I should take. I see these packages and licenses in my generated document maybe this shouldn't be a warning?

To Reproduce Add a dependency that can't be harvested. I can find one if this will help but the code is here

Expected behavior I expect cargo-about to tell me either at runtime or in the docs what the implication is and what I can do to fix it.

Screenshots N/A Device: N/A Additional context Add any other context about the problem here.

prestomation avatar Apr 11 '23 23:04 prestomation

It means that it tried doing a local scan, tried asking clearlydefined API for it, and is still clueless about licensing of a crate. Solution is simple: go to Clearly Defined harvest page, add all the crates and versions it says the error for (make sure to hit tab/enter after adding version, a little X should show up to the right indicating version has been entered, or else it might not work), hit "Harvest", wait 30 minutes, then go back and run the command again. If all goes well the errors should be gone (or at least there should be less of them, just rinse and repeat until there are none left)

andre4ik3 avatar Jun 16 '23 12:06 andre4ik3