Closed
Bug 615097
Opened 14 years ago
Closed 14 years ago
config.py shouldn't depend on non Python libraries
Categories
(Release Engineering :: General, defect)
Release Engineering
General
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: rail, Assigned: salbiz)
References
Details
(Whiteboard: [automation])
Attachments
(3 files)
598 bytes,
patch
|
bhearsum
:
review+
bhearsum
:
feedback+
bhearsum
:
checked-in+
|
Details | Diff | Splinter Review |
953 bytes,
patch
|
catlee
:
review+
rail
:
review+
rail
:
feedback+
catlee
:
feedback+
bhearsum
:
checked-in+
|
Details | Diff | Splinter Review |
3.69 KB,
patch
|
catlee
:
review+
rail
:
review+
rail
:
feedback+
catlee
:
feedback+
bhearsum
:
checked-in+
|
Details | Diff | Splinter Review |
Bug 588150 introduced an new import in config.py which prevents readBranchConfig from [1] evaluating of the content of config.py, which we use for reconfigless slave side scripts, which don't have buildbot master libraries.
It would be great if we avoid external dependencies or wrap the imported classes/functions to allow evaluating config.py without ImportErrors.
1. http://hg.mozilla.org/build/tools/file/aac57c95e2ed/lib/python/release/info.py#l62
The attached patch is a hacky way to resolve the current situation which prevents running release l10n repacks and landing some other release automation related patches.
Attachment #493561 -
Flags: feedback?(catlee)
Reporter | ||
Comment 1•14 years ago
|
||
Assigning to Syed. According to the IRC conversation, he is going to move the logic to the factories.
Assignee: rail → salbiz
Assignee | ||
Comment 2•14 years ago
|
||
This patch deals with what is currently the only offender in config.py by moving it into the constructor of MercurialBuildFactory. dump_masters.sh output with this change seems fine.
Attachment #493778 -
Flags: feedback?(rail)
Attachment #493778 -
Flags: feedback?(catlee)
Reporter | ||
Comment 3•14 years ago
|
||
Comment on attachment 493778 [details] [diff] [review]
set ccache basedir inside buildfactory rather than config.py
Looks good to me. Don't forget to remove the corresponding entry from config.py ;)
Attachment #493778 -
Flags: feedback?(rail) → feedback+
Reporter | ||
Comment 4•14 years ago
|
||
If I understand correctly, this bug blocks 3.6.13 build2 l10n repacks. Setting as "blocker".
Severity: normal → blocker
Status: NEW → ASSIGNED
Comment 5•14 years ago
|
||
Comment on attachment 493561 [details] [diff] [review]
Hacky patch
This is the safest thing that will let us start 3.6.13/3.5.16build2, r+.
Attachment #493561 -
Flags: feedback?(catlee) → feedback+
Comment 6•14 years ago
|
||
Comment on attachment 493561 [details] [diff] [review]
Hacky patch
changeset: 3386:6cf865c6e3a0
Attachment #493561 -
Flags: review+
Attachment #493561 -
Flags: checked-in+
Assignee | ||
Comment 7•14 years ago
|
||
I've also backed out the other fix in this patch. Since there shouldn't be any need for it in the future once 3.5.16 is finished and the patch to move the ccache_basedir into the build factory has landed. output of dump-masters.sh and config.py looks good.
Attachment #493981 -
Flags: feedback?(rail)
Attachment #493981 -
Flags: feedback?(catlee)
Reporter | ||
Comment 8•14 years ago
|
||
Comment on attachment 493981 [details] [diff] [review]
remove temporary fix & WithProperties statements
Looks good
Attachment #493981 -
Flags: feedback?(rail) → feedback+
Updated•14 years ago
|
Attachment #493778 -
Flags: feedback?(catlee) → feedback+
Updated•14 years ago
|
Attachment #493981 -
Flags: feedback?(catlee) → feedback+
Assignee | ||
Updated•14 years ago
|
Attachment #493778 -
Flags: review?(rail)
Attachment #493778 -
Flags: review?(catlee)
Assignee | ||
Comment 9•14 years ago
|
||
Comment on attachment 493981 [details] [diff] [review]
remove temporary fix & WithProperties statements
Tested a linux build, BASEDIR looks good.
Attachment #493981 -
Flags: review?(rail)
Attachment #493981 -
Flags: review?(catlee)
Reporter | ||
Updated•14 years ago
|
Attachment #493778 -
Flags: review?(rail) → review+
Reporter | ||
Updated•14 years ago
|
Attachment #493981 -
Flags: review?(rail) → review+
Updated•14 years ago
|
Attachment #493778 -
Flags: review?(catlee) → review+
Updated•14 years ago
|
Attachment #493981 -
Flags: review?(catlee) → review+
Assignee | ||
Updated•14 years ago
|
Flags: needs-reconfig?
Comment 10•14 years ago
|
||
Comment on attachment 493981 [details] [diff] [review]
remove temporary fix & WithProperties statements
Landed in changeset: 3609:fc3a0690fad5, merged to the production branch in 3610:e5262b6572a3
Attachment #493981 -
Flags: checked-in+
Comment 11•14 years ago
|
||
Comment on attachment 493778 [details] [diff] [review]
set ccache basedir inside buildfactory rather than config.py
Landed in changeset: 1249:f48ae5f00010, merged to the production-0.8 branch in 1250:30537b778f04
Attachment #493778 -
Flags: checked-in+
Updated•14 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Flags: needs-reconfig?
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
•