stash/scripts/test_db_generator
WithoutPants f69bd8a94f
Restructure go project (#2356)
* Move main to cmd
* Move api to internal
* Move logger and manager to internal
* Move shell hiding code to separate package
* Decouple job from desktop and utils
* Decouple session from config
* Move static into internal
* Decouple config from dlna
* Move desktop to internal
* Move dlna to internal
* Decouple remaining packages from config
* Move config into internal
* Move jsonschema and paths to models
* Make ffmpeg functions private
* Move file utility methods into fsutil package
* Move symwalk into fsutil
* Move single-use util functions into client package
* Move slice functions to separate packages
* Add env var to suppress windowsgui arg
* Move hash functions into separate package
* Move identify to internal
* Move autotag to internal
* Touch UI when generating backend
2022-03-17 11:33:59 +11:00
..
README.md Test database generator (#1513) 2021-06-23 08:29:10 +10:00
config.yml Filter tag by hierarchy (#1746) 2021-10-01 11:50:06 +10:00
female.txt Test database generator (#1513) 2021-06-23 08:29:10 +10:00
makeTestDB.go Restructure go project (#2356) 2022-03-17 11:33:59 +11:00
male.txt Test database generator (#1513) 2021-06-23 08:29:10 +10:00
naming.go Filter tag by hierarchy (#1746) 2021-10-01 11:50:06 +10:00
scene.txt Test database generator (#1513) 2021-06-23 08:29:10 +10:00
studio.txt Test database generator (#1513) 2021-06-23 08:29:10 +10:00
surname.txt Test database generator (#1513) 2021-06-23 08:29:10 +10:00

README.md

This is a quick and dirty go script for generating a contrived database for testing purposes.

Edit the config.yml file to your liking. The numbers indicate the number of objects to generate, the naming section indicates the files from which to generate names.

May cause unexpected behaviour if run against an existing database file.

To run - from the test_db_generator: go run .

The database file will be generated in the current directory.