Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
besu-latest should only be applied to 1.4 👍
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.
I'm not a YAML expert. How should this look? All of 1.3.2, 1.3, 1.4, and latest use the exact same dependencies. & is a reference and * is an expansion of that reference. Do you want a different name or do I not understand the syntax?
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.
Technically, the YAML is correct. Although, it is a bit confusing to read that the
besu-latest
anchor is used as an alias at multiple places.besu-latest
anchor to1.4
and use the alias atlatest
. This will allow the independent modification of 1.3 and 1.4 dependencies (whether it'll be needed, that's another question).packages: [...]
entry at the top of the file, under an attribute and anchor likebesu-web3-1.2.0
, and reference it for 1.3 and 1.4, while also attaching thebesu-latest
anchor to 1.4 (hopefully anchors and aliases at the same place are supported). Although it seems a bit overengineered for the current situation.My take on this is to go for readability (1). Listing the package at both places is not the end of the world, but it's easier to read.