lp:~michael.nelson/ubuntu-webcatalog/1015515-only-one-app
Created by
Michael Nelson
and last modified
- Get this branch:
- bzr branch lp:~michael.nelson/ubuntu-webcatalog/1015515-only-one-app
Only
Michael Nelson
can upload to this branch. If you are
Michael Nelson
please log in for upload directions.
Branch merges
Propose for merging
No branches
dependent on this one.
- Anthony Lenton (community): Approve
-
Diff: 621 lines (+467/-44)9 files modifiedsrc/webcatalog/migrations/0025_only_one_app_per_series_pkg_name.py (+186/-0)
src/webcatalog/migrations/0026_unique_pkg_name_distroseries.py (+171/-0)
src/webcatalog/models/applications.py (+1/-1)
src/webcatalog/tests/__init__.py (+1/-0)
src/webcatalog/tests/factory.py (+13/-3)
src/webcatalog/tests/helpers.py (+37/-0)
src/webcatalog/tests/test_migrations.py (+57/-0)
src/webcatalog/tests/test_views.py (+0/-33)
src/webcatalog/views.py (+1/-7)
Related bugs
Bug #1015515: Distroseries category listing inconsistent | Medium | Fix Released |
Related blueprints
Branch information
Recent revisions
- 175. By Michael Nelson
-
REFACTOR: removed outdated comment and switched get_list_or_404 to get_object now that we have db restriction.
- 172. By Michael Nelson
-
REFACTOR: Removed obsolete tests which assert behaviour when dealing with duplicate apps.
- 170. By Michael Nelson
-
GREEN: 0025 migration should ensure only one app per series for each package_name.
- 169. By Michael Nelson
-
RED: 0025 migration should ensure only one app per series for each package_name.
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:ubuntu-webcatalog