Commit graph

42283 commits

Author SHA1 Message Date
jgoerzen
764fa6e230 Added a comment 2022-09-05 18:29:31 +00:00
Joey Hess
bd7b760cf0
comment 2022-09-05 14:00:50 -04:00
Joey Hess
8a4cfd4f2d
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
2022-09-05 13:46:32 -04:00
Joey Hess
600d3f7141
Merge branch 'master' of ssh://git-annex.branchable.com 2022-09-05 13:20:44 -04:00
Joey Hess
ff0490c7c6
fix build 2022-09-05 13:20:23 -04:00
Joey Hess
61b60f9e46
update 2022-09-05 10:44:45 -04:00
Lukey
7dd6e38945 Added a comment 2022-09-05 09:35:18 +00:00
Lukey
6e99fbc2e5 Added a comment 2022-09-05 09:07:05 +00:00
jgoerzen
fa01f0bab9 Added a comment 2022-09-05 01:14:53 +00:00
jgoerzen
661f452dfa Added a comment 2022-09-05 01:01:59 +00:00
jgoerzen
3159a28f88 2022-09-05 00:59:39 +00:00
jgoerzen
e7de6fffc1 2022-09-05 00:17:03 +00:00
jgoerzen
47a5853da8 Added a comment 2022-09-04 22:31:14 +00:00
jgoerzen
95e4021c09 2022-09-04 13:12:55 +00:00
tomdhunt
241b275f63 2022-09-04 04:39:20 +00:00
jgoerzen
5fe6803375 2022-09-04 01:16:18 +00:00
jgoerzen
a4e9e656c9 Added a comment 2022-09-03 23:26:28 +00:00
jgoerzen
342336aad4 Added a comment 2022-09-03 22:45:42 +00:00
Lukey
217cfd91df Added a comment 2022-09-03 21:32:29 +00:00
jgoerzen
fee2445df0 2022-09-03 20:37:25 +00:00
jgoerzen
b36afc1367 2022-09-03 17:38:23 +00:00
jgoerzen
7785835363 2022-09-03 17:33:49 +00:00
jgoerzen
254c204da2 Added a comment: mtree can help 2022-09-03 17:30:58 +00:00
jgoerzen
3723922e49 2022-09-03 17:29:06 +00:00
Joey Hess
be2c8113b9
add NNCP special remote! 2022-09-02 16:55:36 -04:00
jkniiv
15e9feb1e9 Added a comment: I don't think there is one 2022-09-02 02:04:29 +00:00
yarikoptic
4241c64a8d question about external drive filesystem 2022-09-01 20:50:21 +00:00
yarikoptic
84eda42abe Added a comment: howto importfeed youtube playlists (not entire channels) 2022-09-01 19:26:20 +00:00
yarikoptic
4fd4865493 FTBFS report 2022-08-31 14:47:35 +00:00
yarikoptic
55252d1d4f Added a comment 2022-08-30 19:38:49 +00:00
Joey Hess
b7ff67d176
update 2022-08-30 15:22:06 -04:00
Joey Hess
e1dd689630
Merge branch 'master' of ssh://git-annex.branchable.com 2022-08-30 15:20:46 -04:00
Joey Hess
a93163d6f7
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
2022-08-30 15:20:04 -04:00
Joey Hess
345e60a623
comment 2022-08-30 13:36:53 -04:00
Joey Hess
22f492bea8
comment 2022-08-30 12:50:42 -04:00
DavidD
98e20eb579 Added a comment 2022-08-29 21:19:56 +00:00
yarikoptic
04689aa74d Added a comment 2022-08-29 20:46:12 +00:00
Joey Hess
78440ca37d
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
2022-08-29 15:23:49 -04:00
Joey Hess
6a168bb823
show when build with Benchmark build flag 2022-08-29 14:55:58 -04:00
Joey Hess
b99b1c530d
Merge branch 'master' of ssh://git-annex.branchable.com 2022-08-29 14:50:04 -04:00
Joey Hess
faefab5e65
add bug and update comment 2022-08-29 14:49:44 -04:00
Ilya_Shlyakhter
8df2e2dbd8 added suggestion for git-annex-import to import symlinks 2022-08-29 18:45:35 +00:00
Joey Hess
248cf6b151
Merge branch 'master' of ssh://git-annex.branchable.com 2022-08-29 14:25:39 -04:00
Joey Hess
4c080a20ac
comment 2022-08-29 14:25:30 -04:00
Ilya_Shlyakhter
a1efed2a9c Added a comment: testremote cleanup 2022-08-29 18:09:24 +00:00
Joey Hess
d4fd966396
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
2022-08-29 13:52:58 -04:00
Joey Hess
f184dca7de
comment 2022-08-29 13:38:42 -04:00
Joey Hess
f8524d6ecb
comment 2022-08-29 12:45:58 -04:00
Ilya_Shlyakhter
86e0e8fce1 Added a comment: testremote cleanup 2022-08-28 20:15:39 +00:00
Atemu
3cd2a075b9 Added a comment 2022-08-28 17:56:20 +00:00