git-annex.git
4 years agoAdded a comment: should import follow symlinks?
Ilya_Shlyakhter [Tue, 3 May 2022 19:36:10 +0000 (19:36 +0000)]
Added a comment: should import follow symlinks?

4 years agocomment
Joey Hess [Tue, 3 May 2022 16:26:29 +0000 (12:26 -0400)]
comment

4 years agodisable shellescape for rsync 3.2.4
Joey Hess [Tue, 3 May 2022 16:12:25 +0000 (12:12 -0400)]
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
4 years agocomment
Joey Hess [Mon, 2 May 2022 18:53:47 +0000 (14:53 -0400)]
comment

4 years agocomment
Joey Hess [Mon, 2 May 2022 18:45:45 +0000 (14:45 -0400)]
comment

4 years agocomment, retitle
Joey Hess [Mon, 2 May 2022 18:35:07 +0000 (14:35 -0400)]
comment, retitle

4 years agoclose and comment
Joey Hess [Mon, 2 May 2022 18:26:22 +0000 (14:26 -0400)]
close and comment

4 years agocomment
Joey Hess [Mon, 2 May 2022 18:24:32 +0000 (14:24 -0400)]
comment

4 years agoFix a build failure with ghc 9.2.2
Joey Hess [Mon, 2 May 2022 18:21:48 +0000 (14:21 -0400)]
Fix a build failure with ghc 9.2.2

Thanks, gnezdo for the patch.

4 years agofilter out ExitSuccess
Joey Hess [Mon, 2 May 2022 18:09:37 +0000 (14:09 -0400)]
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
4 years agoavoid using removePathForcibly everywhere, it is unsafe
Joey Hess [Mon, 2 May 2022 18:06:20 +0000 (14:06 -0400)]
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 17b20a24502aee3bfc5683146c3899a233295aea
was intending to fix, with a much smaller hammer.

Sponsored-by: Dartmouth College's Datalad project
4 years agocomment
Joey Hess [Mon, 2 May 2022 17:01:37 +0000 (13:01 -0400)]
comment

4 years agoAdded a comment: Reproducible Example
Albert [Fri, 29 Apr 2022 15:57:34 +0000 (15:57 +0000)]
Added a comment: Reproducible Example

4 years agoAdded a comment: Minimal Example
Albert [Fri, 29 Apr 2022 15:14:21 +0000 (15:14 +0000)]
Added a comment: Minimal Example

4 years ago(no commit message)
kdm9 [Fri, 29 Apr 2022 07:28:46 +0000 (07:28 +0000)]

4 years agoreport about rsync test fail
yarikoptic [Thu, 28 Apr 2022 14:30:55 +0000 (14:30 +0000)]
report about rsync test fail

4 years ago(no commit message)
Albert [Tue, 26 Apr 2022 21:17:11 +0000 (21:17 +0000)]

4 years agoAdded a comment
Lukey [Mon, 25 Apr 2022 17:12:19 +0000 (17:12 +0000)]
Added a comment

4 years ago(no commit message)
gnezdo [Mon, 25 Apr 2022 16:29:11 +0000 (16:29 +0000)]

4 years agoAdded a comment: Duplicate Files
Albert [Sun, 24 Apr 2022 14:13:47 +0000 (14:13 +0000)]
Added a comment: Duplicate Files

4 years agoAdded a comment: Fixed
gnezdo [Sat, 23 Apr 2022 21:42:42 +0000 (21:42 +0000)]
Added a comment: Fixed

4 years agoAdded a comment: Clarification Example
Albert [Sat, 23 Apr 2022 12:10:36 +0000 (12:10 +0000)]
Added a comment: Clarification Example

4 years agoClarification about git assistant invariants
Albert [Sat, 23 Apr 2022 11:38:31 +0000 (11:38 +0000)]
Clarification about git assistant invariants

4 years agoAdded a comment
tanakaoji@cd5ba49c38f0a3b42b7e7bf56c4379d9024cd840 [Fri, 22 Apr 2022 20:39:30 +0000 (20:39 +0000)]
Added a comment

4 years agoAdded a comment: transitive transfers
Ilya_Shlyakhter [Fri, 22 Apr 2022 17:01:13 +0000 (17:01 +0000)]
Added a comment: transitive transfers

4 years agoAdded a comment: transitive transfers
Ilya_Shlyakhter [Fri, 22 Apr 2022 16:59:59 +0000 (16:59 +0000)]
Added a comment: transitive transfers

4 years ago(no commit message)
tanakaoji@cd5ba49c38f0a3b42b7e7bf56c4379d9024cd840 [Fri, 22 Apr 2022 03:10:19 +0000 (03:10 +0000)]

