Commit graph

12474 commits

Author SHA1 Message Date
Joey Hess
43b35f9493
windows permissions fix
Windows: Fix permission denied error when dropping files that have the
readonly attribute set.

Files coming from a special remote may have had write permission removed
from them. The directory special remote does that. And there are
probably others. So rather than fixing it on the special remote side,
made moveAnnex, on Windows, add back the write bit. This apparently
removes the readonly attribute. See Remote.Directory.removeDirGeneric
which already did the same on windows to allow removing files from the
directory special remote.

The reason that cleanObjectLoc also calls allowWrite is to handle
situations where files have already gotten into git-annex repositories on
Windows with the write bit set. Eg, an older git-annex put them there.
Or perhaps the git-annex repository was populated on some other OS.
2025-01-07 16:37:39 -04:00
Joey Hess
e7e479c1f0
same bug 2025-01-07 15:53:47 -04:00
Joey Hess
dcc259f940
tag INM7
based on mih filing or commenting on things and/or on
git-remote-annex being used
2025-01-07 15:52:20 -04:00
Joey Hess
f13819cde0
close, behaving as documented 2025-01-07 14:47:56 -04:00
Joey Hess
cbc83c0386
Fix installation on Android
Unfortunately, commit ce95cac195 broke
android installation way back in May of last year.
2025-01-07 14:13:46 -04:00
Joey Hess
79d0f1da03
remove multiple dup comments 2025-01-07 14:08:32 -04:00
Joey Hess
470c327998
comment 2025-01-07 14:05:03 -04:00
Joey Hess
95b32c6c36
comment 2025-01-07 13:55:24 -04:00
Joey Hess
658f2f2a37
close, not a bug
mrisse posted a comment earlier explaining the user's confusion to them
2025-01-07 13:47:45 -04:00
Joey Hess
7c68fc26cd
retitle 2025-01-07 13:46:05 -04:00
Joey Hess
7a735c7a4f
comment 2025-01-07 13:37:57 -04:00
Joey Hess
8bc88945e9
Merge branch 'master' of ssh://git-annex.branchable.com 2025-01-07 13:21:49 -04:00
Joey Hess
354fdbac46
remove empty comment 2025-01-07 13:21:41 -04:00
Joey Hess
22fb269bef
reponse 2025-01-07 13:21:17 -04:00
jkniiv
0f8050df43 report on the main repo being offline 2025-01-07 06:56:08 +00:00
jkniiv
d5fd38c8de removed 2025-01-07 06:15:59 +00:00
yarikoptic
2921b61da9 Added a comment 2025-01-07 01:06:57 +00:00
yarikoptic
27f9f9aec5 encfs testing issue on v10 locked 2025-01-06 23:39:35 +00:00
Joey Hess
3b280faac7
Merge branch 'master' of ssh://git-annex.branchable.com 2025-01-06 16:42:12 -04:00
Joey Hess
757704ea5e
forgot to add this comment earlier 2025-01-06 16:42:05 -04:00
jkniiv
0a0ff49d1c Added a comment 2025-01-06 08:54:05 +00:00
jkniiv
209fc18046 Added a comment 2025-01-06 08:52:04 +00:00
Brendan
af5ae08e51 Added a comment: Same bug 2025-01-04 04:46:29 +00:00
Brendan
4323680bba Added a comment: Same bug 2025-01-04 04:46:11 +00:00
brendan.ward@a2e11ad27f6b2fa2c556aea6811496e0d95dd0da
7aa72c6d45 Added a comment 2025-01-04 04:41:14 +00:00
brendan.ward@a2e11ad27f6b2fa2c556aea6811496e0d95dd0da
84dce18c3e Added a comment 2025-01-04 04:39:20 +00:00
brendan.ward@a2e11ad27f6b2fa2c556aea6811496e0d95dd0da
eb655ffa27 Added a comment 2025-01-04 04:35:24 +00:00
brendan.ward@a2e11ad27f6b2fa2c556aea6811496e0d95dd0da
25d2fd1f26 Added a comment 2025-01-04 04:34:02 +00:00
Joey Hess
ecc8162203
VURL verifyKeyContent True when there are no recorded equivkeys
Avoid verification error when addurl --verifiable is used with an url
claimed by a special remote other than the web.
2025-01-03 17:24:30 -04:00
Joey Hess
e77934b920
comment 2025-01-03 15:11:29 -04:00
Joey Hess
e8e36a90c1
comment 2025-01-03 13:27:34 -04:00
Joey Hess
420088178c
comment 2025-01-03 13:25:27 -04:00
Joey Hess
c20f86b1c8
improve man page and comment 2025-01-03 13:05:23 -04:00
Joey Hess
1eb11808cb
comment 2025-01-03 12:30:20 -04:00
Joey Hess
292acd3c28
move old fixed datalad/dandi/repronim bugs to the project pages
As done previously in 2023 in commit bcc69f07e8

