Commit Graph

318 Commits

Author SHA1 Message Date
Einar Forselv ae835f30d3 Make crontab configurable 2019-12-08 06:38:56 +01:00
Einar Forselv 1e21ff422f Detect if a repository should be initialized
This is better than trying to initialize it every time
2019-12-08 05:09:05 +01:00
Einar Forselv 6347529701 Alert when nothing is found to back up + check repo after backup 2019-12-08 04:52:30 +01:00
Einar Forselv 3dacc0bfab Update containers.py 2019-12-08 04:51:07 +01:00
Einar Forselv fa14880742 Indicate we might want to run check with --with-cache 2019-12-08 04:50:33 +01:00
Einar Forselv 5eb773eb34 Fx broken backup process container test 2019-12-08 04:50:09 +01:00
Einar Forselv e8123922df Backup process label is now unique for each project 2019-12-08 03:51:57 +01:00
Einar Forselv be74715595 Already running backup process container is an error message 2019-12-08 03:33:11 +01:00
Einar Forselv 515702ae78 Truncate field sizes in discord webhook 2019-12-08 03:32:42 +01:00
Einar Forselv ff49d9c018 Bump version 2019-12-08 03:32:14 +01:00
Einar Forselv 187787425a Sane default buffer size in backup_from_stdin 2019-12-08 01:16:10 +01:00
Einar Forselv fa1c982bf5 pep8 2019-12-08 01:14:57 +01:00
Einar Forselv 2bbd329047 Alert when backup process is already running 2019-12-08 01:05:26 +01:00
Einar Forselv 8097ac79af Remove stale backup process containers 2019-12-08 00:57:23 +01:00
Einar Forselv 5082244949 Gather stale backup process containers 2019-12-08 00:32:39 +01:00
Einar Forselv d9e5a62458 List all containers including non-running ones 2019-12-08 00:26:02 +01:00
Einar Forselv 6085f5fc03 README: Docker version note 2019-12-08 00:10:40 +01:00
Einar Forselv d89ed781ef Comment on log streaming for docker ce 17 and 18 2019-12-08 00:08:41 +01:00
Einar Forselv e2dec9ffa0 Move all labels into enums module
This way we have more control over them
2019-12-07 23:59:27 +01:00
Einar Forselv 2b3a702f21 Mising docstrings 2019-12-07 09:19:16 +01:00
Einar Forselv 3456e1a899 Update README.md 2019-12-07 09:15:34 +01:00
Einar Forselv 105cdbb65e Incorrect pip install in travis.yml 2019-12-07 09:12:01 +01:00
Einar Forselv d671ffb626 Fix broken travis config 2019-12-07 09:05:48 +01:00
Einar Forselv f988b42881 Create .travis.yml 2019-12-07 08:43:07 +01:00
Einar Forselv 5d653c2c3c Clean up dockerignore 2019-12-07 08:39:05 +01:00
Einar Forselv c80b2774d4 Better handling of stdout/stderr logging 2019-12-06 17:19:51 +01:00
Einar Forselv 12da998538 Incorrect requirements dir after moving test package 2019-12-06 17:19:06 +01:00
Einar Forselv d17d776339 More comments in dev compose file 2019-12-06 10:53:51 +01:00
Einar Forselv 758c3075f1 Bump version 2019-12-06 09:09:05 +01:00
Einar Forselv 9cad6a5c71 Update cli.py 2019-12-06 09:08:48 +01:00
Einar Forselv 4ebe16af14 Properly get the container exit code 2019-12-06 08:21:21 +01:00
Einar Forselv fd87ddc388 More logging during backup 2019-12-06 08:21:06 +01:00
Einar Forselv 2cbc5aa6fa bump version 2019-12-06 07:36:30 +01:00
Einar Forselv ffa2dfc119 rcb version 2019-12-06 07:35:14 +01:00
Einar Forselv cfc92b2284 Bug: The log stream from docker can be str or bytes
We don't know why this is the case..
2019-12-06 07:30:39 +01:00
Einar Forselv 216202dec7 Bump version 2019-12-06 06:07:03 +01:00
Einar Forselv fab988a05e status command should display repository 2019-12-05 12:57:15 +01:00
Einar Forselv 164834d3a9 bug: cleanup should return integer exit code 2019-12-05 12:55:13 +01:00
Einar Forselv a0dfb04aa7 Run repo init in status command 2019-12-05 12:54:34 +01:00
Einar Forselv 7f588c57ab bug: forget and prune was never executed 2019-12-05 12:42:21 +01:00
Einar Forselv e01f7c6cff Update README.md 2019-12-05 12:33:24 +01:00
Einar Forselv 102073cb70 Bug: Do not refer to old tag 2019-12-05 12:30:50 +01:00
Einar Forselv e060c28c93 Update README.md 2019-12-05 11:26:11 +01:00
Einar Forselv 14903f3bbd Fully working tox run 2019-12-05 11:23:33 +01:00
Einar Forselv 96bd419a24 Move tests into src 2019-12-05 11:23:14 +01:00
Einar Forselv 75ab549370 re-add pytest.ini 2019-12-05 11:15:14 +01:00
Einar Forselv 6f06d25db5 pep8 2019-12-05 11:09:36 +01:00
Einar Forselv 0a9e5edfe4 Add basic tox setup 2019-12-05 11:08:40 +01:00
Einar Forselv 130be30268 Move package to src/ to properly separate what goes into docker image 2019-12-05 10:26:46 +01:00
Einar Forselv 0af9f2e8ee Catch exceptions in backup_runner 2019-12-05 10:16:34 +01:00