Merge lp:~thumper/launchpad/recipe-binary-builds into lp:launchpad
| Status: | Merged |
|---|---|
| Approved by: | Aaron Bentley on 2010-11-25 |
| Approved revision: | no longer in the source branch. |
| Merged at revision: | 12000 |
| Proposed branch: | lp:~thumper/launchpad/recipe-binary-builds |
| Merge into: | lp:launchpad |
| Diff against target: |
435 lines (+189/-17) 8 files modified
lib/canonical/launchpad/doc/hierarchical-menu.txt (+6/-0) lib/lp/code/browser/sourcepackagerecipebuild.py (+4/-3) lib/lp/code/browser/tests/test_sourcepackagerecipe.py (+84/-5) lib/lp/code/templates/sourcepackagerecipe-index.pt (+49/-4) lib/lp/soyuz/browser/build.py (+33/-0) lib/lp/soyuz/model/processor.py (+6/-0) lib/lp/soyuz/templates/build-index.pt (+1/-2) lib/lp/testing/factory.py (+6/-3) |
| To merge this branch: | bzr merge lp:~thumper/launchpad/recipe-binary-builds |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Aaron Bentley (community) | 2010-11-12 | Approve on 2010-11-25 | |
| Paul Hummer (community) | ui | 2010-11-12 | Approve on 2010-11-14 |
|
Review via email:
|
|||
Commit Message
[r=abentley]
Description of the Change
Adds binary build information to the latest builds section on the recipe index page.
http://
I made some of the properties of the view that were accessed multiple times
cached properties. This required a few tweaks in the tests too.
The binary builds for the successful recipe builds are indented slightly and
show underneath the recipe build that they relate to.
During interactive hacking, I found that I wanted some nicer repr methods
for the processors.
A drive-by fix on the soyuz build-index.pt to just specify the content as
buildlog instead of using tal:content=
| Aaron Bentley (abentley) wrote : | # |
You are showing the start time for binary builds, while the source package recipe builds show the end time. The time values in this column should have a consistent meaning.
| Tim Penhey (thumper) wrote : | # |
Aaron, I've gone with the expected completed time, and added the same properties to the BuildView. I feel that we should use a common mixin, but I can't think where to actually put the code.
My first thought was actually something like lp.shared.browser or lp.app.
Not sure.
| Aaron Bentley (abentley) wrote : | # |
Looks good. At some point, we might want to collapse eta and date into a single method call that returns a tuple.

This looks really excellent!