Commit graph

33362 commits

Author SHA1 Message Date
nobodyinperson
bbff6dbb83 bug report 2023-07-17 10:56:08 +00:00
nobodyinperson
a00aec6f9f add PeerTube link to Yann's Git Annex talk @Tübix2023 2023-07-17 06:19:46 +00:00
nobodyinperson
64edb19328 Added a comment 2023-07-17 06:12:27 +00:00
ewen
0dc8b03588 Added a comment: unspecified default preferred content = present 2023-07-17 00:50:09 +00:00
alex
f504781127 2023-07-16 06:51:33 +00:00
nobodyinperson
82ec9e5a5b Added a comment 2023-07-15 17:04:38 +00:00
Joey Hess
116b8affe5
comment 2023-07-15 12:28:32 -04:00
nobodyinperson
d07cc31792 Suggest onlyingroup preferred content expression 2023-07-15 11:19:27 +00:00
nobodyinperson
0f105aaad4 Added a comment: git annex drop --unused --jobs=cpus works 2023-07-15 05:53:43 +00:00
agot
626f0f5123 2023-07-14 22:31:05 +00:00
agot
4f85a6ac84 2023-07-14 19:14:34 +00:00
Joey Hess
b00200c73c
comment 2023-07-13 20:02:41 -04:00
Joey Hess
f22f0dd4d8
Merge branch 'master' of ssh://git-annex.branchable.com 2023-07-13 19:58:36 -04:00
Joey Hess
0df94132d9
add a warning and a related todo
arising from a conversation at FOSSY
2023-07-13 19:58:12 -04:00
ewen
1c0b53e838 Added a comment: git mv to temporary name, commit, git mv back, commit, can resolve duplicates 2023-07-13 01:12:34 +00:00
ewen
d1e87c49fc Added a comment 2023-07-13 00:54:35 +00:00
ewen
2469720e1e Added a comment: Plumbing commands vs Porcelain commands 2023-07-13 00:26:20 +00:00
Joey Hess
6a4dfb172d
Merge branch 'master' of ssh://git-annex.branchable.com 2023-07-12 13:55:10 -04:00
Joey Hess
bf496b16a4
comment 2023-07-12 13:54:59 -04:00
jkniiv
749b532e8f Added a comment 2023-07-12 17:30:52 +00:00
Joey Hess
b6314c0207
comment 2023-07-12 13:27:33 -04:00
jkniiv
b6c5b471b0 Added a comment 2023-07-12 16:25:49 +00:00
nobodyinperson
4ed5cfa812 Added a comment 2023-07-12 13:10:26 +00:00
ewen
98f1eb48ea Added a comment: Alternative proposal for better backwards compatibility 2023-07-12 12:48:04 +00:00
nobodyinperson
f23993261b Added a comment: Clarification 2023-07-12 11:29:41 +00:00
nobodyinperson
d030ed8eb9 Added a comment: There is already something like fullsync: git annex assist, suggestion: new metasync command 2023-07-12 11:15:26 +00:00
ewen
0386845605 Added a comment: Preferred content settings not really an alternative 2023-07-12 10:53:41 +00:00
ewen
0838e7a07f Added a comment: History of change 2023-07-12 10:27:43 +00:00
ewen
e7f59c4ca4 Added a comment: Breaking change to "sync" 2023-07-12 10:21:04 +00:00
nobodyinperson
e4cb4ec3d2 Added a comment 2023-07-12 09:21:56 +00:00
jkniiv
1b8d5940bd Added a comment 2023-07-12 07:33:16 +00:00
jkniiv
12054cd7e2 Added a comment: I have to agree that this change to sync is annoying 2023-07-12 07:18:54 +00:00
ewen
d733b8ed04 Recommend accepting "list" output encoding of filename as input too 2023-07-12 06:54:05 +00:00
nobodyinperson
c001844dd3 Added a comment 2023-07-12 06:49:48 +00:00
ewen
6ed3ed7e57 Suggest using "git annex fullsync" to trigger a full sync, not changing "git annex sync" behaviour 2023-07-12 04:16:48 +00:00
nobodyinperson
538d602c88 2023-07-11 20:39:34 +00:00
jstritch
c611b0a24b Added a comment 2023-07-11 18:56:40 +00:00
Joey Hess
04313e1feb
response 2023-07-10 15:20:01 -04:00
nadir
0ee048fdec 2023-07-10 07:37:07 +00:00
nadir
4926d59123 2023-07-10 07:20:45 +00:00
dud225@35a1ee469f82f3a7eb1f2dce4ad453f5e47bdfd3
a9df91ed0e removed 2023-07-07 14:16:38 +00:00
dud225@35a1ee469f82f3a7eb1f2dce4ad453f5e47bdfd3
15f78eaad1 Added a comment: Disabling a special remote 2023-07-07 14:16:24 +00:00
dud225@35a1ee469f82f3a7eb1f2dce4ad453f5e47bdfd3
fa0484d8b1 Added a comment: Disabling a special remote 2023-07-07 12:51:12 +00:00
Joey Hess
139fa76b64
Merge branch 'master' of ssh://git-annex.branchable.com 2023-07-06 12:50:04 -04:00
Joey Hess
240bae38f6
sync: When in an adjusted branch, merge changes from the original branch
This causes changes to the original branch to get merged with a single
sync. Before, it took 2 syncs; the first happened to update the synced/
branch, and the second merged changes from the synced/ branch into the
ajusted branch.

