Commit graph

12231 commits

Author SHA1 Message Date
Joey Hess
3318d25c65
adjust unlocked execute bit handling
When building an adjusted unlocked branch, make pointer files executable
when the annex object file is executable.

This slows down git-annex adjust --unlock/--unlock-present by needing to
stat all annex object files in the tree. Probably not a significant
slowdown compared to other work they do, but I have not benchmarked.

I chose to leave git-annex adjust --unlock marked as stable, even though
get or drop of an object file can change whether it would make the pointer
file executable. Partly because making it unstable would slow down
re-adjustment, and partly for symmetry with the handling of an unlocked
pointer file that is executable when the content is dropped, which does not
remove its execute bit.
2024-05-28 12:39:42 -04:00
Joey Hess
1bb819f597
retitle and comment 2024-05-28 12:07:58 -04:00
Joey Hess
5a48f7b34e
Merge branch 'master' of ssh://git-annex.branchable.com 2024-05-27 11:16:25 -04:00
Joey Hess
6f51ba740d
comment 2024-05-27 11:16:21 -04:00
derphysiker
9442937865 Added a comment 2024-05-25 13:00:08 +00:00
Joey Hess
5e0d9c2029
comment 2024-05-24 17:32:50 -04:00
derphysiker
2d380f9941 Added a comment 2024-05-24 20:32:15 +00:00
Joey Hess
90580a2fad
comment 2024-05-24 12:57:11 -04:00
derphysiker
fc7655324e 2024-05-23 20:49:06 +00:00
TTTTAAAx
f332234c84 2024-05-22 06:27:30 +00:00
yarikoptic
cb952e762d Added a comment 2024-05-16 22:22:50 +00:00
yarikoptic
3337236bd9 initial report about multiple UUIDs and names for the same remote 2024-05-16 22:17:49 +00:00
Joey Hess
e154c6da92
bug report (copied from email) 2024-05-13 17:11:34 -04:00
lell
13b21662c8 2024-05-02 09:06:21 +00:00
Yaroslav Halchenko
9c2ab31549
Fix compatable typo (yet to add to codespell)
=== Do not change lines below ===
{
 "chain": [],
 "cmd": "git-sedi compatable compatible",
 "exit": 0,
 "extra_inputs": [],
 "inputs": [],
 "outputs": [],
 "pwd": "."
}
^^^ Do not change lines above ^^^
2024-05-01 15:46:25 -04:00
Joey Hess
da712198d8
close 2024-04-30 14:48:25 -04:00
yarikoptic
3302390894 Added a comment 2024-04-29 13:13:48 +00:00
nobodyinperson
2fcfabe499 Added a comment: annex.maxextensionlength and annex.maxextensions 2024-04-27 19:16:29 +00:00
nobodyinperson
6daa338e0c Initial report 2024-04-27 14:20:26 +00:00
Gergely Risko
9e88c93866 Delete bug, as I have patch for it 2024-04-22 17:31:17 +02:00
ErrGe
d6aa9606e2 Added a comment: but I'm talking about --help, isn't that in the source code? 2024-04-18 13:07:40 +00:00
tiko
97dd6e61c1 2024-04-18 09:58:20 +00:00
nobodyinperson
141c9d2331 Added a comment: Everyone can fix typos in the docs 2024-04-18 05:21:42 +00:00
ErrGe
9c0c7a7a1d 2024-04-18 01:19:19 +00:00
yarikoptic
6d651fa10c bug about inception with unlocked files 2024-04-17 13:58:17 +00:00
nobodyinperson
22091cb659 Added a comment: Happens on nix on MacOS as well 2024-04-13 15:51:54 +00:00
m.risse@77eac2c22d673d5f10305c0bade738ad74055f92
30b4de2185 2024-04-11 15:15:59 +00:00
mdekstrand
08d9152f87 Added a comment: Update after transferring more files 2024-04-09 14:45:07 +00:00
mdekstrand
bc937b11b9 repot MacOS disk usage bug 2024-04-08 20:30:14 +00:00
m.risse@77eac2c22d673d5f10305c0bade738ad74055f92
26549ec343 Added a comment 2024-04-06 10:05:04 +00:00
m.risse@77eac2c22d673d5f10305c0bade738ad74055f92
554b73bb39 2024-04-06 09:59:37 +00:00
jasonc
dbd2f0e7bf Added a comment: Possible simplified scenario 2024-04-03 16:48:04 +00:00
Joey Hess
f04d9574d6
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
2024-03-25 14:47:46 -04:00
Joey Hess
1ace305159
bug 2024-03-24 15:05:49 -04:00
Joey Hess
0c6eb2f1c9
comment 2024-03-22 11:00:51 -04:00
poelzi
b8fe213e5a 2024-03-20 21:22:36 +00:00
plattfot@2283a4f9dca7a5a94ba91f0c65c1fb52bb25e811
484483a699 2024-03-12 19:01:46 +00:00
Joey Hess
087e099e6a
Merge branch 'master' of ssh://git-annex.branchable.com 2024-03-11 10:00:48 -04:00
Joey Hess
e29918aea1
comment 2024-03-11 10:00:45 -04:00
ewen
0b4eb2620b Added a comment: TLS v1.2 EMS (Extended Master/Main Secret) 2024-03-07 03:01:20 +00:00
ewen
24083a5694 2024-03-07 02:33:52 +00:00
Atemu
c575cc38a8 Added a comment 2024-03-02 08:32:40 +00:00
Joey Hess
2bb46d046c
comment 2024-03-01 15:07:03 -04:00
anarcat
729097ea30 expand on what i feel a tweak could help 2024-02-19 14:21:36 +00:00
anarcat
f182ea517a 2024-02-19 04:07:06 +00:00
jstritch
372228dfc4 Added a comment 2024-02-16 17:48:55 +00:00
jstritch
d8e426bcd7 removed 2024-02-16 17:26:44 +00:00
jstritch
08db730a17 Added a comment 2024-02-06 19:54:40 +00:00
jstritch
949f068fb7 Added a comment 2024-02-06 18:27:33 +00:00
Joey Hess
c0c85a7de4
comment and close 2024-02-05 14:11:47 -04:00