Commands used:

    for f in $(git grep -l '\[\[!tag projects/dandi\]\]'); do if grep -q 'done\]\]' "$f"; then git mv "$f" ../projects/dandi/bugs-done; g=$(echo "$f" | sed 's/.mdwn//'); if [ -d "$g" ]; then git mv "$g" ../projects/dandi/bugs-done; fi; fi; done
    for f in $(git grep -l '\[\[!tag projects/repronim\]\]'); do if grep -q 'done\]\]' "$f"; then git mv "$f" ../projects/repronim/bugs-done; g=$(echo "$f" | sed 's/.mdwn//'); if [ -d "$g" ]; then git mv "$g" ../projects/repronim/bugs-done; fi; fi; done
    for f in $(git grep -l '\[\[!tag projects/datalad\]\]'); do if grep -q 'done\]\]' "$f"; then git mv "$f" ../projects/datalad/bugs-done; g=$(echo "$f" | sed 's/.mdwn//'); if [ -d "$g" ]; then git mv "$g" ../projects/datalad/bugs-done; fi; fi; done
2025-01-01 13:12:56 -04:00
Joey Hess
2fe36b35a2
remove old closed bugs and todo items to speed up wiki updates and reduce size
Remove closed bugs and todos that were last edited or commented before 2024.

Except for ones tagged projects/* since projects like datalad want to keep
around records of old deleted bugs longer.

Command line used:

	for f in $(grep -l '|done\]\]' -- ./*.mdwn); do if ! grep -q "projects/" "$f"; then d="$(echo "$f" | sed 's/.mdwn$//')"; if [ -z "$(git log --since=01-01-2024 --pretty=oneline -- "$f")" -a -z "$(git log --since=01-01-2024 --pretty=oneline -- "$d")" ]; then git rm -- "./$f" ; git rm -rf "./$d"; fi; fi; done
	for f in $(grep -l '\[\[done\]\]' -- ./*.mdwn); do if ! grep -q "projects/" "$f"; then d="$(echo "$f" | sed 's/.mdwn$//')"; if [ -z "$(git log --since=01-01-2024 --pretty=oneline -- "$f")" -a -z "$(git log --since=01-01-2024 --pretty=oneline -- "$d")" ]; then git rm -- "./$f" ; git rm -rf "./$d"; fi; fi; done
2025-01-01 13:09:36 -04:00
Spencer
0000c3f325 2024-12-29 09:18:56 +00:00
guardcat
3382ab67f3 2024-12-20 10:22:38 +00:00
Joey Hess
29b3c7c660
annex.addunlocked support for tree imports
Honor annex.addunlocked configuration when importing a tree from a special
remote.

Note, in a --no-content import, the object file will not be populated
(usually) and so expressions that match on mime type will not match. Tested
this and it works ok, the file just ends up locked. Updated docs for the
mime expressions to mention that they can't match when the file is present

Note that in Command.Sync.pullThirdPartyPopulated, recordImportTree is
called without a AddUnlockedMatcher. Since the tree generated here is not
exposed to the user and does not contain usual filenames, there is no need
of the overhead of checking it.
2024-12-19 11:43:51 -04:00
Joey Hess
02169a1ce3
comment and close 2024-12-18 19:59:15 -04:00
Joey Hess
c035ff7c27
comments 2024-12-18 15:20:44 -04:00
matrss
932ad041de 2024-12-16 22:02:42 +00:00
Joey Hess
79a160b760
comments 2024-12-03 16:33:03 -04:00
iirekm
c206d1fb73 Added a comment 2024-12-03 15:43:25 +00:00
Joey Hess
35b7fa3d34
comment 2024-12-03 11:34:49 -04:00
iirekm
ad3cb1dbff 2024-12-03 15:28:22 +00:00
Joey Hess
0c08ff3d2c
deal with git's CFLR nonsense once again
Work around git hash-object --stdin-paths's odd stripping of carriage
return from the end of the line (some windows infection), avoiding crashing
when the repo contains a filename ending in a carriage return.
2024-12-02 13:47:51 -04:00
ljc
da2d74a18a 2024-11-27 07:31:13 +00:00
Joey Hess
8663c72f1e
git-remote-annex: Fix buggy behavior when annex.stalldetection is configured
Make programPath never return "git-remote-annex" or other known multi-call
program names, which are not git-annex and won't behave like it.
If the git-annex binary gets installed under some entirely other name,
it will still return it.

This change exposed that readProgramFile actually could crash,
which happened before only if getExecutablePath was not absolute
and there was no ~/.config/git-annex/program. So fixed that to catch
exception.
2024-11-25 12:14:52 -04:00
Joey Hess
2fc76ef062
comment 2024-11-25 11:33:38 -04:00