Merge lp:~sinzui/launchpad/needs-packaging-bug-509848 into lp:launchpad/db-devel
| Status: | Merged | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Approved by: | Curtis Hovey on 2010-01-25 | ||||||||||||
| Approved revision: | not available | ||||||||||||
| Merged at revision: | not available | ||||||||||||
| Proposed branch: | lp:~sinzui/launchpad/needs-packaging-bug-509848 | ||||||||||||
| Merge into: | lp:launchpad/db-devel | ||||||||||||
| Prerequisite: | lp:~sinzui/launchpad/needs-linking-bug-507937 | ||||||||||||
| Diff against target: |
858 lines (+503/-89) 17 files modified
lib/canonical/launchpad/doc/hierarchical-menu.txt (+15/-1) lib/canonical/launchpad/icing/style-3-0.css (+1/-1) lib/lp/app/browser/tests/base-layout.txt (+3/-3) lib/lp/app/templates/base-layout-macros.pt (+17/-0) lib/lp/app/templates/launchpad-hierarchy.pt (+8/-11) lib/lp/registry/browser/configure.zcml (+14/-0) lib/lp/registry/browser/distroseries.py (+30/-7) lib/lp/registry/browser/sourcepackage.py (+58/-3) lib/lp/registry/browser/tests/packaging-views.txt (+38/-1) lib/lp/registry/browser/tests/sourcepackage-views.txt (+64/-0) lib/lp/registry/stories/distroseries/xx-show-distroseries-packaging.txt (+60/-2) lib/lp/registry/stories/packaging/xx-sourcepackage-packaging.txt (+4/-3) lib/lp/registry/stories/person/xx-admin-person-review.txt (+1/-1) lib/lp/registry/templates/distroseries-needs-packaging.pt (+91/-0) lib/lp/registry/templates/distroseries-packaging.pt (+1/-1) lib/lp/registry/templates/sourcepackage-index.pt (+1/-55) lib/lp/registry/templates/sourcepackage-portlet-associations.pt (+97/-0) |
||||||||||||
| To merge this branch: | bzr merge lp:~sinzui/launchpad/needs-packaging-bug-509848 | ||||||||||||
| Related bugs: |
|
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Martin Albisetti (community) | ui | 2010-01-21 | Approve on 2010-01-25 |
| Eleanor Berger (community) | code | 2010-01-21 | Approve on 2010-01-22 |
|
Review via email:
|
|||
| Curtis Hovey (sinzui) wrote : | # |
| Curtis Hovey (sinzui) wrote : | # |
Hi Martin.
This branch adds the +needs-packaging page as proposed in
https:/
It differs from the design in the proposal because the missing branch column will always be missing, as noted by Brad; it was not adding information. The content was difficult to read at full width so I contrained to to match the paragraph's width. Please note tha the odd numbers in the table are because sample data is bad.
http://
You asked if the user could edit the information from this page. The answer is no. We are linking directly to the source package page because that page *will* ask the user to select the upstream project from a list of candidates, or choose by search.
| Eleanor Berger (intellectronica) wrote : | # |
(10:51:18) intellectronica: sinzui: unless it's necessary (because the extra whitespace creates formatting problems), i prefer closing html tags on a new line. can you change the anchor on line 19 of your diff?
(10:51:45) intellectronica: and in the template too, of course
(10:52:19) beuno is now known as beuno-lunch
(10:52:22) sinzui: oh, that is clumbs of me. I will fix both
(10:52:27) sinzui: clumbsy
(10:52:36) intellectronica: cool, thanks
(10:55:00) intellectronica: sinzui: 'packagings' reads quite funny to me. are you sure this is the best choice? i would have dropped the plural s (but i'm not a native speaker so be critical with my english advice)
(10:56:56) intellectronica: sinzui: everything else looks good to me, so r=me
(10:57:04) sinzui: thanks
(10:57:28) intellectronica: sinzui: note that i haven't done any ui reviewing at all. i'll leave that for beuno-lunch (or noodles)
(10:58:10) sinzui: intellectronica: understood
| Martin Albisetti (beuno) wrote : | # |
Hi Curtis,
A few quick thoughts:
- I think that the table can be re-worked to something like this:
-------
Source Package | Bugs | Translations |
-------
[] pmount | _12 bugs_ | _12 strings_ |
[] alsa-utils | _1 bug_ | _0 strings_ |
[] cnews | No bugs | No strings |
-------
What's the "Upstream links" option? I don't understand the difference between that one and the one we're on.
| Curtis Hovey (sinzui) wrote : | # |
Hi Martin.
I updated the format and content of the table.
http://
| Martin Albisetti (beuno) wrote : | # |
Thanks for the fixes Curtis.
The only remaining confusion seems to be the "Needs upstream links" / "Upstream links" links.
How about "Needs upstream links" / "All upstream links"?

This is my branch to add the view for +needs-packaging. It also fixes two
bread crumb bugs: do not link the last item and white space is underlined.
lp:~sinzui/launchpad/needs-packaging-bug-509848 /bugs.launchpad .net/bugs/ 509848 /bugs.launchpad .net/bugs/ 83613 /bugs.launchpad .net/bugs/ 480473 distroseries- packaging implementation: bac, beuno
Diff size: 340
Launchpad bug: https:/
https:/
https:/
Test command: ./bin/test -vv \
-t hierarchical-menu \
-t packaging-views \
-t xx-show-
Pre-
Target release: 10.01
Add the view for +needs-packaging ------- ------- ------- -----
-------
Add a view and template to list the packages that need packaging links. link-to- upstream blueprint.
The view should follow the example in the ubuntu-
Rules
-----
* Create a view that shows the prioritised listing of packages that need
packaging links
* Each item must show information that encourages users to link the
package to an upstream project.
* ADDENDUM: Fix the trailing bread crumb, it should not be linked because
it is the current page. Fix the white space too.
QA
--
Visit staging (This relies on a model that depends upon a schema change)
* https:/ /staging. launchpad. net/ubuntu/ lucid/+ needs-packaging
* Verify it lists the source packages that are not linked to upstream
* Verify the link link to Upstream links works
* Verify the page lists 100 packages.
* Verify that the packages appear to be listed in order of bugs with
the highest heat and most translatable messages. Since this information
is not visible, it is difficult to judge. The crucial issue is, does
the ordering look sane?
Lint
----
Linting changed files: /launchpad/ doc/hierarchica l-menu. txt /launchpad/ icing/style- 3-0.css app/templates/ launchpad- hierarchy. pt registry/ browser/ configure. zcml registry/ browser/ distroseries. py registry/ browser/ tests/packaging -views. txt registry/ stories/ distroseries/ xx-show- distroseries- packaging. txt registry/ templates/ distroseries- needs-packaging .pt
lib/canonical
lib/canonical
lib/lp/
lib/lp/
lib/lp/
lib/lp/
lib/lp/
lib/lp/
Test
----
* lib/canonical/ launchpad/ doc/hierarchica l-menu. txt registry/ browser/ tests/packaging -views. txt registry/ stories/ distroseries/ xx-show- distroseries- packaging. txt
* Updated test to verify that the last bread crumb is not linked.
* lib/lp/
* Add a test for the new view to verify the page_title and label, as
well as the BatchNavigator settings.
* lib/lp/
* Add a simple story to demonstrate what any user can do with the
page.
* There is an XXX for a the portlet that will be added in my next
branch.
Implementation
--------------
* lib/canonical/ launchpad/ icing/style- 3-0.css app/templates/ launchpad- hierarchy. pt
* Added a "narrow" class that uses the paragraph for content that
is difficult to use when it fills the available space.
* lib/lp/
* Removed the access white space that cause the odd underlining in
some browsers.
* Added an omit-tag rule so that the last bread crumb is not linked.
...