Closed
Bug 640155
Opened 15 years ago
Closed 15 years ago
[webby] Add is_retired flag to webprojects
Categories
(Webtools Graveyard :: Elmo, defect, P1)
Tracking
(Not tracked)
RESOLVED
FIXED
1.2
People
(Reporter: stas, Assigned: stas)
Details
Attachments
(1 file)
|
4.12 KB,
patch
|
zbraniecki
:
review+
|
Details | Diff | Splinter Review |
or maybe is_archived?
Comment 1•15 years ago
|
||
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.
| Assignee | ||
Comment 2•15 years ago
|
||
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?
Comment 3•15 years ago
|
||
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.
Updated•15 years ago
|
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
Updated•15 years ago
|
Assignee: nobody → stas
Priority: -- → P1
Target Milestone: --- → 1.2
| Assignee | ||
Comment 4•15 years ago
|
||
For the sake of simplicity and consistency with webby.models I went for a boolean is_archived flag.
Attachment #530030 -
Flags: review?(gandalf)
Comment 5•15 years ago
|
||
Comment on attachment 530030 [details] [diff] [review]
Patch
looks good, r+
Attachment #530030 -
Flags: review?(gandalf) → review+
| Assignee | ||
Comment 6•15 years ago
|
||
Landed on master:
https://github.com/mozilla/elmo/commit/cdd3efd567483463a9cf8f36b62b79306b9e5bbb
And develop:
https://github.com/mozilla/elmo/commit/89c191540c39856d9275a9b7b7b2664b1a0b3152
I'll update production and run the SQL later today.
| Assignee | ||
Comment 7•15 years ago
|
||
I ran the SQL on prod and test and git pulled on both, too.
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Updated•5 years ago
|
Product: Webtools → Webtools Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•