Closed Bug 640155 Opened 15 years ago Closed 15 years ago

[webby] Add is_retired flag to webprojects

Categories

(Webtools Graveyard :: Elmo, defect, P1)

defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: stas, Assigned: stas)

Details

Attachments

(1 file)

or maybe is_archived?
I thought we had a related bug for Application and AppVersion in shipping, but I can't find it. We should probably share the mindset for this among project-like things.
Maybe you were thinking about life.Locale, bug 562278? I'm all for standardizing things. Anything else we should discuss here except for the actual name of the flag?
That might be over-engineering it, academically, we could create a mix-in model and a manager that defaults to not-showing the retired projects. For the name, I find fields with '_' to be hard to query on, mixing __ and _ makes stuff hard to read and type. Also the field type can be discussed, we could do something like making "archived" a DateTimeField.
Component: Infrastructure → Elmo
Product: Mozilla Localizations → Webtools
QA Contact: infrastructure → elmo
Summary: [dashboard][webby] Add is_retired flag to webprojects → [webby] Add is_retired flag to webprojects
Version: unspecified → 1.0
Assignee: nobody → stas
Priority: -- → P1
Target Milestone: --- → 1.2
Attached patch PatchSplinter Review
For the sake of simplicity and consistency with webby.models I went for a boolean is_archived flag.
Attachment #530030 - Flags: review?(gandalf)
Comment on attachment 530030 [details] [diff] [review] Patch looks good, r+
Attachment #530030 - Flags: review?(gandalf) → review+
I ran the SQL on prod and test and git pulled on both, too.
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Product: Webtools → Webtools Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: