Closed
Bug 367802
Opened 19 years ago
Closed 19 years ago
patcher2 needs to use MozBuild::Util
Categories
(Release Engineering :: General, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: preed, Assigned: preed)
Details
Attachments
(1 file, 1 obsolete file)
|
49.11 KB,
patch
|
rhelmer
:
review+
|
Details | Diff | Splinter Review |
MozAUSLib.pm contains cloned functions that are now available in MozBuild::Util.pm.
The version in MozBuild::Util are better tested and are the ones we should be using.
Also, MozAUSLib::DownloadFile should move to MozBuild::Util.
| Assignee | ||
Comment 1•19 years ago
|
||
This patch does a whole bunch of things:
-- Removes the --move-update functionality, since we don't use it, I don't recommend it be used, and it's likely broken anyway
-- Convert a bunch of copied code that makes sure our deliverable dir exists to a single function (EnsureDeliverableDir())
-- Remove from MozAUSLib: MkdirWithPath(), RunShellCommand(), DownloadFile(); use MozBuild::Util versions (in the case of DownloadFile(), *move* it to MozBuild::Util)
-- Convert all RunShellCommand() calls to MozBuild::Util's calling convention
-- Make the default deliverable directory name be what it's always been ("temp" not "output")
-- Convert path concatenations to catfile()
-- variablize the snippet dir names
-- Remove hash_file; use MozBuild::Util's HashFile; convert MozBuild::Util::HashFile() to the new RunShellCommand() calling convention
-- In MozBuild::Util::MkdirWithPath, accept "mask" as an argument
-- In MozBuild::Util::HashFile, ignore case on the specification of the hash
Attachment #253422 -
Flags: review?(rhelmer)
| Assignee | ||
Comment 2•19 years ago
|
||
Same as Take 1, except change how we handle the specification of the checksum type to be saner.
One thing I should've mentioned is I'm doing a test run now by generating Firefox's 1.5.0.8 -> 1.5.0.9 patches; so far, so good, but it's still running.
Attachment #253422 -
Attachment is obsolete: true
Attachment #253423 -
Flags: review?(rhelmer)
Attachment #253422 -
Flags: review?(rhelmer)
Updated•19 years ago
|
Attachment #253423 -
Flags: review?(rhelmer) → review+
| Assignee | ||
Comment 3•19 years ago
|
||
Checking in patcher2.pl;
/cvsroot/mozilla/tools/patcher/patcher2.pl,v <-- patcher2.pl
new revision: 1.14; previous revision: 1.13
done
Checking in MozAUSConfig.pm;
/cvsroot/mozilla/tools/patcher/MozAUSConfig.pm,v <-- MozAUSConfig.pm
new revision: 1.6; previous revision: 1.5
done
Checking in MozAUSLib.pm;
/cvsroot/mozilla/tools/patcher/MozAUSLib.pm,v <-- MozAUSLib.pm
new revision: 1.4; previous revision: 1.3
done
Checking in MozBuild/Util.pm;
/cvsroot/mozilla/tools/release/MozBuild/Util.pm,v <-- Util.pm
new revision: 1.9; previous revision: 1.8
done
Landed.
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
Updated•12 years ago
|
Product: mozilla.org → Release Engineering
You need to log in
before you can comment on or make changes to this bug.
Description
•