-
Notifications
You must be signed in to change notification settings - Fork 13
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
Tombstoning an entire during during a layer combine operation #85
Comments
@crumpetcrusher, this is a great idea, and certainly a functional gap in the current approach. I'd have to think through the whole Some of the new layer features in the v.0.8.x gets us a step closer. For example, you can explicitly name layers (or layer name patterns) to include and exclude ( I'd really want this to work for any files, not just Also, regarding tombstoning directories, can you provide any additional thoughts on the use case there? I'm thinking we'd have to have a placeholder file inside of the directory (since many tools, like |
Agreed here on all points.
Not off the top of my head and I would also see it being useful for any file.
Hadn't thought about the empty dir issue with git, so good point. Tombstoning every file in a dir might be a bit tedious but it would make sense to keep it inline with the existing logic today. Merging ideas, I could see Use-case thoughts are keeping |
Hmm. I really like the idea of potentially placing a tombstone file where a directory exists to block another layer. The In any case, I'm thinking that the first round may be a file-only tombstone mechanism combined with the empty-directories-disappear trick just to get things moving. I suspect that will be quicker to implement (as the combine code really needs to be refactored a bit); see how far that goes in terms of solving the problem, and the move on towards the more complex recursive directory tombstoning idea. keep it simple, at least to start. |
An additional feature would be tombstoning an entire .conf file (or dir!), something like this.
I think this is what
slim partition
is intending to do, but I can't confirm it's doing anything in its current state. It's never generated proper layers for me. It seems to be intended as straight magic in that it just knows you wouldn't have views on an indexer so drop all those. 🤷♂️Originally posted by @crumpetcrusher in #8 (comment)
The text was updated successfully, but these errors were encountered: