Closed
Bug 1122255
Opened 11 years ago
Closed 11 years ago
Add language pack model in zamboni
Categories
(Marketplace Graveyard :: Developer Pages, defect, P2)
Tracking
(Not tracked)
RESOLVED
FIXED
2015-01-27
People
(Reporter: andy+bugzilla, Assigned: mat)
References
Details
(Whiteboard: [qa-])
Create a model in zamboni that contains database tables and constants etc. First job is to figure out what those fields are maybe:
- firefox os version
- language
- created
- updated
- active
We'll also need a version table that is maybe:
- lang pack version number
- path on the file system
- updated
- created
- active
It was suggested that this should be a separate set of models from Webapp, Version and File.
| Assignee | ||
Comment 1•11 years ago
|
||
Are we really going to need the version table ? It seems overkill...
Comment 2•11 years ago
|
||
could a collection for each FxOS version and a consistent naming scheme achieve this without a new model?
Comment 3•11 years ago
|
||
(In reply to Andrew Williamson [:eviljeff] from comment #2)
> could a collection for each FxOS version and a consistent naming scheme
> achieve this without a new model?
If you're suggesting to wedge language packs into the Webapp model (because collections are collections of apps, right?), I was hoping we could avoid that. Language packs seem different in subtle ways that I fear we'd be fighting an uphill battle adding exceptions all over our code. There's also a future possibility of associating language packs to apps where a separate model would be the right way to model that relationship.
Comment 4•11 years ago
|
||
(In reply to Rob Hudson [:robhudson] from comment #3)
> (In reply to Andrew Williamson [:eviljeff] from comment #2)
> > could a collection for each FxOS version and a consistent naming scheme
> > achieve this without a new model?
>
> If you're suggesting to wedge language packs into the Webapp model (because
> collections are collections of apps, right?), I was hoping we could avoid
> that. Language packs seem different in subtle ways that I fear we'd be
> fighting an uphill battle adding exceptions all over our code. There's also
> a future possibility of associating language packs to apps where a separate
> model would be the right way to model that relationship.
I meant more as an alternative to a osversion table, following on from #c1. So each lang+osversion would be a 'langpack' object, i.e. langpack->version->file like we have with webapps; rather than langpack->osversion->version->file. And if we could use collections to collect all langpacks for a particular osversion if that was needed.
As for langpacks being wedged into Webapp vs a new model, I don't really have a strong on opinion on that. Either way I can see changes being needed in various places.
| Assignee | ||
Updated•11 years ago
|
Assignee: nobody → mpillard
| Assignee | ||
Updated•11 years ago
|
Priority: P3 → P2
| Assignee | ||
Updated•11 years ago
|
Status: NEW → ASSIGNED
| Assignee | ||
Comment 5•11 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Whiteboard: [qa-]
Target Milestone: --- → 2015-01-27
You need to log in
before you can comment on or make changes to this bug.
Description
•