Using mergeToAdjustedBranch when tomerge == origbranch is probably
overkill, but it does work fine.

Sponsored-By: the NIH-funded NICEMAN (ReproNim TR&D3) project
2023-07-06 12:42:24 -04:00
nobodyinperson
02fab1ca2a Added a comment 2023-07-06 05:52:50 +00:00
nobodyinperson
7bcb827cd3 Added a comment 2023-07-06 05:44:57 +00:00
Joey Hess
51b24aac91
importfeed: Add feedurl to the metadata
(And allow it to be used in the --template although that seems unlikely to
be very useful.)

My use case for this is that one of the podcast feeds I subscribe to is
sometimes leaking episodes of some other podcast. The other podcast is also
very close to spam, so this may be a form of intentional spamming. I have
not been able to catch the podcast feed containing those episodes, so I
don't know which one is at fault. So putting this in the metadata will let
me eventually catch it.
2023-07-06 00:11:38 -04:00
Joey Hess
18faf9fb5b
comment 2023-07-05 17:39:26 -04:00
Joey Hess
522d032016
comment 2023-07-05 17:20:47 -04:00
Joey Hess
adb09117f1
propigateAdjustedCommits: avoid overwriting diverged original branch
Bug fix: Re-running git-annex adjust or sync when in an adjusted branch
would overwrite the original branch, losing any commits that had been made
to it since the adjusted branch was created.

When git-annex adjust is run in this situation, it will display a warning
about the diverged branches.

When git-annex sync is run in this situation, mergeToAdjustedBranch
will merge the changes from the original branch to the adjusted branch.
So it does not need to display the divergence warning.

Note that for some reason, I'm needing to run sync twice for that to
happen. The first run does not do the merge and the second does. I'm unsure
why and so am not fully done with this bug.

Sponsored-By: the NIH-funded NICEMAN (ReproNim TR&D3) project
2023-07-05 17:09:49 -04:00
Joey Hess
fc1fcc7491
Merge branch 'master' of ssh://git-annex.branchable.com 2023-07-05 16:55:10 -04:00
Joey Hess
af27da1eba
comment 2023-07-05 16:54:52 -04:00
nobodyinperson
9d305081c4 Added a comment 2023-07-05 20:46:13 +00:00
Joey Hess
3d810726af
diffdriver --text support options for diff
Sponsored-by: KDM on Patreon
2023-07-05 15:43:29 -04:00
Joey Hess
4195acc012
remove redundant example
The paragraph just above already shows how to configure .gitattributes
and the necessary git config. So this is redundant. Also, it makes
.gitattributes match *, which is likely not a good idea because those
files are not likely to be all text files.
2023-07-05 15:05:23 -04:00
Joey Hess
b90d9aa990
move new video into feed 2023-07-05 14:54:21 -04:00
Joey Hess
a05bc6a314
Fix breakage when git is configured with safe.bareRepository = explicit
Running git config --list inside .git then fails, so better to only
do that when --git-dir was specified explicitly. Otherwise, when the
repository is not bare, run the command inside the working tree.

Also make init detect when the uuid it just set cannot be read and fail
with an error, in case git changes something that breaks this later.

I still don't actually understand why git-annex add/assist -J2 was
affected but -J1 was not. But I did show that it was skipping writing to
the location log, because the uuid was NoUUID.

Sponsored-by: Graham Spencer on Patreon
2023-07-05 14:43:14 -04:00
Joey Hess
321681cd1b
renamed bug 2023-07-05 14:09:21 -04:00
Joey Hess
9d2a7c4bb6
erk 2023-07-05 13:57:28 -04:00
Joey Hess
fe0e0c0523
also affects add 2023-07-05 13:42:52 -04:00
Joey Hess
3c1d18cb3b
assist: With --jobs, parallelize transferring content to/from remotes
Command.Add.seek starts concurrency with CommandStages. And for
Command.Sync, it needs TransferStages. So, to get both types of concurrency
for the two different parts, it either needs to change the type of
concurrency in between, or just call startConcurrency once for each.

It seems safe enough to call startConcurrency twice, because it does shut
down concurrency (mostly) at the end, and eg the old Annex.workers get
emptied.

