Commit graph

41573 commits

Author SHA1 Message Date
mnaoumov
f5c4b470ea Added a comment 2022-05-05 22:44:01 +00:00
yarikoptic
deab526f63 Added a comment: it is still there 2022-05-05 20:22:14 +00:00
Joey Hess
d1cce869ed
implement dataUnits finally
Added support for "megabit" and related bandwidth units in
annex.stalldetection and everywhere else that git-annex parses data units.

Note that the short form is "Mbit" not "Mb" because that differs from "MB"
only in case, and git-annex parses units case-insensitively. It would be
horrible if two different versions of git-annex parsed the same value
differently, so I don't think "Mb" can be supported.

See comment for bonus sad story from my childhood.

Sponsored-by: Nicholas Golder-Manning
2022-05-05 15:25:11 -04:00
Joey Hess
3d8af64527
close 2022-05-05 12:13:09 -04:00
Joey Hess
144e5b1cb0
comment 2022-05-05 12:07:04 -04:00
Joey Hess
925648c297
comment 2022-05-05 10:57:17 -04:00
Joey Hess
d08e4c7481
Merge branch 'master' of ssh://git-annex.branchable.com 2022-05-05 10:49:24 -04:00
Joey Hess
13d28e607c
update 2022-05-05 10:49:14 -04:00
mnaoumov
7f125b3559 2022-05-05 04:05:45 +00:00
Joey Hess
8baac93dd3
add news item for git-annex 10.20220504 2022-05-04 11:48:55 -04:00
Joey Hess
4e4c44ed8e
hah, I mean 0504 of course 2022-05-04 11:47:40 -04:00
Joey Hess
cb0e89bf77
releasing package git-annex version 10.20220404 2022-05-04 11:46:56 -04:00
Joey Hess
60fd4a85ca
bump year for Utility/* 2022-05-04 11:40:25 -04:00
Joey Hess
0406c33f58
fix git-annex repair false positive
Avoid treating refs/annex/last-index or other refs that are not commit
objects as evidence of repository corruption.

The repair code checks to find bad refs by trying to run `git log` on
them, and assumes that no output means something is broken.  But git log
on a tree object is empty.

This was worth fixing generally, not as a special case, since it's certainly
possible that other things store tree or other objects in refs.

Sponsored-by: Max Thoursie on Patreon
2022-05-04 11:32:23 -04:00
Ilya_Shlyakhter
d0b1ecf464 Added a comment: should import follow symlinks? 2022-05-03 19:36:10 +00:00
Joey Hess
961d05a90e
comment 2022-05-03 12:26:29 -04:00
Joey Hess
43701759a3
disable shellescape for rsync 3.2.4
rsync 3.2.4 broke backwards-compatability by preventing exposing filenames
to the shell. Made the rsync and gcrypt special remotes detect this and
disable shellescape.

An alternative fix would have been to always set RSYNC_OLD_ARGS=1.
Which would avoid the overhead of probing rsync --help for each affected
remote. But that is really very fast to run, and it seemed better to switch
to the modern code path rather than keeping on using the bad old code path.

Sponsored-by: Tobias Ammann on Patreon
2022-05-03 12:12:41 -04:00
Joey Hess
b760d31be1
comment 2022-05-02 14:54:24 -04:00
Joey Hess
37dea232a4
comment 2022-05-02 14:45:45 -04:00
Joey Hess
31b2213992
comment, retitle 2022-05-02 14:35:07 -04:00
Joey Hess
2ad4679d18
close and comment 2022-05-02 14:26:22 -04:00
Joey Hess
1c00731f9e
comment 2022-05-02 14:24:32 -04:00
Joey Hess
280d41b58f
Fix a build failure with ghc 9.2.2
Thanks, gnezdo for the patch.
2022-05-02 14:21:48 -04:00
Joey Hess
217798f3f1
filter out ExitSuccess
This avoids displaying the unexpected exit codes message when
the list is eg [ExitSuccess, ExitFailure 1].

Sponsored-by: Dartmouth College's Datalad project
2022-05-02 14:09:37 -04:00
Joey Hess
642703c7e4
avoid using removePathForcibly everywhere, it is unsafe
If the temp directory can somehow contain a hard link, it changes the
mode, which affects all other hard linked files. So, it's too unsafe
to use everywhere in git-annex, since hard links are possible in
multiple ways and it would be very hard to prove that every place that
uses a temp directory cannot possibly put a hard link in it.

Added a call to removeDirectoryForCleanup to test_crypto, which will
fix the problem that commit 17b20a2450
was intending to fix, with a much smaller hammer.

Sponsored-by: Dartmouth College's Datalad project
2022-05-02 14:06:20 -04:00
Joey Hess
1b02cd4715
comment 2022-05-02 13:01:37 -04:00
Albert
b4ac551d06 Added a comment: Reproducible Example 2022-04-29 15:57:34 +00:00
Albert
5c467179c4 Added a comment: Minimal Example 2022-04-29 15:14:21 +00:00
kdm9
58fcedb598 2022-04-29 07:28:46 +00:00
yarikoptic
8c6d4863be report about rsync test fail 2022-04-28 14:30:55 +00:00
Albert
143e66e55f 2022-04-26 21:17:11 +00:00
Lukey
a5ce8007c6 Added a comment 2022-04-25 17:12:19 +00:00
gnezdo
c1885e1457 2022-04-25 16:29:11 +00:00
Albert
b25bfecb1b Added a comment: Duplicate Files 2022-04-24 14:13:47 +00:00
gnezdo
1037b737d0 Added a comment: Fixed 2022-04-23 21:42:42 +00:00
Albert
19bcafd789 Added a comment: Clarification Example 2022-04-23 12:10:36 +00:00
Albert
f835fcabb1 Clarification about git assistant invariants 2022-04-23 11:38:31 +00:00
tanakaoji@cd5ba49c38f0a3b42b7e7bf56c4379d9024cd840
62ffc1e975 Added a comment 2022-04-22 20:39:30 +00:00
Ilya_Shlyakhter
2efcd191c4 Added a comment: transitive transfers 2022-04-22 17:01:13 +00:00
Ilya_Shlyakhter
97a57a4c2e Added a comment: transitive transfers 2022-04-22 16:59:59 +00:00
tanakaoji@cd5ba49c38f0a3b42b7e7bf56c4379d9024cd840
c33b6d853e 2022-04-22 03:10:19 +00:00
lh
fd849e2618 Added a comment 2022-04-21 01:18:21 +00:00
datamanager
d258eec2eb Added a comment: I had to come out of the rabbit hole 2022-04-20 15:28:14 +00:00
0nelight
57d53dbe5d 2022-04-20 14:50:18 +00:00
datamanager
e854814287 Added a comment: re: See git-annex-export. 2022-04-20 14:48:00 +00:00
Ilya_Shlyakhter
baaf5eb249 Added a comment: re: Making git-annex preserve file name, and directory 2022-04-20 04:03:46 +00:00
datamanager
ea702e85c1 I want to bend git-annex to my will, but I don't know how 2022-04-20 01:16:38 +00:00
lsmor
e20263c0da 2022-04-19 18:43:25 +00:00
lh
67200bc948 Added a comment 2022-04-19 18:40:57 +00:00
lh
8f11d1a43b Added a comment 2022-04-19 18:15:53 +00:00