Commit Graph

113 Commits

Author SHA1 Message Date
rdelaage 812fed163e Merge 0c7da11f4d into 068121d722 2023-10-12 07:11:49 -07:00
Christoph Loy f67bb7f73c Bump version to 1.7.9 (#325) 2023-10-02 14:09:34 +02:00
cupcakearmy 2c5266c9a0 fix build system 2023-03-05 17:22:03 +01:00
cupcakearmy 087b293c39 version bump 2023-03-02 15:03:57 +01:00
Andreas 112a69d743 Allow env variables in path for rest backend (#280) 2023-03-02 15:00:39 +01:00
cupcakearmy c82db56069 Update config.go 2023-01-19 09:44:05 +01:00
Mariusz Kozakowski 1512db5b55 Fix regexp for AddedExtractor (#284)
Co-authored-by: mariom <11mariom@gmail.com>
2023-01-18 22:39:12 +01:00
Romain de Laage 0c7da11f4d Fix upgrade command
fix #191
2022-11-14 09:02:56 +01:00
cupcakearmy 74979e9a2a Update config.go 2022-10-17 15:03:17 +02:00
Romain de Laage 3732dcf6ff Check for errors on forget after having backuped (#241) 2022-10-17 15:02:47 +02:00
cupcakearmy 4d9a2b828e Update config.go 2022-09-13 15:16:21 +02:00
Chosto b830667264 Use options when calling check or init (#199) 2022-09-13 15:15:02 +02:00
John Burkhardt 83eeb847ac Add command line flag to override docker image. (#233) 2022-09-13 15:04:12 +02:00
Romain de Laage 2f407cf211 Add forget for copy backend (#223)
fix #221
2022-08-24 12:09:32 +02:00
cupcakearmy 489f3078fe bump version 2022-08-24 12:03:11 +02:00
Romain de Laage e07dd0d991 Don't check if path is a directory (#220)
We only run a stat on the path to check there is no error
2022-08-22 17:28:38 +02:00
kenc 2b9dc9f17c Add test for locking behaviour (#211) 2022-06-27 09:03:34 +02:00
kenc 465bc037c2 Add lock tests (#209)
* Add lock tests

* Refactor setLock to accept key value pairs

This allows SetCron and Lock to use the same function setLockValue. It
also removes the need to call getLock explicitly in tests by returning
the lock object.
2022-06-06 12:59:47 +02:00
kenc 37a043afff Add location unit tests (#208) 2022-06-02 17:05:44 +02:00
kenc e91b632181 Add backend unit tests (#207) 2022-06-01 14:58:38 +02:00
kenc 2b30998b9a Add options parsing unit tests (#205)
* Add options parsing unit tests

* Refactor into subtests
2022-05-30 12:56:25 +02:00
cupcakearmy 3bc091f826 lean flag 2022-04-27 00:55:31 +02:00
cupcakearmy 5bcf5c9217 1.7.0 (#188)
* stream the output (#186)

* dont duplicate global flags (#187)

* docs for tagging

* fix self update path (#190)

* version bump & changelog
2022-04-27 00:48:52 +02:00
cupcakearmy ff2e3714d1 1.6.2 2022-04-14 17:44:54 +02:00
cupcakearmy 434862ed4e 1.6.0 (#180)
* fix for #178

* restore options

* error codes

* update docs

* forget docs

* add option to auto forget

* add copy option

* update go version to enable generics

* copy docs

* changelog & version bump
2022-04-14 11:51:32 +02:00
cupcakearmy 8b74a98836 better error handling 2022-03-18 13:06:19 +01:00
cupcakearmy 8a713e497d add ssh & update deps 2022-03-12 14:13:29 +01:00
cupcakearmy 5afad86e37 1.5.6 2022-03-10 16:36:26 +01:00
cupcakearmy d85470459f fix home directory 2022-02-16 21:58:09 +01:00
cupcakearmy db9f5dea66 1.5.4 2022-02-16 21:42:54 +01:00
cupcakearmy 92feaef5bb version bump 2022-02-16 21:28:13 +01:00
cupcakearmy 2a7e233cdb only check on config if it is getting used 2022-02-16 21:22:42 +01:00
cupcakearmy ec9e2aebcd 1.5.2 2022-02-13 16:25:09 +01:00
Jan 65ba1f6ac1 Make a copy of config before overriding it 2022-02-09 20:35:29 +01:00
cupcakearmy 982f9e0b5c better error handling 2021-12-06 12:13:18 +01:00
cupcakearmy 0c37af5588 #140 Docker version pinning 2021-12-06 11:59:58 +01:00
cupcakearmy 2b14e6b1af remove print 2021-11-24 09:35:31 +01:00
cupcakearmy 1810af8d02 Merge pull request #137 from g-a-c/issues/130
refactor downloading of binaries
2021-11-23 13:01:09 +01:00
cupcakearmy 252968e15e ensure config is loaded before lock 2021-11-23 12:32:35 +01:00
cupcakearmy 26de4385ea version bump 2021-11-23 12:32:22 +01:00
cupcakearmy 0c71bea93e use own docker image 2021-11-21 21:10:32 +01:00
Gavin Chappell 389f7c25dd refactor downloading of binaries
* If `/tmp` is a `tmpfs` or somehow not the same filesystem, `os.Rename()` will fail so use `io.Copy()` instead
* don't defer cleanup of `to` as this removes the newly-created file if the operation is successful, making `install` and `upgrade` _functionally_ `uninstall`
* defer cleanup of the temporary file since it will still be in place if `os.Rename()` fails

Fixes: #130
2021-11-20 19:30:46 +00:00
cupcakearmy ed3c17d678 migration docs 2021-11-20 17:09:42 +01:00
cupcakearmy c55e91b8ff version bump 2021-11-20 16:55:20 +01:00
cupcakearmy 170bdb81ad tags 2021-11-07 11:48:03 +01:00
cupcakearmy 113a97c283 add config version to ensure compatibility 2021-11-06 22:00:44 +01:00
cupcakearmy cd7a5cbc13 also enable azure and google cloud 2021-11-01 00:19:32 +01:00
cupcakearmy 3dd3956d64 support for rclone 2021-11-01 00:16:54 +01:00
cupcakearmy 59035da46a remove output 2021-10-31 23:58:08 +01:00
cupcakearmy a68e3e426e simplify options handling 2021-10-31 23:07:12 +01:00