Skip to content
This repository was archived by the owner on Jan 15, 2025. It is now read-only.

Conversation

@cgwalters
Copy link
Member

Prep for having bootc directly read these as part of using podman for pulls.

While we're here:

  • Use cap-std on general principle
  • Change the usage to just honoring the file content directly instead of re-reading the file
  • Add unit tests using that too
  • Switch to using camino for paths

Prep for having bootc directly read these as part of using
podman for pulls.

While we're here:

- Use cap-std on general principle
- Change the usage to just honoring the file content directly
  instead of re-reading the file
- Add unit tests using that too
- Switch to using camino for paths
Copy link
Contributor

@jeckersb jeckersb left a comment

Choose a reason for hiding this comment

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

👍

I added an extra commit with tests for the non-root case

@cgwalters
Copy link
Member Author

I added an extra commit with tests for the non-root case

Awesome, thanks! I hadn't thought about unit testing those by stripping the absolute path in the tests, makes sense.

@cgwalters cgwalters merged commit fd2e428 into ostreedev:main Jun 4, 2024
cgwalters added a commit to cgwalters/ostree-rs-ext that referenced this pull request Jun 5, 2024
Fixes authenticated pulls; regression from ostreedev#636

Signed-off-by: Colin Walters <[email protected]>
@cgwalters cgwalters mentioned this pull request Jun 5, 2024
@cgwalters
Copy link
Member Author

Regression in bootc-dev/bootc#679

cgwalters added a commit to cgwalters/ostree-rs-ext that referenced this pull request Aug 29, 2024
Fixes authenticated pulls; regression from ostreedev#636

Signed-off-by: Colin Walters <[email protected]>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants