-
Notifications
You must be signed in to change notification settings - Fork 14
Open
Labels
Description
Hi,
ccm.conf allows specifying how many old versions of the host profile to keep, but that's not always sufficient. Instead of storing old versions of the profile in distinct directories, I propose to use git to store every version of the profile the host ever downloaded. Advantages:
- Unlimited history, which could still be trimmed with standard git commands should that be needed
- Our experiences show that git's delta compression is extremely efficient on (at least XML) profiles. So having all previous versions stored in git could easily end up taking less space than a single extra version does currently (well, at least if you run "git gc" often enough)
- Having git as a dependency does not sound too heavy, it is widely used, and it could be replaced with any other version control system in the future (or the feature could be disabled, if one does not want to track history)
- There would be no need for ccm-purge anymore
Thoughts?
Reactions are currently unavailable