Commit Graph

11 Commits

Author SHA1 Message Date
Matthias Mair
182bc29053
Add db an media backups (#3783)
* [FR] Add backup into inventrees lifecycle
Fixes #3778

* Add env to testing enviros

* block backup from running app commands

* Add more commands

* fix postgres version

* Update used env

* add daily task to run backups

* add installer changes
2022-10-17 00:09:31 +11:00
Oliver
ce8448467a
gitpod.io fixes (#3456)
- Ignore user prompt for install
- Install pyyaml
- Fix demo data installation
2022-08-02 12:12:46 +10:00
Matthias Mair
794e375009
Switch to pathlib (#3392)
* switch to pathlib

* more pathlib

* useconvert env to path

* fix typo

* use resolve instead of absolute

* fix gitppod

* also allow parents

* replace more os operations

* fix string replacement feature

* make sure root dirs exsist

* fix replace function

* refactor duplicate code

* reduce code

* make sure dirs exist

* fix typo

* also create parent dirs

* fix match statement

* fix statments expecting string

* return getMigrationFileNames to old behaviour

* fully resolve config file

* make sure comparison works

* use pathlib in tasks

* fix file count test

* reduce code duplication in test + add test for part

* fix test

* re-add os

* Make pathlib usage simpler
2022-07-27 10:42:34 +10:00
Matthias Mair
864d69d968
Add test command (#3372)
* integrate test loading as task - use with gitpod

* ignore test data with git
2022-07-21 11:41:42 +10:00
Matthias Mair
93b6934127 fix trailing 2022-05-20 13:20:55 +02:00
Matthias Mair
6a21541566
get inventree-data at startup (#26)
* Gitpod (#25)

* Create .gitpod.yml

* split up command

* monolythic may be better

* set envs per export

* use dev for data

* trying the split again

* added sync command

* cleanup

* Update .gitpod.yml

settings for prebuilds

* add dataset import

* remove check - might block PRs

* switch execution flow

* do not block in execution

* for deletion in script

* Update .gitpod.yml

added in github RSA fingerprint

* Update .gitpod.yml

update key format

* Update .gitpod.yml

maybe https will work?

* Update .gitpod.yml

move dataset-update into init

* Update .gitpod.yml

a dir needs a -r flag :-)
2021-10-30 01:27:31 +02:00
Matthias Mair
cab1b0dc46
Update .gitpod.yml
added in github RSA fingerprint
2021-10-30 00:22:43 +02:00
Matthias Mair
cbb6d466cc download data before migrating 2021-10-29 22:11:53 +00:00
Matthias Mair
2246633628
Gitpod (#24)
* Create .gitpod.yml

* split up command

* monolythic may be better

* set envs per export

* use dev for data

* trying the split again

* added sync command

* cleanup

* Update .gitpod.yml

settings for prebuilds

* add dataset import

* remove check - might block PRs

* switch execution flow

* do not block in execution

* for deletion in script
2021-10-30 00:03:34 +02:00
Matthias Mair
83b74b2566
Gitpod (#23)
* Create .gitpod.yml

* split up command

* monolythic may be better

* set envs per export

* use dev for data

* trying the split again

* added sync command

* cleanup

* Update .gitpod.yml

settings for prebuilds

* add dataset import

* remove check - might block PRs

* switch execution flow
2021-10-29 18:23:27 +02:00
Matthias Mair
59951a12e2
Gitpod (#22)
* Create .gitpod.yml

* split up command

* monolythic may be better

* set envs per export

* use dev for data

* trying the split again

* added sync command

* cleanup

* Update .gitpod.yml

settings for prebuilds
2021-10-29 18:05:25 +02:00