-
-
Notifications
You must be signed in to change notification settings - Fork 344
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
Preserved files #15
Labels
Core (ckan.dll)
Issues affecting the core part of CKAN
Enhancement
Spec
Issues affecting the spec
★★☆
Milestone
Comments
Closed
Closed
pjf
added
★★☆
Spec
Issues affecting the spec
Core (ckan.dll)
Issues affecting the core part of CKAN
and removed
design
labels
Oct 21, 2014
4 tasks
Here's a good example case: WernherChecker (http://forum.kerbalspaceprogram.com/threads/63591) has "checklists" that can (and are) customized by the user (GameData\WernherChecker\Data\WernherChecker.cfg). They should not be overwritten when upgrading, unless the user hasn't modified it. |
RichardLake
pushed a commit
to RichardLake/CKAN
that referenced
this issue
May 30, 2015
Renamed solution
RichardLake
pushed a commit
to RichardLake/CKAN
that referenced
this issue
May 30, 2015
shell script to repack ckan.exe
RichardLake
pushed a commit
to RichardLake/CKAN
that referenced
this issue
May 30, 2015
More secure web page opening
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Core (ckan.dll)
Issues affecting the core part of CKAN
Enhancement
Spec
Issues affecting the spec
★★☆
It seems to make a lot of sense to mark some files as preserved, which is going to be most useful for config, but may make sense for other files as well. Preserved files don't need to be included in a distribution, we simply don't delete or overwrite them if they exist when installing or upgrading mods.
Good examples of preserved files are the TACLS and RT2 config overwrites done by RealismOverhaul, but a lot of other mods provide the capability to preserve settings between upgrades.
The rules for preserved files should be pretty simple:
The second follows the Debian practice of not overwriting files in /etc that the user may have customised. Care should be taken to ensure the file contents are actually changing before prompting the user.
Preserved files should be used extremely sparingly.
The text was updated successfully, but these errors were encountered: