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

set_project_dirs to switch the directory where containers are stored #103

Merged
merged 1 commit into from
Apr 11, 2024

Conversation

termoshtt
Copy link
Owner

@termoshtt termoshtt commented Apr 11, 2024

  • ocipkg stores containers in ${XDG_DATA_HOME}/ocipkg set via ProjectDirs
  • But this is not good when use ocipkg crate in other project as a thin client for OCI registries.
  • This PR add a function switch it

@termoshtt termoshtt self-assigned this Apr 11, 2024
@termoshtt termoshtt changed the title Add a function to set the directory where containers are stored set_project_dirs to switch the directory where containers are stored Apr 11, 2024
@termoshtt termoshtt marked this pull request as ready for review April 11, 2024 03:46
@termoshtt termoshtt merged commit 8cf80a0 into main Apr 11, 2024
14 checks passed
@termoshtt termoshtt deleted the set-project-dir branch April 11, 2024 03:46
@sjackman
Copy link

Thank you for this feature, Toshiki! Could you please tag a stable release of ocipkg that includes this feature?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
add Add new features.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants