2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-07-02 03:30:54 +00:00

refactor (backend): move config files out of the source directories (#9769)

* moving config files out of the source directories
Fixes #9756

* add folder for config

* fix lookup paths

* reorder ignores

* reduce diff

* better error message

* fix paths

* Update tests.py

* save global warning to db

* fix import

* more import fixes / docs

* fix default

* fix default

* ensure secret_key/get_config_file is tested fully

* try fixing path on docker

* try to make it work on GitHub CI

* refactor testfolder path into config var

* fix test path

* fix test

* do not test on docker

* more tests

* add testing for global warning dict

* fix error handling
This commit is contained in:
Matthias Mair
2025-06-25 00:12:24 +02:00
committed by GitHub
parent 03bb1eb709
commit bbe94ee9c2
14 changed files with 318 additions and 43 deletions

1
config/.gitignore vendored Normal file
View File

@ -0,0 +1 @@
*

1
config/README Normal file
View File

@ -0,0 +1 @@
This folder is recommended for configuration values and excluded from change tracking in git