Closed
Bug 364411
Opened 18 years ago
Closed 18 years ago
Partner repack script needs to deal more gracefully with non-existent locale/platform combinations
Categories
(Firefox Build System :: General, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: hello, Assigned: hello)
Details
Attachments
(2 files)
3.25 KB,
patch
|
rhelmer
:
review+
|
Details | Diff | Splinter Review |
1.01 KB,
patch
|
hello
:
review+
|
Details | Diff | Splinter Review |
Some platform/locale combinations do not exist (for example, ja on the mac). After some discussion between rhelmer and I, we've decided to make the repack script only warn (on stderr) and not attempt a repack when these builds aren't found.
Assignee | ||
Comment 1•18 years ago
|
||
Note that this also removes the DOWNLOAD_FILES option and hardcodes it along with the mapping between them and PLATFORMS. We should perhaps move to a more generic solution later, though I don't expect this to be a problem now.
Attachment #249196 -
Flags: review?(rhelmer)
Assignee | ||
Comment 2•18 years ago
|
||
I should also point out, this patch changes the syntax of the PLATFORMS variable to be space-delimited, instead of comma-delimited, for easier (read: sans-awk) usage in bash. This impacts old repacks, but a) the changes have a low impact (it's trivial to change conf.sh to fix this), and b) we should start tagging the common directory and the partner files from now on and to make sure we use a matching set.
Comment 3•18 years ago
|
||
Comment on attachment 249196 [details] [diff] [review] Repack one platform at a time, skip missing ones Looks great, thanks!
Attachment #249196 -
Flags: review?(rhelmer) → review+
Assignee | ||
Comment 4•18 years ago
|
||
Checking in Repack.sh; /mofo/repackage/common/Attic/Repack.sh,v <-- Repack.sh new revision: 1.1.2.3; previous revision: 1.1.2.2 done
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
Comment 5•18 years ago
|
||
do not use set -e. Also, make curl silent if no errors (-s) and remove verbose. This makes it so we can run repack like: common/Repack.sh > output.log and only see console output if there are errors.
Attachment #249309 -
Flags: review?
Updated•18 years ago
|
Attachment #249309 -
Flags: review? → review?(thunder)
Assignee | ||
Comment 6•18 years ago
|
||
Comment on attachment 249309 [details] [diff] [review] do not exit on error (no "set -e") There is an extraneous debugging line: + echo "here" That should be removed. Also, I'm not sure if removing the "set -v" is needed, but I leave it up to you to decide. Patch approved otherwise.
Attachment #249309 -
Flags: review?(thunder) → review+
Comment 7•18 years ago
|
||
Removed the "echo" debug line, thanks :) The "set -v" was removed so I can redirect the stdout to a logfile without having anything but errors on stderr, it can be turned on for debugging. Landed: Checking in Repack.sh; /mofo/repackage/common/Attic/Repack.sh,v <-- Repack.sh new revision: 1.1.2.4; previous revision: 1.1.2.3 done
Updated•6 years ago
|
Component: Build Config → General
Product: Firefox → Firefox Build System
You need to log in
before you can comment on or make changes to this bug.
Description
•