Community
Participate
Working Groups
Currently being worked is an option to have the garbage collector keep inactive artifacts in the file system for a user-specified length of time after they have been deemed inactive (garbage).
I'll add prefs to the sdk UI when this goes in...
Created attachment 84884 [details] Retention Policy patch This patch contains all of the necessary functionality for the GC timed retention policy. It has not yet been properly tested or reviewed. Susan: I've included some simple preferences in the ProvisioningPreferencePage for the retention policy stuff, mainly for my own testing purposes. As a reminder to myself, ensure that PolicyManager.RETENTION_POLICY_MS is set to represent days instead of seconds before the code is checked in.
Created attachment 85382 [details] Updated patch
Created attachment 85384 [details] patch for p2.garbagecollector
Created attachment 85585 [details] updated patch
Created attachment 85739 [details] Updated patch This patch contains some changes to the structure of the retention policy system. I have also included JUnit tests. Some work still needs to be done to allow the time retention policy to persist its information across sessions.
Copied from bug #95282: *** I like to keep one or two of the previous versions of each feature in case I need to rollback in situations where conflicts occur or where the later version is experimental. What I suggest is to allow the user to specify the number of previous versions he/she wishes to keep, and to remove all other versions when an update occurs. This setting could be specified in Preferences -> Install/Update. *** The above was for the 'old' update manager. This bug is similar, but I don't think it covers what I refer to. My idea is version based retention, this is time based retention. The release cycles of various plug-ins differ – if there is a relatively large gap between releases, the previous versions of my plug-ins will be deleted, making rollbacks impossible.
No plan to fix this