Skip to content

Conversation

@mtrmac
Copy link
Collaborator

@mtrmac mtrmac commented Feb 14, 2025

… discovered while looking at for opportunities to benefit from new features of Go 1.23 and Go 1.24, hence a fairly random collection.

See individual commit messages for details.

Copy link
Member

@Luap99 Luap99 left a comment

Choose a reason for hiding this comment

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

LGTM, considering podman 5.5 is set be released in early may I think we can ignore f40 (go 1.22) for it which means we could consider updating to go 1.23 in this release cycle if there is anything specific you would like to take advantage off.

@mtrmac
Copy link
Collaborator Author

mtrmac commented Feb 20, 2025

(I keep branches containers/skopeo@main...mtrmac:skopeo:go1.23 and mtrmac/image@cleanups...mtrmac:image:go1.23 around, but that’s all code cleanups and rushing to apply them would not benefit users — I think the primary reason to move to Go 1.23 would be to catch up to some dependencies.)

@Luap99
Copy link
Member

Luap99 commented Feb 20, 2025

Yes right, there are a few go 1.23 deps already so we should update sooner than later unless someone sees a strong reason why we shouldn't.

Microoptimize the success case.

Should not change behavior.

Signed-off-by: Miloslav Trmač <[email protected]>
Don't update only a private copy of the element.

Signed-off-by: Miloslav Trmač <[email protected]>
Should not change (test) behavior.

Signed-off-by: Miloslav Trmač <[email protected]>
Should not change behavior.

Signed-off-by: Miloslav Trmač <[email protected]>
Should not change behavior.

Signed-off-by: Miloslav Trmač <[email protected]>
Should not change behavior.

Signed-off-by: Miloslav Trmač <[email protected]>
@mtrmac mtrmac merged commit 1028e86 into containers:main Feb 20, 2025
10 checks passed
@mtrmac mtrmac deleted the cleanups branch February 20, 2025 16:01
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.

2 participants