Upgrades of essential packages

Registered by Juan RP

A not finished implementation to upgrade "essential" packages, i.e those that cannot be removed to make the system work is already in trunk. Currently the code overwrites all files but doesn't take into account obsolete files that might be left by old package versions.

Blueprint information

Status:
Complete
Approver:
Juan RP
Priority:
Essential
Drafter:
Juan RP
Direction:
Approved
Assignee:
Juan RP
Definition:
Approved
Series goal:
None
Implementation:
Implemented
Milestone target:
milestone icon 0.3
Started by
Juan RP
Completed by
Juan RP

Related branches

Sprints

Whiteboard

I'm currently implementing this and I think the following pseudo-code will work:

for all files in old package
   for all files in new package
     if file exists in old and new
        found = true
   endfor
   if found == false
     remove file
endfor

So if file is available in both old and new package list, skip it. If file is only in old
package list, remove it. This must be done for files and links.

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.