Skip to content

Conversation

p5
Copy link
Contributor

@p5 p5 commented Aug 7, 2025

1.6.0 just dropped, so I think it would be good to try and tackle this now while we have 3 weeks of testing.

An attempt to get Renovate back up and running on this repo. Updates all Cargo dependencies bar ocidir.

Looking through the changes, all make sense. There were some breakages which I have resolved, though I am counting on CI to confirm I haven't broken anything myself. The vast majority of the breaking changes were straight forward function swaps that don't appear to change functionality in a visible way to us.

Split minor/patch and major bumps into separate commits.

Changes (such as the lifetime ones) were ran through ChatGPT for a sanity check, to figure out why these were showing a warning and that the recommended fix is almost certainly correct.


Once merged, please close and delete the existing dependency update branch, and Renovate should take over next week.

Copy link
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request updates a large number of dependencies across the workspace. The changes primarily consist of version bumps in Cargo.toml files and the necessary code modifications to address breaking changes from these updates. The fixes correctly handle API changes in crates like rustix, toml, and tempfile, and also resolve new lifetime requirements in various function signatures. The code adaptations are well-executed and essential for the dependency upgrades. Overall, the changes are solid and contribute to the project's maintainability by keeping its dependencies current.

@p5
Copy link
Contributor Author

p5 commented Aug 7, 2025

Remaining changes (to be pushed):

  • Cargo format
  • Switch from GzipLayerWriter to LayerWriter in ostree-ext's ocidir

Switch from GzipLayerWriter to LayerWriter in ostree-ext's ocidir

GitHub Copilot gave up on this too, and ended up removing the ocidir crate in frustration 😆
Need help from a Rust expert... Maybe GPT-5 will have better luck

@p5 p5 force-pushed the update-major-minor-patch branch from d74b5de to 711154c Compare August 7, 2025 21:47
@p5 p5 force-pushed the update-major-minor-patch branch from 711154c to 0f23840 Compare August 7, 2025 22:07
@p5 p5 marked this pull request as ready for review August 7, 2025 22:37
@p5 p5 marked this pull request as draft August 7, 2025 22:58
@p5 p5 marked this pull request as ready for review August 7, 2025 23:05
Copy link
Collaborator

@cgwalters cgwalters left a comment

Choose a reason for hiding this comment

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

Thanks for working on this!

openssh-keys = "0.6.4"
rustix = { workspace = true }
serde = { workspace = true, features = ["derive"] }
serde_json = { workspace = true }
serde_yaml = "0.9.22"
serde_yaml = "0.9.34"
Copy link
Collaborator

Choose a reason for hiding this comment

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

I think we should actually be moving more of these common dependencies into the workspace - that's a different PR

Copy link
Collaborator

Choose a reason for hiding this comment

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

➡️ #1501

@cgwalters
Copy link
Collaborator

An attempt to get Renovate back up and running on this repo.

Yeah we need to fix that for sure soon...

@p5 p5 force-pushed the update-major-minor-patch branch 2 times, most recently from a4dbaa3 to 427ba29 Compare August 8, 2025 12:27
@p5 p5 force-pushed the update-major-minor-patch branch from 427ba29 to cabf430 Compare August 8, 2025 12:57
@p5 p5 force-pushed the update-major-minor-patch branch from cabf430 to a64ba5a Compare August 8, 2025 13:02
Copy link
Collaborator

@cgwalters cgwalters left a comment

Choose a reason for hiding this comment

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

Perfect thank you!

@cgwalters cgwalters enabled auto-merge August 8, 2025 13:28
@cgwalters cgwalters merged commit 792e546 into bootc-dev:main Aug 8, 2025
26 of 27 checks passed
@p5 p5 deleted the update-major-minor-patch branch August 23, 2025 09:27
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