Merge lp:~jamalta/launchpad/destination-ppa-498643 into lp:launchpad
| Status: | Merged | ||||
|---|---|---|---|---|---|
| Approved by: | Brad Crittenden on 2010-01-19 | ||||
| Approved revision: | not available | ||||
| Merged at revision: | not available | ||||
| Proposed branch: | lp:~jamalta/launchpad/destination-ppa-498643 | ||||
| Merge into: | lp:launchpad | ||||
| Diff against target: |
58 lines (+6/-6) 3 files modified
lib/lp/soyuz/browser/archive.py (+1/-1) lib/lp/soyuz/browser/tests/archive-views.txt (+3/-3) lib/lp/soyuz/stories/ppa/xx-copy-packages.txt (+2/-2) |
||||
| To merge this branch: | bzr merge lp:~jamalta/launchpad/destination-ppa-498643 | ||||
| Related bugs: |
|
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Brad Crittenden (community) | code | 2010-01-18 | Approve on 2010-01-21 |
|
Review via email:
|
|||
Commit Message
Changed the Destination PPA options to read 'PPA Name (username/ppa)' in copy packages page to help distinguish between similarly named PPAs.
| Jamal Fanaian (jamalta) wrote : | # |
| Brad Crittenden (bac) wrote : | # |
Hi Jamal,
Your fix looks good. In your diff at line 9, please change the line back to have a 4 space indentation. You can then bring the following line up as it will just be 77 characters.
Also you agreed to fix the import violation exposed by running your test. Thanks.
| Jamal Fanaian (jamalta) wrote : | # |
Brad,
Thanks for the review. The suggested changes have been made, and the import violation was resolved.
| Brad Crittenden (bac) wrote : | # |
Running the full test suite on ec2 shows that lib/lp/

= Summary =
Add PPA url to the Destination PPA widget when copying contents from a PPA, to make each option unique (bug 498643).
== Proposed fix ==
Appended the PPA url to each widget option:
Name of PPA (user/ppaname)
== Pre-implementation notes ==
Following style suggestion by Jullian Edwards in the bug comments.
== Tests ==
% bin/test -vvct xx-copy-packages
== Demo and Q/A ==
Must login as user with an existing PPA (u: <email address hidden> p: test).
* https:/ /launchpad. dev/~cprov/ +archive/ ppa/+copy- packages
== Launchpad lint ==
Checking for conflicts. and issues in doctests and templates.
Running jslint, xmllint, pyflakes, and pylint.
Using normal rules.
Linting changed files: soyuz/browser/ archive. py soyuz/stories/ ppa/xx- copy-packages. txt
lib/lp/
lib/lp/