4 years agoAdded a comment
lh [Thu, 21 Apr 2022 01:18:21 +0000 (01:18 +0000)]
Added a comment

4 years agoAdded a comment: I had to come out of the rabbit hole
datamanager [Wed, 20 Apr 2022 15:28:14 +0000 (15:28 +0000)]
Added a comment: I had to come out of the rabbit hole

4 years ago(no commit message)
0nelight [Wed, 20 Apr 2022 14:50:18 +0000 (14:50 +0000)]

4 years agoAdded a comment: re: See git-annex-export.
datamanager [Wed, 20 Apr 2022 14:48:00 +0000 (14:48 +0000)]
Added a comment: re: See git-annex-export.

4 years agoAdded a comment: re: Making git-annex preserve file name, and directory
Ilya_Shlyakhter [Wed, 20 Apr 2022 04:03:46 +0000 (04:03 +0000)]
Added a comment: re: Making git-annex preserve file name, and directory

4 years agoI want to bend git-annex to my will, but I don't know how
datamanager [Wed, 20 Apr 2022 01:16:38 +0000 (01:16 +0000)]
I want to bend git-annex to my will, but I don't know how

4 years ago(no commit message)
lsmor [Tue, 19 Apr 2022 18:43:25 +0000 (18:43 +0000)]

4 years agoAdded a comment
lh [Tue, 19 Apr 2022 18:40:57 +0000 (18:40 +0000)]
Added a comment

4 years agoAdded a comment
lh [Tue, 19 Apr 2022 18:15:53 +0000 (18:15 +0000)]
Added a comment

4 years agoadded bug report for git-annex-import importing too much
Ilya_Shlyakhter [Tue, 19 Apr 2022 18:11:55 +0000 (18:11 +0000)]
added bug report for git-annex-import importing too much

4 years agocomment
Joey Hess [Tue, 19 Apr 2022 18:04:14 +0000 (14:04 -0400)]
comment

4 years agoFix test failure on NFS when cleaning up gpg temp directory
Joey Hess [Tue, 19 Apr 2022 17:33:16 +0000 (13:33 -0400)]
Fix test failure on NFS when cleaning up gpg temp directory

Using removePathForcibly avoids concurrent removal problems.

The i386ancient build still uses an old version of ghc and directory that
do not include removePathForcibly though.

Sponsored-by: Dartmouth College's Datalad project
4 years agokeep old directory support
Joey Hess [Tue, 19 Apr 2022 17:28:02 +0000 (13:28 -0400)]
keep old directory support

Still needed for i386ancient build.

4 years agoremove unused v
Joey Hess [Tue, 19 Apr 2022 17:22:32 +0000 (13:22 -0400)]
remove unused v

4 years agoremove moreinfo
Joey Hess [Tue, 19 Apr 2022 17:17:11 +0000 (13:17 -0400)]
remove moreinfo

4 years agoimprove check using nub
Joey Hess [Tue, 19 Apr 2022 17:16:01 +0000 (13:16 -0400)]
improve check using nub

This is clearer, and looks at the list content only once rather than
twice, but should have no behavior changes.

4 years agocomment
Joey Hess [Tue, 19 Apr 2022 16:40:17 +0000 (12:40 -0400)]
comment

4 years agocomment
Joey Hess [Tue, 19 Apr 2022 16:21:47 +0000 (12:21 -0400)]
comment

4 years agoremove
Joey Hess [Tue, 19 Apr 2022 16:14:27 +0000 (12:14 -0400)]
remove

4 years agocomment
Joey Hess [Tue, 19 Apr 2022 16:14:12 +0000 (12:14 -0400)]
comment

4 years agocomment
Joey Hess [Tue, 19 Apr 2022 16:08:12 +0000 (12:08 -0400)]
comment

4 years agomulticast: Support uftp 5.0 by switching from aes256-cbc to aes256-gcm
Joey Hess [Tue, 19 Apr 2022 16:02:10 +0000 (12:02 -0400)]
multicast: Support uftp 5.0 by switching from aes256-cbc to aes256-gcm

aes256-gcm is supported by both 4.x and 5.x, while 5.x dropped aes256-cbc.

Sponsored-by: Graham Spencer on Patreon
4 years agocomment
Joey Hess [Tue, 19 Apr 2022 15:56:32 +0000 (11:56 -0400)]
comment

4 years agoAdded a comment
yarikoptic [Tue, 19 Apr 2022 14:40:18 +0000 (14:40 +0000)]
Added a comment

4 years agoreport on cryto test FAIL on NFS
yarikoptic [Tue, 19 Apr 2022 14:37:43 +0000 (14:37 +0000)]
report on cryto test FAIL on NFS

4 years ago(no commit message)
lh [Tue, 19 Apr 2022 01:50:23 +0000 (01:50 +0000)]

