Marketplace/Fake Data: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 1: Line 1:
Tools and libraries for generating data are needed to exercise every part of our code without unnecessary storing/sharing of data from production.  
Tools and libraries for generating data are needed to exercise every part of our code without unnecessary storing/sharing of data from production.  


To meet this need, convenience functions for generating data are being added to zamboni (currently they live here: https://github.com/mozilla/zamboni/blob/2efc0527/mkt/webapps/tasks.py#L849-L965 ), and are used by a simple command line app, <kbd>./manage.py generate_apps</kbd> (see [Marketplace/Fake_Data/App_Generator] for details and planned features.)  
To meet this need, convenience functions for generating data are being added to zamboni (currently they live here: https://github.com/mozilla/zamboni/blob/2efc0527/mkt/webapps/tasks.py#L849-L965 ), and are used by a simple command line app, <kbd>./manage.py generate_apps</kbd> (see [[Marketplace/Fake_Data/App_Generator]] for details and planned features.)  


== Types of data to generate ==
== Types of data to generate ==

Revision as of 04:45, 2 September 2014

Tools and libraries for generating data are needed to exercise every part of our code without unnecessary storing/sharing of data from production.

To meet this need, convenience functions for generating data are being added to zamboni (currently they live here: https://github.com/mozilla/zamboni/blob/2efc0527/mkt/webapps/tasks.py#L849-L965 ), and are used by a simple command line app, ./manage.py generate_apps (see Marketplace/Fake_Data/App_Generator for details and planned features.)

Types of data to generate

  • Hosted apps
  • Packaged apps
  • Packaged app versions
  • User accounts
  • User reviews
  • Icons
  • Previews
  • Localized strings

Use cases

  • Populating databases for local development configs
  • Creating a data set for marketplace-dev.allizom.org and marketplace.allizom.org

Bugs

Tracking bug: 1059418.

No results.

0 Total; 0 Open (0%); 0 Resolved (0%); 0 Verified (0%);