Closed Bug 453135 Opened 17 years ago Closed 17 years ago

MozillaStageUpload should upload complete mars to latest

Categories

(Release Engineering :: General, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: kairo, Assigned: kairo)

References

Details

Attachments

(1 file, 1 obsolete file)

Bug 426443 made MozillaStageUpload upload complete MARs to dated dirs, and if both dated and latest are on, the syncCommand() copies them to latest as well. If dated is not on, we ignore MARs. I'd like to get AUS working for SeaMonkey localized builds, just pointing to the newest full update all the time, so it would be nice to get complete MARs into latest even if we don't upload to dated.
Attached patch also upload MARs for latest (obsolete) — Splinter Review
This is the fairly easy patch that should do it (as said previously, when releaseToDated is True, syncCommand() takes care of also copying the MAR(s) to latestDir.
Attachment #336353 - Flags: review?(bhearsum)
Attachment #336353 - Flags: review?(bhearsum) → review?(nthomas)
Comment on attachment 336353 [details] [diff] [review] also upload MARs for latest Forward to Nick as Ben is too busy currently.
Comment on attachment 336353 [details] [diff] [review] also upload MARs for latest >Index: steps/transfer.py >=================================================================== >@@ -270,14 +270,16 @@ class MozillaStageUpload(ShellCommand): > if self.releaseToDated: > cmd += self.syncCommand(datedDir, latestDir) + " && " > else: > cmd += self.uploadCommand(latestDir) + " && " > cmd += self.chmodCommand(latestDir) > if self.group: > cmd += " && " + self.chgrpCommand(latestDir) >+ if self.uploadCompleteMar: >+ cmd += self.uploadCompleteMarCommand(latestDir) + " && " > commands.append(cmd) Sorry, this is at the wrong place, should be in the |else:| above, but the lines themselves are correct.
Comment on attachment 336353 [details] [diff] [review] also upload MARs for latest r+, although it's obviously nicer to see the actual patch. We should also fix the |if self.releaseToDated:| block to move the chmod after the mar upload.
Attachment #336353 - Flags: review?(nthomas) → review+
This is the version I checked in, nits fixed.
Attachment #336353 - Attachment is obsolete: true
Attachment #337968 - Flags: review+
Marking FIXED, I promise the next such patch (and I have one more upcoming) will be the actual one that works :)
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
Product: mozilla.org → Release Engineering
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: