Extract "static data" from fakedata.py and include in setupdb_app

RESOLVED FIXED in 98

Status

RESOLVED FIXED
4 years ago
4 years ago

People

(Reporter: peterbe, Assigned: rhelmer)

Tracking

unspecified
x86
Mac OS X

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

4 years ago
Currently fakedata.py contains stuff referred to as "static data". E.g. os_names and release_channels. Those have more real sounding values like "Beta" or "Windows XP" unlike the fakedata which is more unreal like "WaterWolf".

The idea is to extract these static data classes into its own staticdata.py and when you run setupdb_app it will always load that data in. 

So, when you run `setupdb_app.py` (*without* --fakedata) it'll generate all the tables but some of them will have some data in them.
(Assignee)

Updated

4 years ago
Status: NEW → ASSIGNED
(Assignee)

Updated

4 years ago
Blocks: 1049796

Comment 2

4 years ago
Commits pushed to master at https://github.com/mozilla/socorro

https://github.com/mozilla/socorro/commit/f26a9d8850b2101b3d9ba18b9e7957681e2baa67
bug 1049775 - split staticdata from fakedata

https://github.com/mozilla/socorro/commit/5344d3ec5b8e39d5251c808ef8a2b37f71db5ba7
Merge pull request #2276 from rhelmer/bug1049775-split-staticdata-from-fakedata

bug 1049775 - split staticdata from fakedata

Updated

4 years ago
Target Milestone: --- → 98
(Assignee)

Updated

4 years ago
Status: ASSIGNED → RESOLVED
Last Resolved: 4 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.