git-annex.git
2 years agoannex.maxextensions configuration
Joey Hess [Thu, 18 Apr 2024 18:23:05 +0000 (14:23 -0400)]
annex.maxextensions configuration

Controls how many filename extensions to preserve.

Sponsored-by: the NIH-funded NICEMAN (ReproNim TR&D3) project
2 years agocomment
Joey Hess [Thu, 18 Apr 2024 17:50:19 +0000 (13:50 -0400)]
comment

2 years agoupdate to focus on why this is still open
Joey Hess [Thu, 18 Apr 2024 16:40:53 +0000 (12:40 -0400)]
update to focus on why this is still open

2 years agoMerge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Thu, 18 Apr 2024 14:05:37 +0000 (10:05 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com

2 years agofix option desc pasted from pull
Joey Hess [Thu, 18 Apr 2024 14:05:11 +0000 (10:05 -0400)]
fix option desc pasted from pull

2 years agoAdded a comment: but I'm talking about --help, isn't that in the source code?
ErrGe [Thu, 18 Apr 2024 13:07:40 +0000 (13:07 +0000)]
Added a comment: but I'm talking about --help, isn't that in the source code?

2 years ago(no commit message)
tiko [Thu, 18 Apr 2024 09:58:20 +0000 (09:58 +0000)]

2 years agoAdded a comment: Everyone can fix typos in the docs
nobodyinperson [Thu, 18 Apr 2024 05:21:42 +0000 (05:21 +0000)]
Added a comment: Everyone can fix typos in the docs

2 years ago(no commit message)
ErrGe [Thu, 18 Apr 2024 01:19:19 +0000 (01:19 +0000)]

2 years agoAdded a comment: hook idea implementation is cool, but usage is not so simple for...
ErrGe [Thu, 18 Apr 2024 01:17:02 +0000 (01:17 +0000)]
Added a comment: hook idea implementation is cool, but usage is not so simple for the enduser

2 years agoupdate
Joey Hess [Wed, 17 Apr 2024 20:19:20 +0000 (16:19 -0400)]
update

2 years agoavoid accepting externaltype= and readonly= parameters for rclone
Joey Hess [Wed, 17 Apr 2024 19:41:55 +0000 (15:41 -0400)]
avoid accepting externaltype= and readonly= parameters for rclone

I think readonly= doesn't make sense here? externaltype= certianly
doesn't.

2 years agoMerge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Wed, 17 Apr 2024 19:27:09 +0000 (15:27 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com

2 years agorclone special remote
Joey Hess [Wed, 17 Apr 2024 19:19:42 +0000 (15:19 -0400)]
rclone special remote

Added rclone special remote, which can be used without needing to install
the git-annex-remote-rclone program. This needs a new version of rclone,
which supports "rclone gitannex".

This is implemented as a variant of an external special remote, that
runs "rclone gitannex" instead of the usual git-annex-remote- command.
Parameterized Remote.External to support that.

Sponsored-by: Luke T. Shumaker on Patreon
2 years agoupdate
Joey Hess [Wed, 17 Apr 2024 17:11:17 +0000 (13:11 -0400)]
update

2 years agostartExternalAddonProcess add parameters
Joey Hess [Wed, 17 Apr 2024 17:09:10 +0000 (13:09 -0400)]
startExternalAddonProcess add parameters

Not used yet but intended to support eg running "rclone gitannex"

2 years agotypo fix
Joey Hess [Wed, 17 Apr 2024 16:59:22 +0000 (12:59 -0400)]
typo fix

2 years agobug about inception with unlocked files
yarikoptic [Wed, 17 Apr 2024 13:58:17 +0000 (13:58 +0000)]
bug about inception with unlocked files

2 years agooriginal possible todo on extension
yarikoptic [Wed, 17 Apr 2024 13:30:23 +0000 (13:30 +0000)]
original possible todo on extension

2 years agoAdded a comment: Need for more than HEAD/URL?
mih [Mon, 15 Apr 2024 05:00:58 +0000 (05:00 +0000)]
Added a comment: Need for more than HEAD/URL?

2 years agoAdded a comment: prior art
m.risse@77eac2c22d673d5f10305c0bade738ad74055f92 [Sat, 13 Apr 2024 20:30:56 +0000 (20:30 +0000)]
Added a comment: prior art

2 years ago(no commit message)
Erin [Sat, 13 Apr 2024 19:31:01 +0000 (19:31 +0000)]

2 years ago(no commit message)
Erin [Sat, 13 Apr 2024 19:27:00 +0000 (19:27 +0000)]

2 years agoAdded a comment: Happens on nix on MacOS as well
nobodyinperson [Sat, 13 Apr 2024 15:51:54 +0000 (15:51 +0000)]
Added a comment: Happens on nix on MacOS as well

2 years ago(no commit message)
m.risse@77eac2c22d673d5f10305c0bade738ad74055f92 [Thu, 11 Apr 2024 15:15:59 +0000 (15:15 +0000)]

2 years agoThoughts on support special remotes that compute keys instead of downloading
mih [Thu, 11 Apr 2024 12:26:40 +0000 (12:26 +0000)]
Thoughts on support special remotes that compute keys instead of downloading

2 years agocomment
Joey Hess [Wed, 10 Apr 2024 17:00:16 +0000 (13:00 -0400)]
comment

2 years agotodo
Joey Hess [Wed, 10 Apr 2024 16:46:27 +0000 (12:46 -0400)]
todo

2 years agoAdded a comment
unqueued [Wed, 10 Apr 2024 12:46:53 +0000 (12:46 +0000)]
Added a comment

2 years ago(no commit message)
unqueued [Wed, 10 Apr 2024 12:30:27 +0000 (12:30 +0000)]

2 years agoAdded a comment
unqueued [Wed, 10 Apr 2024 12:26:49 +0000 (12:26 +0000)]
Added a comment

2 years ago(no commit message)
unqueued [Wed, 10 Apr 2024 12:17:34 +0000 (12:17 +0000)]

2 years agoAdd link to Yann's distribits talk
nobodyinperson [Tue, 9 Apr 2024 20:34:51 +0000 (20:34 +0000)]
Add link to Yann's distribits talk

2 years agoMerge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Tue, 9 Apr 2024 16:59:01 +0000 (12:59 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com

2 years agomultiple -m second try
Joey Hess [Tue, 9 Apr 2024 16:56:47 +0000 (12:56 -0400)]
multiple -m second try

Test suite passes this time. When committing the adjusted branch, use
the old method to make a message that old git-annex can consume. Also
made the code accept the new message, so that eventually
commitTreeExactMessage can be removed.

Sponsored-by: Kevin Mueller on Patreon
2 years agoAdded a comment: Update after transferring more files
mdekstrand [Tue, 9 Apr 2024 14:45:07 +0000 (14:45 +0000)]
Added a comment: Update after transferring more files

2 years agoAdded a comment: or use numcopies for safety
nobodyinperson [Tue, 9 Apr 2024 10:48:10 +0000 (10:48 +0000)]
Added a comment: or use numcopies for safety

2 years agoAdded a comment: when someone names files like keys, they probably want trouble 🙃
nobodyinperson [Tue, 9 Apr 2024 10:43:16 +0000 (10:43 +0000)]
Added a comment: when someone names files like keys, they probably want trouble ðŸ™ƒ

2 years agocomment
Joey Hess [Mon, 8 Apr 2024 20:57:53 +0000 (16:57 -0400)]
comment

2 years agorepot MacOS disk usage bug
mdekstrand [Mon, 8 Apr 2024 20:30:14 +0000 (20:30 +0000)]
repot MacOS disk usage bug

2 years ago(no commit message)
lukasz.opiola@8b366725db99c2a5e0e638d1a5d57d457d0bdad4 [Mon, 8 Apr 2024 13:56:32 +0000 (13:56 +0000)]

2 years ago(no commit message)
lukasz.opiola@8b366725db99c2a5e0e638d1a5d57d457d0bdad4 [Mon, 8 Apr 2024 13:55:19 +0000 (13:55 +0000)]

2 years ago(no commit message)
lukasz.opiola@8b366725db99c2a5e0e638d1a5d57d457d0bdad4 [Mon, 8 Apr 2024 13:53:48 +0000 (13:53 +0000)]

2 years agoMerge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Mon, 8 Apr 2024 13:16:34 +0000 (09:16 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com

2 years agoupdate
Joey Hess [Mon, 8 Apr 2024 13:16:27 +0000 (09:16 -0400)]
update

2 years ago(no commit message)
grawity@dec5f8ddda45c421809e4687d9950f9ed2a03e46 [Mon, 8 Apr 2024 09:52:49 +0000 (09:52 +0000)]

2 years agoMerge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Sat, 6 Apr 2024 23:52:26 +0000 (19:52 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com

2 years agoproject we started at Distribits
Joey Hess [Sat, 6 Apr 2024 23:52:07 +0000 (19:52 -0400)]
project we started at Distribits

2 years agoAdded a comment: more use cases for configurable default preferred content
nobodyinperson [Sat, 6 Apr 2024 15:12:50 +0000 (15:12 +0000)]
Added a comment: more use cases for configurable default preferred content

2 years agoAdded a comment
m.risse@77eac2c22d673d5f10305c0bade738ad74055f92 [Sat, 6 Apr 2024 10:05:04 +0000 (10:05 +0000)]
Added a comment

2 years ago(no commit message)
m.risse@77eac2c22d673d5f10305c0bade738ad74055f92 [Sat, 6 Apr 2024 09:59:37 +0000 (09:59 +0000)]

2 years agoAdded a comment: Possible simplified scenario
jasonc [Wed, 3 Apr 2024 16:48:04 +0000 (16:48 +0000)]
Added a comment: Possible simplified scenario

2 years agoAdd link to English re-recording of Yann's git-annex workshop kickoff talk @Tübix2023
nobodyinperson [Wed, 3 Apr 2024 11:09:08 +0000 (11:09 +0000)]
Add link to English re-recording of Yann's git-annex workshop kickoff talk @Tübix2023

2 years agoMerge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Tue, 2 Apr 2024 21:36:42 +0000 (17:36 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com

2 years agomention reversion
Joey Hess [Tue, 2 Apr 2024 21:33:20 +0000 (17:33 -0400)]
mention reversion

2 years agoRevert "multiple -m"
Joey Hess [Tue, 2 Apr 2024 21:29:07 +0000 (17:29 -0400)]
Revert "multiple -m"

This reverts commit cee12f6a2fd7f90eb2aa72cd638b6bcdf45e4f92.

This commit broke git-annex init run in a repo that was cloned from a
repo with an adjusted branch checked out.

The problem is that findAdjustingCommit was not able to identify the
commit that created the adjusted branch. It seems that there is an extra
"\n" at the end of the commit message that it does not expect.

Since backwards compatability needs to be maintained, cannot just make
findAdjustingCommit accept it with the "\n". Will have to instead
have one commitTree variant that uses the old method, and use it for
adjusted branch committing.

2 years agoAdded a comment: support for bulk write/read/test remote
psxvoid [Tue, 2 Apr 2024 06:41:25 +0000 (06:41 +0000)]
Added a comment: support for bulk write/read/test remote

2 years agoAdded a comment
oadams [Tue, 2 Apr 2024 03:56:50 +0000 (03:56 +0000)]
Added a comment

2 years agoAdded a comment
d@403a635aa8eaa8bfa8613acb6a375d9e06ed7001 [Wed, 27 Mar 2024 22:11:47 +0000 (22:11 +0000)]
Added a comment

2 years agofixes
Joey Hess [Wed, 27 Mar 2024 20:00:18 +0000 (16:00 -0400)]
fixes

2 years agoMerge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Wed, 27 Mar 2024 19:58:45 +0000 (15:58 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com

2 years agomultiple -m
Joey Hess [Wed, 27 Mar 2024 19:58:27 +0000 (15:58 -0400)]
multiple -m

sync, assist, import: Allow -m option to be specified multiple times, to
provide additional paragraphs for the commit message.

The option parser didn't allow multiple -m before, so there is no risk of
behavior change breaking something that was for some reason using multiple
-m already.

Pass through to git commands, so that the method used to assemble the
paragrahs is whatever git does. Which might conceivably change in the
future.

Note that git commit-tree has supported -m since git 1.7.7. commitTree
was probably not using it since it predates that version. Since the
configure script prevents building git-annex with git older than 2.1,
there is no risk that it's not supported now.

Sponsored-by: Nicholas Golder-Manning on Patreon
2 years agofix typo
Joey Hess [Wed, 27 Mar 2024 16:45:40 +0000 (12:45 -0400)]
fix typo

2 years agoAdded a comment
d@403a635aa8eaa8bfa8613acb6a375d9e06ed7001 [Wed, 27 Mar 2024 13:26:34 +0000 (13:26 +0000)]
Added a comment

2 years agoMerge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Tue, 26 Mar 2024 22:19:29 +0000 (18:19 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com

2 years agotodo
Joey Hess [Tue, 26 Mar 2024 22:19:23 +0000 (18:19 -0400)]
todo

2 years agoAdded a comment
yarikoptic [Tue, 26 Mar 2024 19:13:15 +0000 (19:13 +0000)]
Added a comment

2 years agofix build warning
Joey Hess [Tue, 26 Mar 2024 18:13:59 +0000 (14:13 -0400)]
fix build warning

A recent change made plumbing the backend through fsck unncessary.

Left fsck checking backend and skipping operating on key when it could
not find one. Not checking the backend would be a behavior change.
For example the command git-annex fsck --key FOO--bar does nothing
since FOO is not a known backend. If this were removed it would
instead go on and fsck it and warn that no copies exist of the key.
That behavior change seems like it would be fine, but I also have no
reason to make it.

2 years agoavoid build warning on windows
Joey Hess [Tue, 26 Mar 2024 18:07:41 +0000 (14:07 -0400)]
avoid build warning on windows

2 years agowindows build fix
Joey Hess [Tue, 26 Mar 2024 17:51:51 +0000 (13:51 -0400)]
windows build fix

2 years agocomment
Joey Hess [Tue, 26 Mar 2024 17:48:57 +0000 (13:48 -0400)]
comment

2 years agoupdate for new rclone gitannex command
Joey Hess [Tue, 26 Mar 2024 17:48:43 +0000 (13:48 -0400)]
update for new rclone gitannex command

2 years agoMerge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Tue, 26 Mar 2024 17:17:09 +0000 (13:17 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com

2 years agoavoid build warning on windows
Joey Hess [Tue, 26 Mar 2024 17:16:33 +0000 (13:16 -0400)]
avoid build warning on windows

Since append was only exported by Annex.Common on unix, excluding it
from import caused a build warning on windows.

2 years agofix build on windows
Joey Hess [Tue, 26 Mar 2024 17:12:58 +0000 (13:12 -0400)]
fix build on windows

deletestale renamed from cleanstale

2 years agofix build warnings on windows
Joey Hess [Tue, 26 Mar 2024 17:11:53 +0000 (13:11 -0400)]
fix build warnings on windows

2 years agoWindows: Fix escaping output to terminal when using old versions of MinTTY
Joey Hess [Tue, 26 Mar 2024 17:09:21 +0000 (13:09 -0400)]
Windows: Fix escaping output to terminal when using old versions of MinTTY

2 years agoclean up windows build warnings about unused imports
Joey Hess [Tue, 26 Mar 2024 17:06:52 +0000 (13:06 -0400)]
clean up windows build warnings about unused imports

2 years agoAdded a comment
d@403a635aa8eaa8bfa8613acb6a375d9e06ed7001 [Tue, 26 Mar 2024 14:07:19 +0000 (14:07 +0000)]
Added a comment

2 years agoMerge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Mon, 25 Mar 2024 18:53:02 +0000 (14:53 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com

2 years agolink to commit
Joey Hess [Mon, 25 Mar 2024 18:51:36 +0000 (14:51 -0400)]
link to commit

2 years agofix transfer lock file for Download to not include uuid
Joey Hess [Mon, 25 Mar 2024 18:47:38 +0000 (14:47 -0400)]
fix transfer lock file for Download to not include uuid

While redundant concurrent transfers were already prevented in most
cases, it failed to prevent the case where two different repositories were
sending the same content to the same repository. By removing the uuid
from the transfer lock file for Download transfers, one repository
sending content will block the other one from also sending the same
content.

In order to interoperate with old git-annex, the old lock file is still
locked, as well as locking the new one. That added a lot of extra code
and work, and the plan is to eventually stop locking the old lock file,
at some point in time when an old git-annex process is unlikely to be
running at the same time.

Note that in the case of 2 repositories both doing eg
`git-annex copy foo --to origin`
the output is not that great:

copy b (to origin...)
  transfer already in progress, or unable to take transfer lock
git-annex: transfer already in progress, or unable to take transfer lock
97%   966.81 MiB      534 GiB/s 0sp2pstdio: 1 failed

  Lost connection (fd:14: hPutBuf: resource vanished (Broken pipe))

  Transfer failed

Perhaps that output could be cleaned up? Anyway, it's a lot better than letting
the redundant transfer happen and then failing with an obscure error about
a temp file, which is what it did before. And it seems users don't often
try to do this, since nobody ever reported this bug to me before.
(The "97%" there is actually how far along the *other* transfer is.)

Sponsored-by: Joshua Antonishen on Patreon
2 years agofix windows transfer lock check
Joey Hess [Mon, 25 Mar 2024 18:11:25 +0000 (14:11 -0400)]
fix windows transfer lock check

If the lock file was not able to be exclusivlely locked, don't indicate
locking failed. I'm pretty sure this was a typo. It goes all the way
back to 891c85cd88c5a90daf7d18160eeddd1483e8c649 where locking was first
introduced on windows, and there's no indication of why it would make
sense to return True here.

Sponsored-by: Leon Schuermann on Patreon
2 years agoAdd news of git-annex merch from hellotux.com
nobodyinperson [Mon, 25 Mar 2024 06:27:48 +0000 (06:27 +0000)]
Add news of git-annex merch from hellotux.com

2 years agoAdd link to hellotux.com git-annex shirts
nobodyinperson [Mon, 25 Mar 2024 06:18:36 +0000 (06:18 +0000)]
Add link to hellotux.com git-annex shirts

2 years agobug
Joey Hess [Sun, 24 Mar 2024 19:05:49 +0000 (15:05 -0400)]
bug

2 years agocomment
Joey Hess [Fri, 22 Mar 2024 15:07:00 +0000 (11:07 -0400)]
comment

2 years agocomment
Joey Hess [Fri, 22 Mar 2024 15:00:51 +0000 (11:00 -0400)]
comment

2 years agofix name of option
Joey Hess [Fri, 22 Mar 2024 14:54:14 +0000 (10:54 -0400)]
fix name of option

2 years ago(no commit message)
poelzi [Wed, 20 Mar 2024 21:22:36 +0000 (21:22 +0000)]

2 years agopolicy on AI generated content
Joey Hess [Mon, 18 Mar 2024 20:57:54 +0000 (16:57 -0400)]
policy on AI generated content

2 years agoMerge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Fri, 15 Mar 2024 20:15:23 +0000 (16:15 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com

2 years agofix reversion in unexport when unable to rename
Joey Hess [Fri, 15 Mar 2024 20:14:44 +0000 (16:14 -0400)]
fix reversion in unexport when unable to rename

Bug introduced in commit 7cef5e8f35d211f09eee0af5f8ea0bf689a1d012

2 years agoupdate
Joey Hess [Fri, 15 Mar 2024 14:13:12 +0000 (10:13 -0400)]
update

2 years agoAdded a comment: Need for git-annex-remote-rclone
oadams [Thu, 14 Mar 2024 01:03:46 +0000 (01:03 +0000)]
Added a comment: Need for git-annex-remote-rclone

2 years agoupdate
Joey Hess [Wed, 13 Mar 2024 15:21:05 +0000 (11:21 -0400)]
update

2 years agoupdate
Joey Hess [Wed, 13 Mar 2024 15:19:04 +0000 (11:19 -0400)]
update

2 years agolink
Joey Hess [Wed, 13 Mar 2024 15:06:59 +0000 (11:06 -0400)]
link

2 years agofix spelling
Joey Hess [Wed, 13 Mar 2024 15:05:41 +0000 (11:05 -0400)]
fix spelling

2 years agotodo
Joey Hess [Wed, 13 Mar 2024 15:04:06 +0000 (11:04 -0400)]
todo