Merge lp:~julian-edwards/launchpad/archive-status-deleted into lp:launchpad/db-devel

Proposed by Julian Edwards on 2010-03-24
Status: Merged
Merged at revision: not available
Proposed branch: lp:~julian-edwards/launchpad/archive-status-deleted
Merge into: lp:launchpad/db-devel
Diff against target: 17 lines (+7/-0)
1 file modified
lib/lp/soyuz/interfaces/archive.py (+7/-0)
To merge this branch: bzr merge lp:~julian-edwards/launchpad/archive-status-deleted
Reviewer Review Type Date Requested Status
Michael Nelson (community) code 2010-03-24 Approve on 2010-03-24
Review via email: mp+22033@code.launchpad.net

Commit message

Add an extra enum value DELETED to ArchiveStatus

Description of the change

Quick change to add an extra enum value DELETED to ArchiveStatus to complement the DELETING one. This is to unblock 2 dependent changes in the backend and the UI.

To post a comment you must log in.
review: Approve (code)

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'lib/lp/soyuz/interfaces/archive.py'
2--- lib/lp/soyuz/interfaces/archive.py 2010-03-23 22:15:02 +0000
3+++ lib/lp/soyuz/interfaces/archive.py 2010-03-24 14:48:30 +0000
4@@ -1428,6 +1428,13 @@
5 requested and short-lived status.
6 """)
7
8+ DELETED = DBItem(2, """
9+ Deleted
10+
11+ This archive has been deleted and removed from disk.
12+ """)
13+
14+
15
16 default_name_by_purpose = {
17 ArchivePurpose.PRIMARY: 'primary',

Subscribers

People subscribed via source and target branches

to status/vote changes: