master
Commits on May 18, 2021
Commits on Dec 10, 2020
-
Merge pull request #244 from timgates42/bugfix_typo_distinguish
docs: fix simple typo, distuingish -> distinguish
-
docs: fix simple typo, distuingish -> distinguish
There is a small typo in src/cautil.c, src/util.c. Should read `distinguish` rather than `distuingish`.
Commits on Jun 16, 2020
-
caprotocol: fix typo in protocol description
The commit specifies the name of the server (S) that is later used in the description. Also, it adds the missing 'i' in the word 'finIshed' and fixes the multi-line comment by removing the unnecessary leading '* ' before closing the comment.
-
Call stat again after changing ownership of created files, so we detect
reset setuid/setgid bits and reset them.
-
We erroneously use the st_dev value in place of the magic value if th…
…e st_dev value is cached. This causes problems extracting trees containing subvolumes.
Commits on Nov 12, 2019
Commits on Nov 8, 2019
Commits on Apr 24, 2019
-
-
Signed-off-by: Arnaud Rebillout <arnaud.rebillout@collabora.com>
Commits on Apr 10, 2019
-
Fix uninitialized variable in log_fullv
If format already ends with '\n', then fmt was not initialized, and used all the same. Funny that the compiler didn't catch it. Signed-off-by: Arnaud Rebillout <arnaud.rebillout@collabora.com>
Commits on Apr 9, 2019
-
Remove casync-test data after use
Signed-off-by: Arnaud Rebillout <arnaud.rebillout@collabora.com>
Commits on Apr 1, 2019
-
rename_noreplace: use renameat if linkat isn't supported
like on some fuse FS
Commits on Mar 19, 2019
-
man: add a line for --version option
Signed-off-by: Arnaud Rebillout <arnaud.rebillout@collabora.com>
-
ca_chunk_file_load: try to load (un)compressed chunck first depending…
… of desired_compression
-
ca_chunk_file_test: check compressed file before uncompressed one
As compression is always enabled, we are more likely to find a compressed chunk in the repo than an uncompressed one.
Commits on Feb 26, 2019
-
Merge pull request #192 from elboulangero/mr/extract-time-stats
casync extract: Add time statistics
-
-
-
-
Display time statistics for casync extract
This commit adds the following lines to casync extract statistics: Time spent seeding: 2min 29.401s (82%) Time spent decoding: 31.178s (17%) Total extract time: 3min 631ms Signed-off-by: Arnaud Rebillout <arnaud.rebillout@collabora.com>
-
Fix build for every files that rely on time utils
Signed-off-by: Arnaud Rebillout <arnaud.rebillout@collabora.com>
-
Move time-related utils from util.h to time-util.h
Signed-off-by: Arnaud Rebillout <arnaud.rebillout@collabora.com>
-
format_timespan: use UINT64_C() macro
Once again for consistency with the rest of casync's source Signed-off-by: Arnaud Rebillout <arnaud.rebillout@collabora.com>
-
format_timespan: work with nsec instead of usec, remove unused USEC_*…
… symbols Lennart: Hmm, let's stick to uint64_t as type in casync, and only deal with ns as unit. Patching through format_timespan() fixing up the factor sounds easy enough to me. Yes, this means systemd and casync will deviate from each other in this case, but I think that's fine, if we do it for a reason. In casync we mostly deal with ns, since we mostly deal with file system objects, and Linux exposes ns granularity for those, hence I think it is a good idea to standardize on ns time units. In systemd that's a bit different though... Signed-off-by: Arnaud Rebillout <arnaud.rebillout@collabora.com>
-
format_timespan: remove print definitions
To be consistent with the rest of casync's source. Signed-off-by: Arnaud Rebillout <arnaud.rebillout@collabora.com>
-
format_timespan: get rid of usec_t/nsec_t types, use uint64_t instead
Signed-off-by: Arnaud Rebillout <arnaud.rebillout@collabora.com>
-
Import format_timespan() from systemd
We also introduce a new couple of files: time-util.{c,h}. For now this is a verbatim copy from systemd c20db3887569e0c0d9c0e2845c5286e7edf0133a Signed-off-by: Arnaud Rebillout <arnaud.rebillout@collabora.com> -
This function returns the runtime of the sync object so far. Signed-off-by: Arnaud Rebillout <arnaud.rebillout@collabora.com>
-
Signed-off-by: Arnaud Rebillout <arnaud.rebillout@collabora.com>
-
Signed-off-by: Arnaud Rebillout <arnaud.rebillout@collabora.com>
-
Now the log level can be set with: casync --log-level debug|info|error ... This command-line argument overrides the environment variable `CASYNC_LOG_LEVEL`. Closes: #185 Signed-off-by: Arnaud Rebillout <arnaud.rebillout@collabora.com> -
casync-http: Log downloaded chunks with debug level (was info+verbose)
With this commit, one must set casync log level to debug in order to see each downloaded chunks. CASYNC_LOG_LEVEL=debug casync extract ... Signed-off-by: Arnaud Rebillout <arnaud.rebillout@collabora.com> -