Merge lp:~sinzui/launchpad/lost-glob-bug-484365 into lp:launchpad
Proposed by
Curtis Hovey
Status: | Merged |
---|---|
Merged at revision: | not available |
Proposed branch: | lp:~sinzui/launchpad/lost-glob-bug-484365 |
Merge into: | lp:launchpad |
Diff against target: |
213 lines (+68/-21) 8 files modified
lib/lp/registry/browser/product.py (+2/-1) lib/lp/registry/browser/tests/packaging-views.txt (+4/-4) lib/lp/registry/browser/tests/product-views.txt (+23/-0) lib/lp/registry/doc/productseries.txt (+11/-1) lib/lp/registry/interfaces/packaging.py (+8/-8) lib/lp/registry/interfaces/product.py (+14/-3) lib/lp/registry/interfaces/sourcepackage.py (+1/-1) lib/lp/registry/model/product.py (+5/-3) |
To merge this branch: | bzr merge lp:~sinzui/launchpad/lost-glob-bug-484365 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Michael Nelson (community) | code | Approve | |
Review via email: mp+15025@code.launchpad.net |
To post a comment you must log in.
This is my branch to fix the +addseries view to save the release file glob.
lp:~sinzui/launchpad/lost-glob-bug-484365 /bugs.launchpad .net/bugs/ 484365 implementation: kiko
Diff size: 116
Launchpad bug: https:/
Test command: ./bin/test -vv -t product-views -t productseries.txt
Pre-
Target release: 3.1.11
= Fix the +addseries view to save the release file glob =
The ProductAddSerie sView.add_ action does not pass the releasefileglob glob
to the constructor.
== Rules ==
* Update ProductAddSerie sView.add_ action to pass the releasefileglob
field to the constructor.
* Update Product.newSeries() to support the releasefileglob argument.
== QA ==
* On staging, create a series with a releasefileglob
* Verify the glob is listed on the series page.
== Lint ==
Linting changed files: registry/ browser/ product. py registry/ browser/ tests/product- views.txt registry/ doc/productseri es.txt registry/ interfaces/ product. py registry/ model/product. py
lib/lp/
lib/lp/
lib/lp/
lib/lp/
lib/lp/
== Test ==
* lib/lp/ registry/ browser/ tests/product- views.txt registry/ doc/productseri es.txt
* Added a test to verify the fields are accepted by the +addseries
view.
* lib/lp/
* Updated doctest to show that the releasefileglob and verify the
pertinent info is set.
== Implementation ==
* lib/lp/ registry/ browser/ product. py registry/ interfaces/ product. py registry/ model/product. py
* Updated the view to pass the releasefileglob to product.newSeries()
* lib/lp/
* Added the releasefileglob argument to newSeries()
* Fixed a long line reported by lint.
* lib/lp/
* Added the releasefileglob argument to the newSeries() method.