Closed
Bug 452472
Opened 16 years ago
Closed 16 years ago
write a BuildFactory containing all the necessary steps to create and upload a source tarball and hg bundle for mercurial based releases
Categories
(Release Engineering :: General, defect, P3)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: bhearsum, Assigned: bhearsum)
References
Details
(Whiteboard: [hg-automation])
Attachments
(3 files, 2 obsolete files)
2.98 KB,
patch
|
coop
:
review+
|
Details | Diff | Splinter Review |
1.48 KB,
patch
|
coop
:
review+
bhearsum
:
checked-in+
|
Details | Diff | Splinter Review |
3.75 KB,
patch
|
bhearsum
:
checked-in+
|
Details | Diff | Splinter Review |
Assignee | ||
Updated•16 years ago
|
Status: NEW → ASSIGNED
Priority: -- → P3
Whiteboard: [hg-automation]
Assignee | ||
Updated•16 years ago
|
Priority: P3 → P2
Assignee | ||
Comment 1•16 years ago
|
||
Not much of note here other than the refactoring. The repoName/pushRepo logic is going to be needed elsewhere, so I factored it into a base class for the rest of the factories to inherit from.
As for the Source factory itself, it's a pretty simple series of ShellCommands, taken from the 3.1a1 + a2 build notes. Notably, there is no uploading yet - I'm awaiting Ted's 'upload' Makefile target before I do that.
Attachment #336899 -
Flags: review?(ccooper)
Comment 2•16 years ago
|
||
Could you make this support https while you're factoring it ?
+ def getPushRepo(repo):
+ if repo.startswith('http'):
+ return repo.replace('http', 'ssh')
+ else:
+ return repo
Assignee | ||
Comment 3•16 years ago
|
||
Attachment #336899 -
Attachment is obsolete: true
Attachment #337665 -
Flags: review?(ccooper)
Attachment #336899 -
Flags: review?(ccooper)
Updated•16 years ago
|
Attachment #337665 -
Flags: review?(ccooper) → review+
Assignee | ||
Comment 4•16 years ago
|
||
Comment on attachment 337665 [details] [diff] [review]
[checked in] same as before, support http + https properly
Checking in factory.py;
/cvsroot/mozilla/tools/buildbotcustom/process/factory.py,v <-- factory.py
new revision: 1.14; previous revision: 1.13
done
Attachment #337665 -
Attachment description: same as before, support http + https properly → [checked in] same as before, support http + https properly
Assignee | ||
Updated•16 years ago
|
Depends on: 454594
Whiteboard: [hg-automation] → [hg-automation][waiting on dep bug]
Assignee | ||
Updated•16 years ago
|
Priority: P2 → P3
![]() |
||
Comment 5•16 years ago
|
||
FYI, I just filed bug 456373 to move source tarball generation into a makefile target.
Assignee | ||
Updated•16 years ago
|
Whiteboard: [hg-automation][waiting on dep bug] → [hg-automation]
Assignee | ||
Comment 6•16 years ago
|
||
Attachment #354701 -
Flags: review?(ccooper)
Assignee | ||
Comment 7•16 years ago
|
||
Attachment #354702 -
Flags: review?(ccooper)
Comment 8•16 years ago
|
||
Comment on attachment 354701 [details] [diff] [review]
upload the source packages automatically
> self.addStep(ShellCommand,
>+ command=['mkdir', 'source'],
>+ workdir='.',
>+ haltOnFailure=True
>+ )
We should probably insulate ourselves from failure here by adding a ShellCommand before this to rm an existing source/ dir.
r+ with that change.
Attachment #354701 -
Flags: review?(ccooper) → review+
Updated•16 years ago
|
Attachment #354702 -
Flags: review?(ccooper) → review+
Assignee | ||
Comment 9•16 years ago
|
||
Comment on attachment 354702 [details] [diff] [review]
master-side patch
changeset: 619:a5fbe3a19136
Attachment #354702 -
Flags: checked‑in+
Assignee | ||
Comment 10•16 years ago
|
||
Checking in process/factory.py;
/cvsroot/mozilla/tools/buildbotcustom/process/factory.py,v <-- factory.py
new revision: 1.66; previous revision: 1.65
done
Attachment #354701 -
Attachment is obsolete: true
Attachment #354710 -
Flags: checked‑in+
Assignee | ||
Comment 11•16 years ago
|
||
All done here now.
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
![]() |
||
Comment 12•16 years ago
|
||
would have been a good idea to use "make source-package" here.
Assignee | ||
Comment 13•16 years ago
|
||
Yes, I intend to make that change at some point. Unfortunately, it did not exist when I first wrote this code.
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
•