Closed Bug 607961 Opened 14 years ago Closed 11 years ago

Make post-uploadsymbols script convert text symbols to binary format

Categories

(Release Engineering :: General, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: ted, Unassigned)

References

Details

Attachments

(1 file, 1 obsolete file)

In bug 607951 I'm adding a script that will be run after "make uploadsymbols". It's going to start out as a no-op just to get something in place. In this bug, I'll make it actually convert text-format symbols to binary (but leave the text-format symbols in place for a transition period).

This will increase our disk usage on the symbol server by a bit during transition, until we can start deleting the text-format symbols (once the new Socorro is rolled out).
Assignee: nobody → ted.mielczarek
OS: Windows 7 → All
Hardware: x86 → All
I've been using this script for testing locally and it does the job just fine. We'll need to have the symbol_convert binary on the server somewhere, I've just hardcoded a path for it, which should be fine.
Depends on: 609584
Attachment #486629 - Attachment is obsolete: true
I added --verbose and --dry-run options to the script, and also made it able to accept multiple index files on the commandline, so I can use it for batch conversion in bug 607969.
Comment on attachment 488170 [details] [diff] [review]
post-upload-symbols script that converts text symbols to binary format

This isn't particularly complicated. You pass one or more symbol index files on the cmdline, and the script takes each .sym file listed, runs symbol_convert on it to produce a file with the same name but a .bin extension, and appends the relative path to the .bin file to the index file.
Attachment #488170 - Flags: review?(catlee)
This isn't going to land until we fix all the blockers and sort out the deployment timeframe in bug 607831, FWIW.
Comment on attachment 488170 [details] [diff] [review]
post-upload-symbols script that converts text symbols to binary format

Need to make this python2.4 compatible, or get python2.5 on the server.

Also, need to check the return value of the converter subprocess.
Attachment #488170 - Flags: review?(catlee) → review-
WONTFIXing in lieu of bug 789493.
Assignee: ted → nobody
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → WONTFIX
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: