git-annex.git
3 years agoAdded a comment
nick.guenther@e418ed3c763dff37995c2ed5da4232a7c6cee0a9 [Thu, 8 Sep 2022 00:28:32 +0000 (00:28 +0000)]
Added a comment

3 years agoAdded a comment
nick.guenther@e418ed3c763dff37995c2ed5da4232a7c6cee0a9 [Wed, 7 Sep 2022 23:22:40 +0000 (23:22 +0000)]
Added a comment

3 years agoinitial todo on multiple passwords entry for get
yarikoptic [Tue, 6 Sep 2022 21:02:01 +0000 (21:02 +0000)]
initial todo on multiple passwords entry for get

3 years agoAdded a comment
jgoerzen [Mon, 5 Sep 2022 23:57:01 +0000 (23:57 +0000)]
Added a comment

3 years agoAdded a comment
jgoerzen [Mon, 5 Sep 2022 22:01:24 +0000 (22:01 +0000)]
Added a comment

3 years agoAdded a comment
jgoerzen [Mon, 5 Sep 2022 18:44:01 +0000 (18:44 +0000)]
Added a comment

3 years agoMerge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Mon, 5 Sep 2022 18:36:32 +0000 (14:36 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com

3 years agocomment
Joey Hess [Mon, 5 Sep 2022 18:35:24 +0000 (14:35 -0400)]
comment

3 years agoAdded a comment
jgoerzen [Mon, 5 Sep 2022 18:29:31 +0000 (18:29 +0000)]
Added a comment

3 years agocomment
Joey Hess [Mon, 5 Sep 2022 18:00:50 +0000 (14:00 -0400)]
comment

3 years agouse getSymbolicLinkStatus not getFileStatus to avoid crash on broken symlink
Joey Hess [Mon, 5 Sep 2022 17:44:03 +0000 (13:44 -0400)]
use getSymbolicLinkStatus not getFileStatus to avoid crash on broken symlink

Fix crash importing from a directory special remote that contains a broken
symlink.

The crash was in listImportableContentsM but some other places in
Remote.Directory also seemed like they could have the same problem.

Also audited for other places that have such a problem. Not all calls
to getFileStatus are bad, in some cases it's better to crash on something
unexpected. For example, `git-annex import path` when the path is a broken
symlink should crash, the same as when it does not exist. Many of the
getFileStatus calls are like that, particularly when they involve
.git/annex/objects which should never have a broken symlink in it.

Fixed a few other possible cases of the problem.

Sponsored-by: Lawrence Brogan on Patreon
3 years agoMerge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Mon, 5 Sep 2022 17:20:44 +0000 (13:20 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com

3 years agofix build
Joey Hess [Mon, 5 Sep 2022 17:20:23 +0000 (13:20 -0400)]
fix build

3 years agoupdate
Joey Hess [Mon, 5 Sep 2022 14:44:45 +0000 (10:44 -0400)]
update

3 years agoAdded a comment
Lukey [Mon, 5 Sep 2022 09:35:18 +0000 (09:35 +0000)]
Added a comment

3 years agoAdded a comment
Lukey [Mon, 5 Sep 2022 09:07:05 +0000 (09:07 +0000)]
Added a comment

3 years agoAdded a comment
jgoerzen [Mon, 5 Sep 2022 01:14:53 +0000 (01:14 +0000)]
Added a comment

3 years agoAdded a comment
jgoerzen [Mon, 5 Sep 2022 01:01:59 +0000 (01:01 +0000)]
Added a comment

3 years ago(no commit message)
jgoerzen [Mon, 5 Sep 2022 00:59:39 +0000 (00:59 +0000)]

3 years ago(no commit message)
jgoerzen [Mon, 5 Sep 2022 00:17:03 +0000 (00:17 +0000)]

3 years agoAdded a comment
jgoerzen [Sun, 4 Sep 2022 22:31:14 +0000 (22:31 +0000)]
Added a comment

3 years ago(no commit message)
jgoerzen [Sun, 4 Sep 2022 13:12:55 +0000 (13:12 +0000)]

3 years ago(no commit message)
tomdhunt [Sun, 4 Sep 2022 04:39:20 +0000 (04:39 +0000)]

3 years ago(no commit message)
jgoerzen [Sun, 4 Sep 2022 01:16:18 +0000 (01:16 +0000)]

3 years agoAdded a comment
jgoerzen [Sat, 3 Sep 2022 23:26:28 +0000 (23:26 +0000)]
Added a comment

3 years agoAdded a comment
jgoerzen [Sat, 3 Sep 2022 22:45:42 +0000 (22:45 +0000)]
Added a comment

3 years agoAdded a comment
Lukey [Sat, 3 Sep 2022 21:32:29 +0000 (21:32 +0000)]
Added a comment

3 years ago(no commit message)
jgoerzen [Sat, 3 Sep 2022 20:37:25 +0000 (20:37 +0000)]

3 years ago(no commit message)
jgoerzen [Sat, 3 Sep 2022 17:38:23 +0000 (17:38 +0000)]

3 years ago(no commit message)
jgoerzen [Sat, 3 Sep 2022 17:33:49 +0000 (17:33 +0000)]

3 years agoAdded a comment: mtree can help
jgoerzen [Sat, 3 Sep 2022 17:30:58 +0000 (17:30 +0000)]
Added a comment: mtree can help

3 years ago(no commit message)
jgoerzen [Sat, 3 Sep 2022 17:29:06 +0000 (17:29 +0000)]

3 years agoadd NNCP special remote!
Joey Hess [Fri, 2 Sep 2022 20:55:36 +0000 (16:55 -0400)]
add NNCP special remote!

3 years agoAdded a comment: I don't think there is one
jkniiv [Fri, 2 Sep 2022 02:04:29 +0000 (02:04 +0000)]
Added a comment: I don't think there is one

3 years agoquestion about external drive filesystem
yarikoptic [Thu, 1 Sep 2022 20:50:21 +0000 (20:50 +0000)]
question about external drive filesystem

3 years agoAdded a comment: howto importfeed youtube playlists (not entire channels)
yarikoptic [Thu, 1 Sep 2022 19:26:20 +0000 (19:26 +0000)]
Added a comment: howto importfeed youtube playlists (not entire channels)

3 years agoFTBFS report
yarikoptic [Wed, 31 Aug 2022 14:47:35 +0000 (14:47 +0000)]
FTBFS report

3 years agoAdded a comment
yarikoptic [Tue, 30 Aug 2022 19:38:49 +0000 (19:38 +0000)]
Added a comment

3 years agoupdate
Joey Hess [Tue, 30 Aug 2022 19:22:06 +0000 (15:22 -0400)]
update

3 years agoMerge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Tue, 30 Aug 2022 19:20:46 +0000 (15:20 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com

3 years agooptimise linker in linux standalone tarballs
Joey Hess [Tue, 30 Aug 2022 19:20:04 +0000 (15:20 -0400)]
optimise linker in linux standalone tarballs

Trick the linker into not doing unncessary work searching for optimised
libraries that are not present, by symlinking the directories where
optimised libs would be to the main lib dir.

This reduces the ENOENT of git-annex init by about 1/2. The linker always
finds the files where it looks first time now. I have not looked at what
the wall clock speedup might be, it's probably rather small.

If a x86-64-v5 comes to be, the list will need to be extended. And there
may be other directories used on some machines that I have missed. Not done
for arm64 yet, or any uncommon architectures.

Sponsored-by: Dartmouth College's Datalad project
3 years agocomment
Joey Hess [Tue, 30 Aug 2022 17:36:53 +0000 (13:36 -0400)]
comment

3 years agocomment
Joey Hess [Tue, 30 Aug 2022 16:50:42 +0000 (12:50 -0400)]
comment

3 years agoAdded a comment
DavidD [Mon, 29 Aug 2022 21:19:56 +0000 (21:19 +0000)]
Added a comment

3 years agoAdded a comment
yarikoptic [Mon, 29 Aug 2022 20:46:12 +0000 (20:46 +0000)]
Added a comment

3 years agomove assistant and webapp build-depends into main build-depends
Joey Hess [Mon, 29 Aug 2022 19:21:00 +0000 (15:21 -0400)]
move assistant and webapp build-depends into main build-depends

For some reason, cabal 3.4.1.0 builds w/o the assistant and webapp,
even when the flag is explicitly turned on. Moving the build-depends from
inside the if flag section to the main build-depends somehow fixes this.

Since the webapp build deps are thus always available, there is no reason
not to build the webapp when building the assistant. So, got rid of the
webapp build flag. Kept the assistant build flag for now, since building
without it does at least still speed up the build.

Sponsored-by: Brock Spratlen on Patreon
3 years agoshow when build with Benchmark build flag
Joey Hess [Mon, 29 Aug 2022 18:55:58 +0000 (14:55 -0400)]
show when build with Benchmark build flag

3 years agoMerge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Mon, 29 Aug 2022 18:50:04 +0000 (14:50 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com

3 years agoadd bug and update comment
Joey Hess [Mon, 29 Aug 2022 18:49:44 +0000 (14:49 -0400)]
add bug and update comment

3 years agoadded suggestion for git-annex-import to import symlinks
Ilya_Shlyakhter [Mon, 29 Aug 2022 18:45:35 +0000 (18:45 +0000)]
added suggestion for git-annex-import to import symlinks

3 years agoMerge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Mon, 29 Aug 2022 18:25:39 +0000 (14:25 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com

3 years agocomment
Joey Hess [Mon, 29 Aug 2022 18:25:30 +0000 (14:25 -0400)]
comment

3 years agoAdded a comment: testremote cleanup
Ilya_Shlyakhter [Mon, 29 Aug 2022 18:09:24 +0000 (18:09 +0000)]
Added a comment: testremote cleanup

3 years agoavoid dup check of guardSafeToUseRepo
Joey Hess [Mon, 29 Aug 2022 17:52:58 +0000 (13:52 -0400)]
avoid dup check of guardSafeToUseRepo

Speeds up init slightly, and reduces the number of syscalls by the
dynamic linker.

Sponsored-by: Dartmouth College's Datalad project
3 years agocomment
Joey Hess [Mon, 29 Aug 2022 17:38:42 +0000 (13:38 -0400)]
comment

3 years agocomment
Joey Hess [Mon, 29 Aug 2022 16:45:58 +0000 (12:45 -0400)]
comment

3 years agoAdded a comment: testremote cleanup
Ilya_Shlyakhter [Sun, 28 Aug 2022 20:15:39 +0000 (20:15 +0000)]
Added a comment: testremote cleanup

3 years agoAdded a comment
Atemu [Sun, 28 Aug 2022 17:56:20 +0000 (17:56 +0000)]
Added a comment

3 years agoAdded a comment
hoegiflo@befdf51af27be5af346451fe32863dadb1d37ad5 [Sat, 27 Aug 2022 21:00:49 +0000 (21:00 +0000)]
Added a comment

3 years agoinitial report on libpcre lookups
yarikoptic [Sat, 27 Aug 2022 00:53:22 +0000 (00:53 +0000)]
initial report on libpcre lookups

3 years agoAdded a comment: copying to S3: partsize/chunking
Ilya_Shlyakhter [Thu, 25 Aug 2022 17:45:49 +0000 (17:45 +0000)]
Added a comment: copying to S3: partsize/chunking

3 years agoAdded a comment
Atemu [Thu, 25 Aug 2022 16:18:39 +0000 (16:18 +0000)]
Added a comment

3 years agoAdded a comment
yarikoptic [Wed, 24 Aug 2022 19:27:00 +0000 (19:27 +0000)]
Added a comment

3 years agocomment
Joey Hess [Wed, 24 Aug 2022 19:17:43 +0000 (15:17 -0400)]
comment

3 years ago(no commit message)
hoegiflo@befdf51af27be5af346451fe32863dadb1d37ad5 [Wed, 24 Aug 2022 18:43:15 +0000 (18:43 +0000)]

3 years ago(no commit message)
hoegiflo@befdf51af27be5af346451fe32863dadb1d37ad5 [Wed, 24 Aug 2022 18:41:37 +0000 (18:41 +0000)]

3 years agoAdded a comment
yarikoptic [Wed, 24 Aug 2022 18:40:10 +0000 (18:40 +0000)]
Added a comment

3 years agoAdded a comment
yarikoptic [Wed, 24 Aug 2022 18:35:25 +0000 (18:35 +0000)]
Added a comment

3 years agoAdded a comment
yarikoptic [Wed, 24 Aug 2022 18:32:53 +0000 (18:32 +0000)]
Added a comment

3 years agocomment
Joey Hess [Wed, 24 Aug 2022 17:28:43 +0000 (13:28 -0400)]
comment

3 years agocomment
Joey Hess [Wed, 24 Aug 2022 17:26:42 +0000 (13:26 -0400)]
comment

3 years agocomment
Joey Hess [Wed, 24 Aug 2022 17:17:56 +0000 (13:17 -0400)]
comment

3 years agocomment
Joey Hess [Wed, 24 Aug 2022 17:13:45 +0000 (13:13 -0400)]
comment

3 years agocomment
Joey Hess [Wed, 24 Aug 2022 17:05:15 +0000 (13:05 -0400)]
comment

3 years agoAdded a comment
yarikoptic [Wed, 24 Aug 2022 15:42:10 +0000 (15:42 +0000)]
Added a comment

3 years agoadded "reproducer"
yarikoptic [Wed, 24 Aug 2022 15:25:33 +0000 (15:25 +0000)]
added "reproducer"

3 years agorequest add --batch to be able to handle directories
yarikoptic [Wed, 24 Aug 2022 15:12:19 +0000 (15:12 +0000)]
request add --batch to be able to handle directories

3 years agoadded suggestion to add clean-up after a testremote failure
Ilya_Shlyakhter [Wed, 24 Aug 2022 14:52:36 +0000 (14:52 +0000)]
added suggestion to add clean-up after a testremote failure

3 years agoadded bug report about a cryptic error message when copying to S3
Ilya_Shlyakhter [Wed, 24 Aug 2022 14:47:16 +0000 (14:47 +0000)]
added bug report about a cryptic error message when copying to S3

3 years agoAdded a comment: imports and symlinks
Ilya_Shlyakhter [Mon, 22 Aug 2022 20:40:42 +0000 (20:40 +0000)]
Added a comment: imports and symlinks

3 years agoAdded a comment
DavidD [Mon, 22 Aug 2022 17:54:19 +0000 (17:54 +0000)]
Added a comment

3 years agoremove old closed bugs and todo items to speed up wiki updates and reduce size
Joey Hess [Mon, 22 Aug 2022 16:27:10 +0000 (12:27 -0400)]
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 2021.

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-2021 --pretty=oneline -- "$f")" -a -z "$(git log --since=01-01-2021 --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-2021 --pretty=oneline -- "$f")" -a -z "$(git log --since=01-01-2021 --pretty=oneline -- "$d")" ]; then git rm -- "./$f" ; git rm -rf "./$d"; fi; fi; done

3 years agoadd news item for git-annex 10.20220822
Joey Hess [Mon, 22 Aug 2022 16:08:24 +0000 (12:08 -0400)]
add news item for git-annex 10.20220822

3 years agoignore more cabal.project backup files
Joey Hess [Mon, 22 Aug 2022 16:03:27 +0000 (12:03 -0400)]
ignore more cabal.project backup files

3 years agoremove changelog entry about reverted stack.yaml change
Joey Hess [Mon, 22 Aug 2022 16:02:22 +0000 (12:02 -0400)]
remove changelog entry about reverted stack.yaml change

3 years agoprep release
Joey Hess [Mon, 22 Aug 2022 16:02:04 +0000 (12:02 -0400)]
prep release

3 years agoadd comment (and other old comment I forgot to add earlier)
Joey Hess [Mon, 22 Aug 2022 16:01:29 +0000 (12:01 -0400)]
add comment (and other old comment I forgot to add earlier)

3 years agocommet
Joey Hess [Mon, 22 Aug 2022 15:53:18 +0000 (11:53 -0400)]
commet

3 years agoMerge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Mon, 22 Aug 2022 15:50:21 +0000 (11:50 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com

3 years agoAdded a comment: adding checksums to WORM keys
Ilya_Shlyakhter [Sun, 21 Aug 2022 21:20:03 +0000 (21:20 +0000)]
Added a comment: adding checksums to WORM keys

3 years agoAdded a comment: addurl and authentication
Ilya_Shlyakhter [Sun, 21 Aug 2022 21:13:57 +0000 (21:13 +0000)]
Added a comment: addurl and authentication

3 years agoTypo fix unncessary -> unnecessary.
Yaroslav Halchenko [Fri, 19 Aug 2022 21:45:04 +0000 (17:45 -0400)]
Typo fix unncessary -> unnecessary.

Detected while reading recent CHANGELOG entry but then decided to apply
to entire codebase and docs since why not?

3 years agoAdded a comment: imports and symlinks
Ilya_Shlyakhter [Fri, 19 Aug 2022 20:19:50 +0000 (20:19 +0000)]
Added a comment: imports and symlinks

3 years agoAdded a comment
DavidD [Fri, 19 Aug 2022 20:07:49 +0000 (20:07 +0000)]
Added a comment

3 years agoAdded a comment
DavidD [Fri, 19 Aug 2022 19:42:55 +0000 (19:42 +0000)]
Added a comment

3 years agoMerge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Fri, 19 Aug 2022 17:45:19 +0000 (13:45 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com

3 years agoimport: Avoid following symbolic links inside directories being imported
Joey Hess [Fri, 19 Aug 2022 17:31:16 +0000 (13:31 -0400)]
import: Avoid following symbolic links inside directories being imported

Too big a footgun.

This does not prevent attackers who can write to the directory being
imported from racing the check. But they can cause anything to be imported
anyway, so would be limited to getting the legacy import to follow into a
directory they do not write to, and move files out of it into the annex.
(The directory special remote does not have that problem since it does not
move files.)

Sponsored-by: Jack Hill on Patreon
3 years agoAdded a comment: git-annex-import and symlinks
Ilya_Shlyakhter [Fri, 19 Aug 2022 17:18:37 +0000 (17:18 +0000)]
Added a comment: git-annex-import and symlinks

3 years agocomment
Joey Hess [Fri, 19 Aug 2022 17:06:38 +0000 (13:06 -0400)]
comment

3 years agocomment
Joey Hess [Fri, 19 Aug 2022 16:58:29 +0000 (12:58 -0400)]
comment