Closed Bug 486444 Opened 16 years ago Closed 16 years ago

win32_info.txt has stray characters in mercurial release automation

Categories

(Release Engineering :: General, defect, P2)

x86
Windows Server 2003
defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: nthomas, Assigned: nthomas)

References

Details

Attachments

(2 files)

Both the actual 3.1b3 release and a mock 3.5b4 release end up with win32_info.txt looking like buildID=20090330224133 \r\n while linux and mac have buildID=20090331221646\n (ie windows has a trailing space and CRLF line ending). For comparison the 1.9.0 release automation produces files without spaces or any line endings. The extra characters cause problems for update verification by breaking the config over two lines, like this: release="3.1b3" ... build_id="20090305152042 " locales="af ... This also causes an extra line to be written into the patcher config during update generation, but this is only cosmetic.
This appears to do the trick but I need to check by doing a mock release run.
Note that we still get a file ending in \n from this, but the chomp() in MozBuild::Util::GetBuildIDFromFTP() will swallow that.
Attached file The problem child
This is the state of win32_info.txt before I fixed it on stage and staging-stage.
Comment on attachment 370565 [details] [diff] [review] Use the bash environment on all platforms This fixes up windows without breaking anything else in my mock release run.
Attachment #370565 - Flags: review?(bhearsum)
Attachment #370565 - Flags: review?(bhearsum) → review+
Comment on attachment 370565 [details] [diff] [review] Use the bash environment on all platforms committed changeset 242:317d6f8405ae
Attachment #370565 - Flags: checked‑in+ checked‑in+
production-master:moz2-master reconfig'd.
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Priority: -- → P2
Product: mozilla.org → Release Engineering
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: