Skip to content
This repository has been archived by the owner on Nov 7, 2024. It is now read-only.

Make authfile API public #636

Merged
merged 2 commits into from
Jun 4, 2024
Merged

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
10 checks passed
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 containers/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