4 years agoAdded a comment: new backends
Ilya_Shlyakhter [Sun, 17 Apr 2022 19:02:10 +0000 (19:02 +0000)]
Added a comment: new backends

4 years agoDescribe compatibility bug with uftp 5.0
david@62eef13b7e480dc51c94ea50b67ebc0181410cd1 [Sat, 16 Apr 2022 22:29:25 +0000 (22:29 +0000)]
Describe compatibility bug with uftp 5.0

4 years agoAdded a comment: The man page export seems to be broken
lh [Fri, 15 Apr 2022 12:26:20 +0000 (12:26 +0000)]
Added a comment: The man page export seems to be broken

4 years agoAdded a comment
lell [Fri, 15 Apr 2022 12:05:19 +0000 (12:05 +0000)]
Added a comment

4 years agoAdded a comment: Myself
Abdulbasi [Thu, 14 Apr 2022 00:56:59 +0000 (00:56 +0000)]
Added a comment: Myself

4 years agoAdded a comment: recording state in git
lh [Wed, 13 Apr 2022 23:56:09 +0000 (23:56 +0000)]
Added a comment: recording state in git

4 years agoAdded a comment: Discrepancy between `git add` and `git annex add` when annex.largefi...
lh [Wed, 13 Apr 2022 23:15:25 +0000 (23:15 +0000)]
Added a comment: Discrepancy between `git add` and `git annex add` when annex.largefiles is set

4 years agoAdded a comment: Improving on the WORM situation
lh [Wed, 13 Apr 2022 22:19:40 +0000 (22:19 +0000)]
Added a comment: Improving on the WORM situation

4 years agotodo
Joey Hess [Wed, 13 Apr 2022 15:08:33 +0000 (11:08 -0400)]
todo

4 years agotodo
Joey Hess [Wed, 13 Apr 2022 03:26:17 +0000 (23:26 -0400)]
todo

4 years agoAdded a comment: maxextensionlength
Ilya_Shlyakhter [Fri, 8 Apr 2022 19:13:38 +0000 (19:13 +0000)]
Added a comment: maxextensionlength

4 years agoadd easy-git-annex to related_software
Joey Hess [Wed, 6 Apr 2022 17:13:35 +0000 (13:13 -0400)]
add easy-git-annex to related_software

