This website requires JavaScript.
Explore
Help
Sign In
OpenSourceArk
/
Ghost
Watch
1
Star
0
Fork
0
You've already forked Ghost
Code
Issues
Pull Requests
Actions
Packages
Projects
Releases
Wiki
Activity
057d9599f5
Ghost
/
ghost
/
data-generator
/
index.js
2 lines
49 B
JavaScript
Raw
Normal View
History
Unescape
Escape
Entirely rewrote data generator to simplify codebase refs: https://github.com/TryGhost/DevOps/issues/11 This is a pretty huge commit, but the relevant points are: * Each importer no longer needs to be passed a set of data, it just gets the data it needs * Each importer specifies its dependencies, so that the order of import can be determined at runtime using a topological sort * The main data generator function can just tell each importer to import the data it has This makes working on the data generator much easier. Some other benefits are: * Batched importing, massively speeding up the whole process * `--tables` to set the exact tables you want to import, and specify the quantity of each
2023-08-02 16:43:26 +03:00
module
.
exports
=
require
(
'./lib/DataGenerator'
)
;
Reference in New Issue
Copy Permalink