Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2017-04-02 | die on error instead of croak | Florian Pritz | 1 | -2/+2 | |
Croak would indicate that the caller is at fault, but if there is no path in the archive that's not a caller problem. Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2017-04-02 | Improve debug messages in find_archives | Florian Pritz | 1 | -1/+1 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2017-04-02 | Standardize error level for functions in main package | Florian Pritz | 1 | -3/+3 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2017-04-02 | Use Carp for find_archives errors | Florian Pritz | 1 | -0/+1 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2017-04-02 | Use Carp for path resolving error | Florian Pritz | 1 | -1/+2 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2017-04-02 | Add TODO | Florian Pritz | 1 | -0/+1 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2017-04-02 | Move backup path mapping to main package | Florian Pritz | 1 | -0/+16 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2017-04-02 | Move path resolving to main package | Florian Pritz | 1 | -0/+16 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2017-04-02 | Refactor update_cache() | Florian Pritz | 1 | -18/+9 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2017-04-02 | Improve log messages when adding archives | Florian Pritz | 1 | -2/+2 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2017-04-02 | Use logger everywhere in main package | Florian Pritz | 1 | -3/+3 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2017-04-02 | Start documenting the main class | Florian Pritz | 1 | -1/+14 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2017-04-01 | Mark some functions private | Florian Pritz | 1 | -11/+11 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2017-04-01 | Remove unused get_temp_path | Florian Pritz | 1 | -11/+0 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2017-04-01 | Remove unused get_mtime_from_lookuptable | Florian Pritz | 1 | -17/+0 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2017-04-01 | Do not pass $opts to main class | Florian Pritz | 1 | -7/+1 | |
The only reason this was done, was for the debug output. This no longer requires large amounts of memory or time (simple count(*) in the db now) so this is no longer necessary. Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2017-03-19 | Fix broken db handling when updating cache | Florian Pritz | 1 | -3/+3 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2017-03-19 | Migrate main package to Log::Any | Florian Pritz | 1 | -20/+16 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2017-03-13 | Refactor db creation and cache dir creation | Florian Pritz | 3 | -23/+33 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2017-03-13 | timespec_to_seconds: Use atomic groups in regex | Florian Pritz | 1 | -1/+1 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2017-03-12 | Fix sort order of detected archives | Florian Pritz | 1 | -1/+1 | |
cmp sorts strings, <=> sorts numbers Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2017-03-12 | Use POSIX::strftime instead of DateTime | Florian Pritz | 1 | -4/+2 | |
DateTime take forever to load (~115ms on my machine) and it's not required here. Removing it makes the usage text appear much faster. Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2017-03-12 | Make $db an object variable | Florian Pritz | 1 | -36/+20 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2017-03-04 | Add new_no_defaults constructor for test suite | Florian Pritz | 1 | -0/+16 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2017-03-04 | Borg::list_archive: Use open() instead of IPC::Run for performance | Florian Pritz | 2 | -3/+9 | |
Surprisingly the callback isn't actually that bad, but IPC::Run (probably new_chunker) adds quite some overhead. Since open supports everything we need, use that instead. Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2017-03-03 | Fix broken recursion in save_node | Florian Pritz | 1 | -1/+1 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2017-03-03 | Pass sub to IPC::Run instead of using a typeglob | Florian Pritz | 2 | -7/+7 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2017-03-03 | Support dependency injection of Borg class | Florian Pritz | 2 | -3/+17 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2017-03-02 | Allow dots in archive names | Florian Pritz | 1 | -1/+1 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2017-02-27 | Drop useless =pod | Florian Pritz | 1 | -1/+0 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2017-02-27 | Move most code to main package | Florian Pritz | 1 | -0/+356 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2017-02-27 | Move debug() to main package | Florian Pritz | 1 | -5/+21 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2017-02-27 | Remove empty lines from the db | Florian Pritz | 1 | -1/+8 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2017-02-27 | Extract borg related methods into dedicated package | Florian Pritz | 1 | -0/+39 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2017-02-27 | Move packages to dedicated files | Florian Pritz | 3 | -0/+240 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2017-02-26 | Fix metadata | Florian Pritz | 1 | -6/+18 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2017-02-26 | initial commit | Florian Pritz | 1 | -0/+39 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> |