-
Notifications
You must be signed in to change notification settings - Fork 19
Add Maven registry support #285
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
|
Overall im very happy with the code quality and the implementation approach of this pr! Thank you! 😊 My two dots:
|
…ace-support-maven # Conflicts: # Cargo.toml # src/command.rs # src/resolver.rs
markusz
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi Mark,
thanks a lot for your MR. Having Maven support would be awesome.
I can just echo what Mara said: Overall, this is a high quality MR already. I left a few comments (mostly nits).
The main thing would be to make tests work again and add new unit and e2e tests. The test harness of buffrs can be a bit hard to grok at first. I recently wrestled with it myself, so feel free to reach out if you need help.
I also want to point your attention to v0.12.0 which is soon going to be released (see MR). This change will cause merge conflicts with your current branch. I took the liberty to merge your branch back into a dedicated branch of v0.12.0 feature branch and resolve the conflicts to the best of my knowledge. This will hopefully make it easier to merge your changes back to main once finished.
Thanks again for your contribution
|
@mara-schulke @markusz ready for another look when you have a minute |
|
There seems to be some CI issues and i have left a last comment, but this is wonderful, thank you mark! |
|
@markusz is this good from your pov?:) |
|
LGTM! This is a fantastic addition. I really appreciate the clean implementation of the Maven support.I do want to highlight one important detail regarding compatibility that we should be loud about in the release notes: If I interpret Consider the following scenario:
I think this sort of breaking change can't really be avoided in this case, but we should be very explicit in the docs that this update requires a lockstep upgrade for teams sharing a repo. |
|
If you want we can probably make the writer always emit no regtype for artifactory? |
|
Valid point, but I feel we should value internal consistency over backwards compatibility in this case. Introducing a one-time breaking change as discussed above imo is more digestible than having this long term inconsistency in the Proto files. Another option would be to make this somehow optional (CLI flag, ENV variable, ..) but that opens another can of worms. I'm inclined to merge and be very vocal about the change @markelliot @mara-schulke WDYT? |
|
Ah, I forgot: |
|
Thank you, this is a good catch @markusz - I'd argue we open a tracking issue for 1.0 in GitHub and note this as a breaking change to make in there. From my pov this is would be a breaking change without a strong requirement to be one which seems to push friction downstream for no apparent reason beyond minimally cleaner code. buffrs is for the most part stable and only missing an advanced dependency resolution mechanism (think pubgrub) for us to make it to 1.0, id like to batch this change with other breaking changes towards the 1.0 release:) |
|
Let me know if there's anything else on this one |
|
@mara-schulke @markusz do you want to proceed here? |
|
Hi @markelliot, yes of course! Sorry I have missed this. Can you confirm that the default behavior is this to omit the artifactory prefix when writing? I'm happy with merging this:) |
|
That’s not the default behavior, it can be. If I do that cleanup and resolve the new merge conflicts will you be ready to merge then? |
|
yes! |
|
Hi @markelliot can i help you with getting this over the line?:) |
Fixes #284
Add a Maven registry backend for buffrs: