ancient-vegetable-10556
01/18/2022, 9:24 PMancient-vegetable-10556
01/18/2022, 9:24 PMgenerate-lockfiles
, which should resolve all of the further errors.
The alternate solution is for ClasspathEntry
to include the lockfile objects and the input requirements used to generate the ClasspathEntryRequest
, and merge those. This seems like a lot of extra work for an error message.
I’d like to know what you think here.witty-crayon-22786
01/18/2022, 9:28 PMAt the moment, it looks like we resolve the lockfile for each individual dependency (and rely on cache behaviour to make this non-slow).somewhat… we compute the resolve to use at the top of any given run (before kicking off compilation)… so the “resolution” that happens should be a lookup from the name to its location on disk. but yea, that part is memoized.
It just means that the error when we experience an invalid lockfile will only be able to refer to the first broken requirement.this seems fine to me, and like the implementation that is most likely to be performant
ancient-vegetable-10556
01/18/2022, 9:28 PMwitty-crayon-22786
01/18/2022, 9:29 PMhundreds-father-404
01/18/2022, 9:29 PMgenerate-lockfiles
and coursier-resolve
goals? I have not started that yet, only added functionality to generate-lockfiles
to do it
Not clear to me if they're orthogonal enoughancient-vegetable-10556
01/18/2022, 9:29 PMwitty-crayon-22786
01/18/2022, 9:29 PMancient-vegetable-10556
01/18/2022, 9:30 PMancient-vegetable-10556
01/18/2022, 9:44 PMhundreds-father-404
01/18/2022, 11:17 PM