Merge lp://staging/~bac/launchpad/bug-426190-etc into lp://staging/launchpad
Proposed by
Brad Crittenden
Status: | Merged | ||||||||
---|---|---|---|---|---|---|---|---|---|
Merged at revision: | not available | ||||||||
Proposed branch: | lp://staging/~bac/launchpad/bug-426190-etc | ||||||||
Merge into: | lp://staging/launchpad | ||||||||
Diff against target: | None lines | ||||||||
To merge this branch: | bzr merge lp://staging/~bac/launchpad/bug-426190-etc | ||||||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Paul Hummer (community) | Approve | ||
Review via email: mp+11551@code.staging.launchpad.net |
To post a comment you must log in.
= Summary =
Bug 426190 suggests the +pendingreviewm irrors page add the type of mirror.
Bug 426445 points out an ungrammatical sentence due to the use of approximate dates.
== Proposed fix ==
Bug 426190
* Add a new column to the pending review mirrors page to show the archive type.
* Since pending archives could never have been updated I removed the freshness column.
* The test didn't show anything beyond the mirror name so it was beefed up to show
each line of output.
Bug 426445
* Fix the bug by removing the preceding 'on' and using fmt:displaydate, which
includes the preposition if necessary. Unfortunately it was rendering <strong>on
2009-09-09</strong> which looks funny. The <strong> was removed.
* Fixed another grammatical error where 'an Pending review' was used. The sentence
was re-worded to avoid the a/an problem.
== Pre-implementation notes ==
N/A
== Implementation details ==
As above.
== Tests ==
bin/test -vvm lp.registry -t mirror
== Demo and Q/A ==
Login as <email address hidden>
* Verify the table has 'Type' column, no freshness listed, and it is well-formed: /launchpad. dev/ubuntu/ +pendingreviewm irrors
https:/
* Verify the 'Last probe' message makes sense: /launchpad. dev/ubuntu/ +mirror/ random- releases- mirror
https:/
* Ensure the tables still look right: /launchpad. dev/ubuntu/ +archivemirrors /launchpad. dev/ubuntu/ +cdmirrors
https:/
https:/
* Verify grammar under 'Last probe': /launchpad. dev/ubuntu/ +mirror/ archive- mirror2
https:/
= Launchpad lint =
Checking for conflicts. and issues in doctests and templates.
Running jslint, xmllint, pyflakes, and pylint.
Using normal rules.
Linting changed files: registry/ templates/ distributionmir ror-index. pt registry/ stories/ distribution/ xx-distribution -mirrors. txt registry/ templates/ distribution- mirrors. pt registry/ templates/ distributionmir ror-macros. pt registry/ browser/ distribution. py
lib/lp/
lib/lp/
lib/lp/
lib/lp/
lib/lp/