Commit graph

44160 commits

Author SHA1 Message Date
Joey Hess
e1fc9e204e
added git-annex satisfy
This ended up having an interface like sync, rather than like get/copy/drop.
That let it be implemented in terms of sync, which took a lot less code.
Also, it lets it handle many of the edge cases that sync does, such as
getting files that are not visible in a --hide-missing branch, and sending
files to exporttree remotes.

As well as being easier to implement, `git-annex satisfy myremote` makes
sense as it satisfies the preferred content settings of the remote.
`git-annex satisfy somefile` does not form a sentence that makes sense. So
while -C can be a little bit annoying, it still makes sense to have this
syntax.

Note that, while I initially thought this would also satisfy numcopies, it
does not. Arguably it ought to. But, sync does not send files in order to
satisfy numcopies, it only sends files to satisfy preferred content. And
it's important that this transfer the same files as sync does, because
it will probably be used in a workflow where the user sometimes syncs and
sometimes satisfies, and does not expect satisfy to do things that sync
would not do.

(Also opened a new bug that also affects sync et all, not only this command.)

Sponsored-by: Nicholas Golder-Manning on Patreon
2023-06-29 15:34:53 -04:00
Joey Hess
1b9958f4fd
document git-annex satisfy 2023-06-29 14:15:01 -04:00
Joey Hess
946e52cbfd
idea 2023-06-29 13:59:00 -04:00
Joey Hess
4bf1690355
comments 2023-06-29 13:57:27 -04:00
Joey Hess
53ab91da2a
confirm 2023-06-29 13:44:52 -04:00
Joey Hess
cf51d1e247
fix syntax 2023-06-29 13:32:16 -04:00
Joey Hess
931d485f90
fix syntax 2023-06-29 13:31:27 -04:00
Joey Hess
42b381e4b2
tag todos potentially useful for datalad 2023-06-29 13:30:26 -04:00
nobodyinperson
0ccf436795 Added a comment: How about git annex transfer? 2023-06-29 05:25:50 +00:00
nobodyinperson
265afbd599 Added a comment 2023-06-29 05:20:56 +00:00
pat
63e116768c 2023-06-29 04:45:15 +00:00
jkniiv
ac11b3ac0e for some reason I couldn't add a page comment so had to resort to an inline comment 2023-06-28 22:26:04 +00:00
nobodyinperson
720602b351 Added a comment: Awesome, thanks! 2023-06-28 21:09:51 +00:00
Joey Hess
d5c6197791
diffdriver: Added --text option for easy diffing of the contents of annexed text files
This was already possible, but it was rather hard to come up with the
complex shell command needed.

Note that the diff output starts with "diff a/... b/...".
I left off the "--git" because it's not a git format diff.
2023-06-28 15:27:16 -04:00
Joey Hess
2c18fc1d60
fix quoting in example 2023-06-28 14:44:42 -04:00
Joey Hess
a621b441d9
comment 2023-06-28 13:36:49 -04:00
Joey Hess
0b84c850fa
response 2023-06-28 13:26:06 -04:00
Joey Hess
da429a609c
todo 2023-06-28 13:23:37 -04:00
Joey Hess
fbd4dbaafe
fix some typos
Anarcat fixed these in the news file, so transferred it over
2023-06-28 13:15:06 -04:00
Joey Hess
6c4fbb2b1e
comment 2023-06-28 13:14:11 -04:00
Joey Hess
c61ecb946b
response 2023-06-28 13:08:12 -04:00
Joey Hess
e361efb958
remove dead link 2023-06-27 20:02:11 -04:00
Joey Hess
d9e7a7db07
Merge branch 'master' of ssh://git-annex.branchable.com 2023-06-27 20:01:25 -04:00
Joey Hess
549d390d03
display drop from remote more consistently
With eg copy --to remote

This is particularly an improvement in sync --content output, which
mixes the two, so it's nice to have consistent display.
2023-06-27 19:01:33 -04:00
Yann Büchau
029d12815c
Update nobodyinperson's user page 2023-06-27 18:54:10 +02:00
nobodyinperson
6cbe57f8ef Added a comment: Sync-ception 2023-06-27 13:51:58 +00:00
alanz
294d3d0a98 Added a comment 2023-06-27 10:53:22 +00:00
Lukey
8b1cac7888 Added a comment 2023-06-27 09:01:01 +00:00
Lukey
cdab6cd9cb Added a comment 2023-06-27 08:54:45 +00:00
dud225@35a1ee469f82f3a7eb1f2dce4ad453f5e47bdfd3
594197f03c Added a comment: ?=* 2023-06-27 07:59:55 +00:00
nobodyinperson
f9c5e47864 2023-06-27 07:01:39 +00:00
irieger
eb93b6ce5b 2023-06-26 21:31:11 +00:00
Joey Hess
b34474e4e3
Merge branch 'master' of ssh://git-annex.branchable.com 2023-06-26 14:06:53 -04:00
Joey Hess
d98aa35b3b
reinject: Added --guesskeys option
Sponsored-by: Noam Kremen on Patreon
2023-06-26 14:05:31 -04:00
anarcat
c73a3eef9b spellchecking 2023-06-26 17:13:00 +00:00
Joey Hess
19cac6fa14
correct location
reall is Baden-Württemberg but that is too specific for most readers I guess;
I wouldn't be able to guess where that is.
2023-06-26 12:39:48 -04:00
Joey Hess
b48674f16d
add news item for git-annex 10.20230626 2023-06-26 11:54:34 -04:00
Joey Hess
55fef4fb81
confirmed 2023-06-26 11:51:48 -04:00
Joey Hess
2d8174d1ef
devblog 2023-06-26 11:50:53 -04:00
Joey Hess
75f3045b0a
comment and confirm 2023-06-26 11:12:32 -04:00
Joey Hess
dc90d818b1
Merge branch 'master' of ssh://git-annex.branchable.com 2023-06-26 10:52:57 -04:00
Joey Hess
a8779f4c2a
prep release 2023-06-26 10:41:36 -04:00
nobodyinperson
9112f0c184 2023-06-26 14:08:32 +00:00
Joey Hess
1f13a7c21b
EPEL is up-to-date 2023-06-26 09:33:04 -04:00
nobodyinperson
c7309b30e9 2023-06-26 11:43:20 +00:00
jkniiv
4c84f464a4 Added a comment 2023-06-24 22:23:09 +00:00
jkniiv
77443df1b2 add a plea for saving the the old 'import /dir' interface as a renamed, reduced command 2023-06-24 22:04:35 +00:00
jkniiv
63f13d92cf add an inline comment about --fast vs. --no-content wrt. git-annex-import 2023-06-24 21:01:43 +00:00
Joey Hess
d105a6f93a
fix tag 2023-06-23 16:39:22 -04:00
Joey Hess
13b7208f65
already done 2023-06-23 16:35:49 -04:00