Closed Bug 1049775 Opened 10 years ago Closed 10 years ago

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

Categories

(Socorro :: General, task)

x86
macOS
task
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: peterbe, Assigned: rhelmer)

References

Details

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.
Status: NEW → ASSIGNED
Blocks: 1049796
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
Target Milestone: --- → 98
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.