4 years agoMerge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Wed, 6 Apr 2022 17:13:08 +0000 (13:13 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com

4 years ago(no commit message)
jstritch [Wed, 6 Apr 2022 14:03:00 +0000 (14:03 +0000)]

4 years agohow to implement this?
Joey Hess [Tue, 5 Apr 2022 18:52:09 +0000 (14:52 -0400)]
how to implement this?

4 years agoadd a link to git-annex-dead
Joey Hess [Tue, 5 Apr 2022 18:47:27 +0000 (14:47 -0400)]
add a link to git-annex-dead

4 years agocomment
Joey Hess [Tue, 5 Apr 2022 17:44:07 +0000 (13:44 -0400)]
comment

4 years agoMerge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Tue, 5 Apr 2022 17:42:41 +0000 (13:42 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com

4 years agoupdate
Joey Hess [Tue, 5 Apr 2022 13:35:47 +0000 (09:35 -0400)]
update

4 years agoAdded a comment
yarikoptic [Mon, 4 Apr 2022 20:01:14 +0000 (20:01 +0000)]
Added a comment

4 years agotodo triage
Joey Hess [Mon, 4 Apr 2022 19:22:49 +0000 (15:22 -0400)]
todo triage

Tagging todos that seem to have a plan ready as confirmed.

Also closed some old ones for various reasons. Including several that
turn out to be addressed by newer features.

Also opened a new todo about git-annex-config needing a criteria to add
new configs to it.

4 years agocomment
Joey Hess [Mon, 4 Apr 2022 18:27:48 +0000 (14:27 -0400)]
comment

4 years agocomment
Joey Hess [Mon, 4 Apr 2022 16:18:05 +0000 (12:18 -0400)]
comment

4 years agocommnet
Joey Hess [Mon, 4 Apr 2022 16:05:21 +0000 (12:05 -0400)]
commnet

4 years agoAdded a comment: TL;DR
amerlyq [Sat, 2 Apr 2022 14:13:48 +0000 (14:13 +0000)]
Added a comment: TL;DR

4 years agoAdded a comment: Inode rotation on android /sdcard
amerlyq [Sat, 2 Apr 2022 14:00:45 +0000 (14:00 +0000)]
Added a comment: Inode rotation on android /sdcard

4 years ago(no commit message)
Atemu [Fri, 1 Apr 2022 10:30:48 +0000 (10:30 +0000)]

4 years agoAdded a comment
Atemu [Fri, 1 Apr 2022 07:53:16 +0000 (07:53 +0000)]
Added a comment

4 years agoassistant prompt pushing of manual commits to remotes
Joey Hess [Thu, 31 Mar 2022 17:02:16 +0000 (13:02 -0400)]
assistant prompt pushing of manual commits to remotes

assistant: When annex.autocommit is set, notice commits that the user makes
manually, and push them out to remotes promptly.

Sponsored-by: Boyd Stephen Smith Jr. on Patreon
4 years agoAdded a comment
Atemu [Thu, 31 Mar 2022 10:39:28 +0000 (10:39 +0000)]
Added a comment

4 years agocomment
Joey Hess [Wed, 30 Mar 2022 16:56:57 +0000 (12:56 -0400)]
comment

4 years agoMerge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Wed, 30 Mar 2022 16:54:25 +0000 (12:54 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com

4 years agomore thoughts
Joey Hess [Wed, 30 Mar 2022 16:53:35 +0000 (12:53 -0400)]
more thoughts

This idea seems fleshed out enough to implement now.

Sponsored-by: Boyd Stephen Smith Jr. on Patreon
4 years agoidea
Joey Hess [Wed, 30 Mar 2022 16:28:25 +0000 (12:28 -0400)]
idea

4 years agoAdded a comment
Atemu [Wed, 30 Mar 2022 13:10:48 +0000 (13:10 +0000)]
Added a comment

4 years agoAdded a comment: No bueno
https://openid.stackexchange.com/user/2098ac7f-d1c7-413d-8a8a-b7d0d7704ea3 [Tue, 29 Mar 2022 22:29:21 +0000 (22:29 +0000)]
Added a comment: No bueno

4 years agoidea
Joey Hess [Tue, 29 Mar 2022 22:09:41 +0000 (18:09 -0400)]
idea

4 years agoimprove documentation of overridding git-annex config with gitconfig
Joey Hess [Tue, 29 Mar 2022 19:03:57 +0000 (15:03 -0400)]
improve documentation of overridding git-annex config with gitconfig

4 years agocomment
Joey Hess [Tue, 29 Mar 2022 18:53:07 +0000 (14:53 -0400)]
comment

4 years agoretitle
Joey Hess [Tue, 29 Mar 2022 18:03:11 +0000 (14:03 -0400)]
retitle

4 years agoMerge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Mon, 28 Mar 2022 19:23:00 +0000 (15:23 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com

4 years agoprevent numcopies or mincopies being configured to 0
Joey Hess [Mon, 28 Mar 2022 19:19:52 +0000 (15:19 -0400)]
prevent numcopies or mincopies being configured to 0

Ignore annex.numcopies set to 0 in gitattributes or git config, or by
git-annex numcopies or by --numcopies, since that configuration would make
git-annex easily lose data. Same for mincopies.

This is a continuation of the work to make data only be able to be lost
when --force is used. It earlier led to the --trust option being disabled,
and similar reasoning applies here.

Most numcopies configs had docs that strongly discouraged setting it to 0
anyway. And I can't imagine a use case for setting to 0. Not that there
might not be one, but it's just so far from the intended use case of
git-annex, of managing and storing your data, that it does not seem like
it makes sense to cater to such a hypothetical use case, where any
git-annex drop can lose your data at any time.

Using a smart constructor makes sure every place avoids 0. Note that this
does mean that NumCopies is for the configured desired values, and not the
actual existing number of copies, which of course can be 0. The name
configuredNumCopies is used to make that clear.

Sponsored-by: Brock Spratlen on Patreon
4 years ago(no commit message)
dev@c1c358f0d3c8563701193b66791eb1bc57a25ac9 [Sun, 27 Mar 2022 14:02:53 +0000 (14:02 +0000)]

4 years ago(no commit message)
dev@c1c358f0d3c8563701193b66791eb1bc57a25ac9 [Sun, 27 Mar 2022 14:02:20 +0000 (14:02 +0000)]

4 years agoswitch from hothasktags to hasktags
Joey Hess [Thu, 24 Mar 2022 17:07:49 +0000 (13:07 -0400)]
switch from hothasktags to hasktags

hothasktags was removed from Debian. And in the meantime hasktags
improved so it works well in the source tree.

Also make dev update tags.

Sponsored-by: Jack Hill on Patreon
4 years agoadd news item for git-annex 10.20220322
Joey Hess [Tue, 22 Mar 2022 17:56:54 +0000 (13:56 -0400)]
add news item for git-annex 10.20220322

4 years agoreleasing package git-annex version 10.20220322
Joey Hess [Tue, 22 Mar 2022 17:56:45 +0000 (13:56 -0400)]
releasing package git-annex version 10.20220322