Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2018-09-10 | Remove left over debug log entry | Florian Pritz | 1 | -1/+0 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2018-09-09 | PathTimeTable/DB: Use cache as kind of stack and only write to DB when ↵ | Florian Pritz | 1 | -18/+25 | |
removing an item from the stack Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2018-09-09 | DB: Fix update_path_if_greater not working for existing rows | Florian Pritz | 1 | -1/+1 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2018-09-09 | PathTimeTable/DB: Use constant to control trace logging | Florian Pritz | 1 | -6/+8 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2018-09-09 | PathTimeTable/DB: Improve performance by removing usage of regex in hot places | Florian Pritz | 1 | -6/+10 | |
This cuts execution time on my workstation from about 85 seconds for an --update-cache adding one archive to roughly 62 seconds. Measured totally unscientifically by simply running the full application instead of isolating the code, but it makes sense that regexes are slower so I'll take it. Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2018-09-09 | Use strictures instead of strict/warnings | Florian Pritz | 6 | -12/+6 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2018-09-09 | Get settings via hash instead of direct variable access | Florian Pritz | 1 | -14/+16 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2018-09-09 | Settings: Add constructors | Florian Pritz | 1 | -12/+25 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2018-09-09 | Settings: Pull config file loading into function | Florian Pritz | 1 | -13/+18 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2018-09-09 | Settings: Use Function::Parameters | Florian Pritz | 1 | -6/+5 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2018-09-09 | PathTimeTable/DB: Add cache to reduce number of DB calls | Florian Pritz | 1 | -2/+51 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2018-09-06 | Update copyright years | Florian Pritz | 1 | -1/+1 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2018-09-06 | Add direct-to-db adding of paths instead of memory only | Florian Pritz | 4 | -5/+92 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2018-09-06 | Extract lookup table into dedicated package | Florian Pritz | 1 | -0/+67 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2018-08-19 | Remove unused variable | Florian Pritz | 1 | -1/+1 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2018-08-19 | DB: Do not create directories for special :foo: DBs | Florian Pritz | 1 | -1/+4 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2018-08-17 | Die when XDG_* and HOME env vars are not set | Florian Pritz | 1 | -5/+17 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2018-08-02 | Remove sqlite cache size warning | Florian Pritz | 2 | -5/+5 | |
The original performance problem on my machine doesn't seem to be reproducable any more so maybe either sqlite got smarter or it was something else entirely. Move the warning to DEBUG and soften the documentation. If it still helps people can use it, but we don't have to annoy them if it doesn't. Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2018-01-24 | Only increase sqlite cache size during update | Florian Pritz | 1 | -4/+7 | |
While not all operations fill the cache, --list does. However, for read operations it doesn't actually appear to help performance. Limit the large cache setting to update operations only because there it does really increase performance. Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2018-01-24 | Add --list feature to search for files contained in backups by path | Florian Pritz | 1 | -0/+16 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2017-12-04 | Warn if sqlite cache is full | Florian Pritz | 1 | -0/+11 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2017-12-03 | Settings: Fix missing indentation in doc | Florian Pritz | 1 | -1/+1 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2017-12-02 | Properly document removal of prefixes via @backup_prefixes | Florian Pritz | 1 | -4/+9 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2017-11-26 | Remove old cache | Florian Pritz | 1 | -0/+5 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2017-11-26 | Bump cache version level | Florian Pritz | 1 | -1/+1 | |
The previous code didn't support borg 1.1 properly and the cached might now be broken. Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2017-11-26 | Use mtime for borg 1.1 instead of isomtime | Florian Pritz | 1 | -1/+1 | |
The rest of the code expects the mtime format, but borg <1.1 mixed up the formats between isomtime and mtime. Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2017-11-22 | Log warning if no archives are detected in borg output | Florian Pritz | 1 | -0/+4 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2017-11-22 | Create cache directory in DB instead of Settings | Florian Pritz | 2 | -4/+4 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2017-11-21 | borg_list: Use JSON with borg 1.1 | Florian Pritz | 1 | -5/+14 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2017-11-21 | Borg::list_archive: Use --format to please borg 1.1 | Florian Pritz | 1 | -1/+8 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2017-11-21 | borg_list_time: Use JSON when possible | Florian Pritz | 1 | -12/+27 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2017-11-21 | Borg: Extract version information for future use | Florian Pritz | 1 | -0/+17 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2017-11-21 | borg_list_time: Fix parsing for borg >=1.1 | Florian Pritz | 1 | -1/+2 | |
Output now contains additional data after the date. Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2017-11-21 | settings: Document that config must return true | Florian Pritz | 1 | -0/+6 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2017-11-21 | Log borg errors instead of only throwing exception | Florian Pritz | 1 | -2/+2 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2017-09-25 | Add missing autodie to packages | Florian Pritz | 4 | -0/+4 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2017-09-10 | Add basic documentation for all packages | Florian Pritz | 3 | -0/+36 | |
Module::Build::Tiny installs manpages for all packages and for these 3 the manpages were empty. Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2017-08-10 | Bump minimal perl version to 5.14 | Florian Pritz | 4 | -4/+4 | |
Function::Parameters requires >=5.14 so we can bump our version as well. Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2017-06-19 | Settings: Improve documentation of $borg_repo | Florian Pritz | 1 | -1/+2 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2017-05-28 | Add --adhoc | Florian Pritz | 2 | -0/+32 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2017-04-11 | DB: Fix broken db initialization | Florian Pritz | 1 | -1/+1 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2017-04-11 | DB: Fix opening of missing db | Florian Pritz | 1 | -1/+1 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2017-04-10 | Remove unused Data::Dumper dependency | Florian Pritz | 1 | -1/+0 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2017-04-10 | Use Function::Parameters in Helper package | Florian Pritz | 1 | -9/+4 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2017-04-10 | Use Function::Parameters in Borg package | Florian Pritz | 1 | -17/+5 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2017-04-10 | Use Function::Parameters for DB package | Florian Pritz | 1 | -58/+16 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2017-04-05 | Add debug output to Borg package | Florian Pritz | 1 | -0/+4 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2017-04-03 | Add empty line between pod and code | Florian Pritz | 1 | -0/+1 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2017-04-03 | Fix license statement | Florian Pritz | 1 | -0/+1 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> | |||||
2017-04-02 | Make sqlite cache size configurable | Florian Pritz | 2 | -3/+15 | |
Signed-off-by: Florian Pritz <bluewind@xinu.at> |