Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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
Signed-off-by: John Eckersberg <jeckersb@redhat.com>
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 <walters@verbum.org>
@cgwalters cgwalters mentioned this pull request Jun 5, 2024
@cgwalters
Copy link
Member Author

Regression in containers/bootc#679

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.

None yet

2 participants