Sponsored-by: unqueued on Patreon
2023-07-05 12:47:30 -04:00
Joey Hess
c2c2abe6ca
bug 2023-07-05 12:11:48 -04:00
Joey Hess
5aad0cea83
Merge branch 'master' of ssh://git-annex.branchable.com 2023-07-05 11:54:43 -04:00
Joey Hess
72e06cce1d
update 2023-07-05 11:49:25 -04:00
dud225@35a1ee469f82f3a7eb1f2dce4ad453f5e47bdfd3
3535be3f7a Added a comment: Disabling a special remote 2023-07-04 20:54:19 +00:00
nobodyinperson
583f87fdca 2023-07-04 18:49:01 +00:00
nobodyinperson
d250a51ec3 2023-07-03 13:45:36 +00:00
Yann Büchau
8baced5a7b
Add --text example to diffdriver man page 2023-07-03 13:20:18 +02:00
nobodyinperson
381e7b9bce 2023-07-03 11:08:36 +00:00
nobodyinperson
245c447883 Add link to Yann's talk to videos list 2023-07-01 22:21:42 +00:00
yarikoptic
d735bad076 initial report on annex sync odd behavior loosing my precious commit 2023-06-30 19:39:46 +00:00
nobodyinperson
5c1ee1907f Added a comment: WiFi without broadcasting 2023-06-30 07:56:03 +00:00
nobodyinperson
aa46805061 Added a comment: Thanks for git annex satisfy, numcopies question 2023-06-30 05:37:06 +00:00
Joey Hess
18923cd0f1
idea 2023-06-29 17:00:32 -04:00
Joey Hess
06f7345558
update 2023-06-29 15:40:37 -04:00
Joey Hess
86ea4356af
add a warning about --json not being self describing
It was a mistake for mirror to support --json, but that happened long
ago and it doesn't seem worth removing. I doubt anyone will use it.
2023-06-29 15:38:37 -04:00
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
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
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
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
Joey Hess
8fc63cf156
expand and confirm 2023-06-23 16:31:54 -04:00
Joey Hess
df3197e631
avoid truncating the list of confirmed items 2023-06-23 16:20:00 -04:00
Joey Hess
f1714915b2
confirmed
(but I need them to tell me what errors of what special remotes need a
message-id)
2023-06-23 16:17:56 -04:00
Joey Hess
6774f0bf40
confirmed 2023-06-23 16:07:22 -04:00
Joey Hess
e42470fa60
confirmed 2023-06-23 15:53:28 -04:00
Joey Hess
5b1e8ba779
confirmed 2023-06-23 14:31:54 -04:00
Joey Hess
388804b785
thought 2023-06-23 14:30:37 -04:00
Joey Hess
941cd7cfaa
confirmed 2023-06-23 14:25:25 -04:00
Joey Hess
3b13609b93
thought this out more fully 2023-06-23 14:22:57 -04:00
Joey Hess
bb4d43192c
fix format 2023-06-23 14:18:16 -04:00
Joey Hess
867a833624
todo work 2023-06-23 13:47:01 -04:00
Joey Hess
2f3a275b58
confirmed 2023-06-23 12:59:34 -04:00
Joey Hess
790e0083ed
comment 2023-06-23 12:54:55 -04:00
Joey Hess
e15ad92689
close 2023-06-23 12:41:32 -04:00
Joey Hess
5a257dba88
comment 2023-06-23 12:34:48 -04:00
Joey Hess
8d09207a2d
comment and update todo 2023-06-23 12:25:08 -04:00
Joey Hess
0da5e9730d
comment 2023-06-23 12:01:54 -04:00
Joey Hess
4471548d0f
comment 2023-06-23 11:44:49 -04:00
Joey Hess
b137e5df8e
Merge branch 'master' of ssh://git-annex.branchable.com 2023-06-23 11:43:55 -04:00
contr-error
72a263ab3b Added a comment: More settings here 2023-06-23 09:18:11 +00:00
bigras.bruno@f168759f00bfb915b072eb2b216057eca0cc38c4
fbcd084073 add webapp workaround for nix-on-droid 2023-06-22 21:39:25 +00:00
Joey Hess
19570263c0
reopen on second thought 2023-06-22 13:48:48 -04:00
Joey Hess
6c84aabe63
document annex.thin risk to locked files pointing at same content 2023-06-21 15:39:15 -04:00
Joey Hess
928b2a4839
create journal directory in withJournalHandle
Fixes a crash by git-annex repair when .git/annex/journal/ does not exist.

Normally the journal directory is created before withJournalHandle gets
run, but git-annex repair can be run in a situation where it does not
exist.
2023-06-21 15:23:59 -04:00
Joey Hess
aa8be9850a
close old bug report 2023-06-21 14:51:17 -04:00
Joey Hess
e59a0b8ce7
apparently fixed 2023-06-21 14:45:36 -04:00
Joey Hess
618ef04f86
closing some old bugs 2023-06-21 14:42:36 -04:00