Skip to content

Conversation

@MarconZet
Copy link

No description provided.

]
},
"repositories": {
"https://repo1.maven.org/maven2/": [
Copy link
Author

@MarconZet MarconZet Oct 2, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This also happens on master when repining.

Caused by Map<String, Set<String>> repos = new LinkedHashMap<>(); in lock file class.

@shs96c
Copy link
Collaborator

shs96c commented Oct 7, 2025

This is looking really good. I like the idea of only having conflicts if the transitive deps have changed.

for (String key : keys) {
toHash.put(key, rendered.get(key));
@SuppressWarnings("unchecked")
private static Map<String, Integer> calculateArtifactHash(Map<String, Object> rendered) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@shs96c question for a potential breaking change in the next major update.

It seems like this code and the code in v3_lock_file.bzl are similar. IIRC, the reason the starlark implementation exists is if the user doesn't have a lockfile.
If that is the case, is there a possibility to consolidate around the java code (which is easiest to test tbh) by forcing lockfile usage?

@shs96c
Copy link
Collaborator

shs96c commented Nov 4, 2025

@MarconZet, I'm waiting until you move this out of draft before reviewing. Please LMK when you're ready!

@MarconZet MarconZet closed this Nov 19, 2025
@MarconZet MarconZet reopened this Nov 19, 2025
@MarconZet MarconZet marked this pull request as ready for review November 19, 2025 13:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants