Commit graph

753 commits

Author SHA1 Message Date
Darko Poljak
61ab45fc65 Fix excluding destination dir from removal
Touch can lead to wrong ls order, and destination dir gets selected for
removal.
Use grep -v to exclude, instead of touch.
2019-11-25 14:38:17 +01:00
Darko Poljak
6c24e8a7d3 Fix quoting in tests 2019-11-25 13:44:10 +01:00
Darko Poljak
42bd1afb09 Fix quoting in tests 2019-11-25 13:35:22 +01:00
Darko Poljak
9ed5912461 Improve unit tests 2019-11-25 08:42:42 +01:00
Darko Poljak
5ce3fddf62 Define gitlab CI 2019-11-24 23:01:34 +01:00
Darko Poljak
8f5d9b2c97 Add unit testing 2019-11-15 08:29:46 +01:00
Darko Poljak
401dd4fa8e Fix path with spaces in eval 2019-11-15 08:29:46 +01:00
Darko Poljak
f818f011e3 Release 2.7 2019-11-14 19:20:16 +01:00
c9eef21e43 Merge branch 'bugfix/shellcheck' into 'master'
Fix shellcheck reported issues

See merge request ungleich-public/ccollect!13
2019-11-14 19:17:50 +01:00
Darko Poljak
a5e565b5d6 Add shellcheck makefile target 2019-11-14 19:16:11 +01:00
Darko Poljak
2cefdaa1a5 Fix shellcheck reported issues 2019-11-12 19:26:25 +01:00
Darko Poljak
74e3b26790 Release 2.6 2019-11-12 17:55:15 +01:00
dcc72aebf7 Merge branch 'performance/speed-up-removal' into 'master'
Improve performance

See merge request ungleich-public/ccollect!12
2019-11-12 17:50:41 +01:00
Darko Poljak
de720ecfe9 If renaming oldest bak dir fails then fallback to removing it 2019-10-17 11:53:46 +02:00
Darko Poljak
e44dede92f ++changelog 2019-10-17 09:05:55 +02:00
Darko Poljak
7701bdb0a8 Use destination dir basename 2019-10-17 08:06:13 +02:00
Darko Poljak
c39205d308 Exclude destintion dir from listing for last dir 2019-10-17 08:03:12 +02:00
Darko Poljak
2788de47b8 Improve log line 2019-10-17 07:52:53 +02:00
Darko Poljak
1e18e71b9d Use oldest backup as destination dir without deletion 2019-10-17 07:42:31 +02:00
Darko Poljak
51dcf4a02f Use hidden empty directory for deletion 2019-10-17 06:55:20 +02:00
Darko Poljak
702cdf931e Use hidden directory for deletion 2019-10-17 06:52:51 +02:00
Darko Poljak
bfb3c6338c _techo instead of very verbose 2019-10-16 15:50:54 +02:00
Darko Poljak
30abef474d Delete in background and finally wait for children 2019-10-16 14:03:13 +02:00
Darko Poljak
ca6d06c2c3 Add more verbose logging 2019-10-10 10:54:56 +02:00
Darko Poljak
1628ce58c7 Replace rm with faster rsync --delete with empty src dir 2019-10-05 10:48:19 +02:00
Darko Poljak
10dcf076a9 Release 2.5 2019-05-01 14:38:35 +02:00
086c95f98d Merge branch 'bugfix/subshell_exit' into 'master'
exit in case of subshell error

See merge request ungleich-public/ccollect!11
2019-05-01 14:32:06 +02:00
Darko Poljak
2725a1ced4 github -> code.ungleich.ch 2019-04-26 14:47:21 +02:00
Darko Poljak
835e21c56c exit in case of subshell error 2019-04-26 14:03:01 +02:00
Darko Poljak
71eabe2f23 Release 2.4 2018-09-25 21:14:55 +02:00
Darko Poljak
5c1bf8a8de
Merge pull request #10 from darko-poljak/output-backup-source
Add source name tag in log line
2018-09-25 13:15:21 +02:00
Darko Poljak
a63e16efc5 Use better expansion and parameter setting 2018-09-23 11:42:09 +02:00
Darko Poljak
b47a828af0 Add source name tag in log line 2018-09-22 20:47:14 +02:00
Darko Poljak
420dc3fe7f Add source name tag in log line 2018-09-20 16:08:00 +02:00
Darko Poljak
51f468182f Document Windows(Cygwin) as supported OS. 2018-04-20 17:27:56 +02:00
Darko Poljak
eeccc0b260 Release 2.3 2018-02-02 07:57:41 +01:00
Darko Poljak
fc0b86005c Fix parallel mode deadlock when MAX_JOBS > number of sources. 2018-01-30 09:48:43 +01:00
Jun Futagawa
bd0fe05003 Update rpm spec file to version 2.2 (#9) 2017-12-19 09:42:49 +01:00
Darko Poljak
890b166a43 Release 2.2 2017-09-03 23:11:13 +02:00
Darko Poljak
e504d1f42b Release 2.2 2017-09-03 22:29:13 +02:00
Darko Poljak
b0f1317713 changelog++ 2017-09-03 20:02:42 +02:00
Darko Poljak
04bf9aff39 Bugfix: empty rsync_options line causes destroying source. (#8)
Bugfix: empty rsync_options line causes destroying source.
2017-09-03 20:00:54 +02:00
Darko Poljak
07c925de5d Release 2.1 2017-03-22 10:46:57 +01:00
Darko Poljak
89a82ba55e Release 2.1 2017-03-22 10:24:18 +01:00
Darko Poljak
12b6b2cf28 Merge pull request #7 from darko-poljak/improve-logging
Improve logging: stdout, file, syslog options.
2017-03-22 08:13:15 +01:00
Darko Poljak
fbe17cae44 Improve logging: stdout, file, syslog options. 2017-03-19 08:10:41 +01:00
Darko Poljak
6dca5c638d Release 2.0. 2016-09-26 17:27:33 +02:00
Nico Schottelius
fe911dfcaa Merge pull request #5 from darko-poljak/j-option
New -j option
2016-09-25 15:59:27 +02:00
Darko Poljak
3049849ea6 Remove testing stuff. 2016-08-10 17:14:31 +02:00
Darko Poljak
a18a00e773 Drop SIMULATE stuff. 2016-08-10 17:12:18 +02:00