This branch primarily replaces the HiddenBuilder hack used to
implicitly hides information about private sources with an more
appropriate and testable mechanism. Both BuilderSet:+index and
Builder:+index use the same template macro for rendering the builder
'status summary' now.
I could also remove `IBuilder.status` implementation entirely, since
it's not needed anymore. The dynamic form is much nicers (includes
icon and link to the building job). I thought it would be nicer to do
it in a separate branch, or at least, after the branch direction gets
approved.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
= Summary =
This branch primarily replaces the HiddenBuilder hack used to
implicitly hides information about private sources with an more
appropriate and testable mechanism. Both BuilderSet:+index and
Builder:+index use the same template macro for rendering the builder
'status summary' now.
I could also remove `IBuilder.status` implementation entirely, since
it's not needed anymore. The dynamic form is much nicers (includes
icon and link to the building job). I thought it would be nicer to do
it in a separate branch, or at least, after the branch direction gets
approved.
I also took the opportunity to fix /bugs.edge. launchpad. net/bugs/ 430336, now IDLE builder in
https:/
manual-mode with state it clear in its 'status-summary'.
== Tests ==
./bin/test -vv -t builder-views.txt -t stories.ppa -t stories.soyuz
== Demo and Q/A ==
1. https:/ /launchpad. dev/builders (log in as foo.bar)
2. 'Register a new build machine' and play with the 'builderok' and
the 'manual' flag.
= Launchpad lint =
Checking for conflicts. and issues in doctests and templates.
Running jslint, xmllint, pyflakes, and pylint.
Using normal rules.
Linting changed files: /launchpad/ pagetitles. py soyuz/templates /builder- index.pt soyuz/stories/ soyuz/xx- builder- page.txt soyuz/browser/ tests/builder- views.txt soyuz/stories/ soyuz/xx- private- builds. txt soyuz/templates /builders- index.pt soyuz/browser/ builder. py soyuz/browser/ configure. zcml soyuz/stories/ soyuz/xx- buildfarm- index.txt
lib/canonical
lib/lp/
lib/lp/
lib/lp/
lib/lp/
lib/lp/
lib/lp/
lib/lp/
lib/lp/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
iEYEARECAAYFAkq yThYACgkQ7KBXuX yZSjBt0wCfegMiS BQgWbi9nbnwoIIc 2mvC 1Kw46FUiviRJ+ Jwz7
SCoAnjXrfd2fkrF
=4ZHJ
-----END PGP SIGNATURE-----