Closed Bug 556224 Opened 16 years ago Closed 15 years ago

post_upload.py should remove old builds from nightly/latest-<branch> directories

Categories

(Release Engineering :: General, defect, P5)

x86
All
defect

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 549656

People

(Reporter: nthomas, Unassigned)

Details

(Whiteboard: [automation])

Whenever the version is bumped in an app we end up with old files in the likes of http://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/latest-mozilla-1.9.2/ It would be really cool if post_upload.py was smart enough to clean up in this situation. Roughly, for each uploaded file figure out the part which is the version and replace it with a .* (regexp), then remove any existing files matching that. The advantage of this over a 'find -mtime +N' is that it happens immediately (which keeps nightly.mozilla.org happy), while also preserving files where the parent build is broken for a while.
Priority: -- → P5
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → DUPLICATE
Product: mozilla.org → Release Engineering
You need to log in before you can comment on or make changes to this bug.