Merge lp:~wgrant/launchpad/bug-507784 into lp:launchpad/db-devel
Proposed by
William Grant
on 2010-01-20
| Status: | Merged |
|---|---|
| Approved by: | Julian Edwards on 2010-01-20 |
| Approved revision: | not available |
| Merged at revision: | not available |
| Proposed branch: | lp:~wgrant/launchpad/bug-507784 |
| Merge into: | lp:launchpad/db-devel |
| Diff against target: |
121 lines (+35/-25) 4 files modified
lib/lp/buildmaster/model/buildfarmjob.py (+1/-1) lib/lp/buildmaster/model/packagebuildfarmjob.py (+30/-0) lib/lp/soyuz/model/buildpackagejob.py (+2/-22) lib/lp/soyuz/model/sourcepackagerecipebuild.py (+2/-2) |
| To merge this branch: | bzr merge lp:~wgrant/launchpad/bug-507784 |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Julian Edwards (community) | code | 2010-01-20 | Approve on 2010-01-20 |
|
Review via email:
|
|||
Commit Message
Move BuildFarmJob.
To post a comment you must log in.
| William Grant (wgrant) wrote : | # |
| Julian Edwards (julian-edwards) wrote : | # |
Good refactoring, thanks. Class wars in the build farm...
review:
Approve
(code)

BuildFarmJobs with builds have some common behaviours. This branch moves them (jobStarted, jobReset and jobAborted) into a new common base class, PackageBuildFar mJob. The name sucks, but neither I nor jml could think of anything much better.
I've also set a sane default build log filename, 'buildlog.txt'. Binary package builds will still use their insanely long custom variant.