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

Refs that do not belong to ostree should not be automatically pruned #262

Open
jlebon opened this issue Apr 15, 2016 · 2 comments
Open

Refs that do not belong to ostree should not be automatically pruned #262

jlebon opened this issue Apr 15, 2016 · 2 comments

Comments

@jlebon
Copy link
Member

jlebon commented Apr 15, 2016

There are multiple apps now that also need to store data in the system repo. These apps might not want ostree to automatically prune their refs (see ostree_admin_cleanup()).

We need to make ostree smarter so that it only prunes the refs that belong to it.
See also PR #257.

@cgwalters
Copy link
Member

So...we ended up using a separate repo for this, but I have a suspicion this is still going to bite people down the line.

@jlebon
Copy link
Member Author

jlebon commented Jun 9, 2016

Yup, for this reason I had to add refs to the base layers for package layering (although to be fair, in that case the commit does "belong" to ostree, but we should probably still have some configurability here so we don't have to hack around it).

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

No branches or pull requests

2 participants