Open Aaron1011 opened 4 years ago
The intention of that condition was to filter out libraries already published on crates.io, as there is usually little point in testing multiple versions of the same library. I think it's fine to remove the condition if we implement a more advanced one that still filters out crates published on crates.io.
When
data/github.csv
is read, only repositories with both aCargo.toml
and aCargo.lock
are tested:https://github.com/rust-lang/crater/blob/dcc54566d5ec82cabca435c0145cbd06f32d3602/src/crates/sources/github.rs#L44-L47
Based on the comment, it looks like the intention was to test repositories with just a
Cargo.lock
orCargo.toml
as well.This resulted in a Crater run failing to detect a regression in https://github.com/rust-lang/rust/issues/77718. While Crater cannot be expected to catch all regressions, I think it would be a good idea to test these kinds of repositories. Hopefully, doing so doesn't lead to a significant increase in job run time.