Commit graph

32628 commits

Author SHA1 Message Date
Joey Hess
62dd19e391
comment 2023-01-16 14:28:46 -04:00
Joey Hess
086cb30eb1
comment 2023-01-16 14:16:13 -04:00
Joey Hess
f87c74566a
close wontfix 2023-01-16 14:08:37 -04:00
Joey Hess
7f39037e57
close 2023-01-16 14:02:10 -04:00
Joey Hess
4229e6761e
close 2023-01-16 13:57:54 -04:00
Joey Hess
817b06b439
close wontfix 2023-01-16 13:53:54 -04:00
Joey Hess
90e21c59a1
comment 2023-01-16 13:51:19 -04:00
Joey Hess
6156fe625d
close this old todo 2023-01-16 13:45:24 -04:00
Joey Hess
dcebf6851a
comment 2023-01-16 13:36:08 -04:00
Joey Hess
df5a3a6ca4
respond and wontfix 2023-01-16 13:35:14 -04:00
Joey Hess
8955a9c7d2
comment 2023-01-16 13:16:02 -04:00
Joey Hess
156842cff6
comment 2023-01-16 12:58:32 -04:00
yarikoptic
3b769d91dd Added a comment 2023-01-12 20:48:48 +00:00
Joey Hess
cfaae7e931
added an optional cost= configuration to all special remotes
Note that when this is specified and an older git-annex is used to
enableremote such a special remote, it will simply ignore the cost= field
and use whatever the default cost is.

In passing, fixed adb to support the remote.name.cost and
remote.name.cost-command configs.

Sponsored-by: Dartmouth College's DANDI project
2023-01-12 13:42:28 -04:00
nobodyinperson
8da345b1fb 2023-01-12 10:10:37 +00:00
Joey Hess
8a305e5fa3
respect urlinclude/urlexclude of other web special remotes
When a web special remote does not have urlinclude/urlexclude
configured, make it respect the configuration of other web special
remotes and avoid using urls that match the config of another.

Note that the other web special remote does not have to be enabled.
That seems ok, it would have been extra work to check for only ones that
are enabled.

The implementation does mean that the web special remote re-parses
its own config once at startup, as well as re-parsing the configs of any
other web special remotes. This should be a very small slowdown
unless there are lots of web special remotes.

Sponsored-by: Dartmouth College's DANDI project
2023-01-10 14:58:53 -04:00
Joey Hess
0fc476f16e
comments 2023-01-10 11:52:11 -04:00
yarikoptic
79be0eea2f Added a comment: Concern 2023-01-10 13:17:30 +00:00
nobodyinperson
4a13131ce7 Added a comment: {copy,move} with both --to and --from would be great! 2023-01-10 09:38:39 +00:00
yarikoptic
dfaccf0b21 Added a comment 2023-01-09 22:04:11 +00:00
yarikoptic
f33dda3e7a initial report on copy --from --to 2023-01-09 21:51:18 +00:00
yarikoptic
8ec6d4490f Added a comment: could be of help to DANDI 2023-01-09 21:36:44 +00:00
Joey Hess
6fa166e1fc
web: Add urlinclude and urlexclude configuration settings
Sponsored-by: Dartmouth College's DANDI project
2023-01-09 17:16:53 -04:00
Joey Hess
8d06930c88
web special remote is no longer a singleton
Allow initremote of additional special remotes with type=web, in addition
to the default web special remote.

When --sameas=web is used, these provide additional names for the web
special remote, and may also have their own additional configuration
(once there is any for the web special remote) and cost.

Sponsored-by: Dartmouth College's DANDI project
2023-01-09 15:49:20 -04:00
Joey Hess
5e8070bc3c
Merge branch 'master' of ssh://git-annex.branchable.com 2023-01-07 13:56:29 -04:00
Joey Hess
ea8728eca0
update 2023-01-07 13:56:23 -04:00
Joey Hess
3d8c52e76a
update 2023-01-07 13:56:06 -04:00
sb-beryllium@6e2c477eac63b823bd315ef8aaf5f93173c1f15b
31f500bab6 Added a comment 2023-01-07 13:05:24 +00:00
satra
a5d3328a6f Added a comment: use list order for cost 2023-01-06 19:36:07 +00:00
yarikoptic
c7aa99808c initial todo on prioritization of URLs 2023-01-06 17:27:34 +00:00
yarikoptic
975cb5edf1 Added a comment: importtree readonly remote folder? 2023-01-06 14:21:36 +00:00
Joey Hess
4d90053e17
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 2022.

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-2022 --pretty=oneline -- "$f")" -a -z "$(git log --since=01-01-2022 --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-2022 --pretty=oneline -- "$f")" -a -z "$(git log --since=01-01-2022 --pretty=oneline -- "$d")" ]; then git rm -- "./$f" ; git rm -rf "./$d"; fi; fi; done
2023-01-05 15:09:30 -04:00
Joey Hess
acdd5fbab6
move old closed bugs to datalad's bugs
These were not tagged datalad, but they did pay to get them fixed, and
it impacted them as seen in the bug reports..
2023-01-05 15:06:56 -04:00
Joey Hess
aab79dded8
remove calendar
Noticed that ikiwiki -refresh is building devblog every time, and the
sidebar calendar seems a likely reason for that.
2023-01-05 14:50:26 -04:00
Joey Hess
8e1b78b71b
fix dandi and repronim bug lists after the move
see 47f5e50d4f
2023-01-05 14:48:11 -04:00
Joey Hess
47f5e50d4f
fix the datalad bug list after bug move
The moved bugs that link to [[done]] were not matching because it wanted
that to link to bugs/done, but it was a broken link after rename. Adding
a stub datalad/done page to avoid the broken link, and adjusting the
pagespec so those are listed.
2023-01-05 13:35:26 -04:00
Joey Hess
cba7a2477c
Merge branch 'master' of ssh://git-annex.branchable.com 2023-01-05 13:30:24 -04:00
Joey Hess
bcc69f07e8
move old fixed datalad/dandi/repronim bugs to the project pages
This is to cut down on the number of files in bugs/, which makes it slow
to file new bug reports or update active bug reports. These old bugs
were about 1/3rd of the files in there. These projects want lists of
their old bugs to still be accessible, and have the lists on their
project pages, which will still list the old bugs.

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

That assumes that bugs are not tagged by multiple projects at the same
time. Of the ones I moved, I've checked and none are.

Could do the same with todo/ but there are only 370 files in there, and
less than 84 of them could be moved this way, which does not seem likely
to produce a sizeable speedup.

Sponsored-by: Dartmouth College's Datalad project
2023-01-05 13:16:15 -04:00
beryllium@5bc3c32eb8156390f96e363e4ba38976567425ec
45740d66cd Added a comment 2023-01-05 07:16:31 +00:00
beryllium@5bc3c32eb8156390f96e363e4ba38976567425ec
2f183e7b7c Added a comment 2023-01-05 06:49:00 +00:00
yarikoptic
cfaa57398d adjust project to be repronim 2023-01-04 15:12:58 +00:00
matthias.risze@9f2c8f7faed4cac1905d1bf1ee4524d708c13688
4822c7833e Added a comment: Limitations on allowed characters in and length of URLs 2023-01-04 11:56:35 +00:00
Ilya_Shlyakhter
f0e25cc412 Added a comment: re: Paths behind relative symlinks in repo 2023-01-03 18:28:23 +00:00
nobodyinperson
45e71edc17 Added a comment 2023-01-02 22:58:08 +00:00
nobodyinperson
6964b193f3 2023-01-02 22:48:19 +00:00
nobodyinperson
f5a536fe3b 2023-01-02 22:43:07 +00:00
nobodyinperson
6e2f35f77d Added a comment 2023-01-02 21:58:26 +00:00
Joey Hess
adb122adcf
todo 2023-01-02 15:58:47 -04:00
Joey Hess
1aaf702d66
comment 2023-01-02 15:27:36 -04:00
Joey Hess
c326e5100f
comment 2023-01-02 15:08:24 -04:00
Joey Hess
599758e0d3
comment 2023-01-02 15:01:52 -04:00
Joey Hess
9ce6309e4a
Merge branch 'master' of ssh://git-annex.branchable.com 2023-01-01 18:11:09 -04:00
Joey Hess
6016844372
update for https://pypi.org/project/thunar-plugins/ 2023-01-01 18:10:35 -04:00
acadx0@9d7ca00c5a85a700a7209ab4fc2505189ded1aa3
100d7eab67 Added a comment: hmm 2023-01-01 16:49:38 +00:00
strmd
7137f0571b Added a comment 2023-01-01 13:28:46 +00:00
acadx0@9d7ca00c5a85a700a7209ab4fc2505189ded1aa3
6e28e0ee5d removed 2023-01-01 04:01:41 +00:00
acadx0@9d7ca00c5a85a700a7209ab4fc2505189ded1aa3
111ae34009 Added a comment: try 2 2023-01-01 04:00:54 +00:00
acadx0@9d7ca00c5a85a700a7209ab4fc2505189ded1aa3
73fc402f4f Added a comment: try 2 2023-01-01 04:00:25 +00:00
acadx0@9d7ca00c5a85a700a7209ab4fc2505189ded1aa3
81d25083b9 2022-12-31 17:48:07 +00:00
nobodyinperson
2c40c30dd0 Added a comment 2022-12-29 10:49:27 +00:00
yarikoptic
e08d333560 reporting on need to create leading dir 2022-12-28 16:23:51 +00:00
tiny.bell9228@b8988087df4fe0446bb6874c40ae9f8bc87ce984
3289521e6c 2022-12-28 02:58:21 +00:00
Joey Hess
0b76a32629
comment 2022-12-27 17:03:47 -04:00
nobodyinperson
c14e15fd1a Added a comment: Maybe add a very slow KDF first? 2022-12-27 20:26:45 +00:00
Joey Hess
0be6cad7a8
idea 2022-12-27 13:48:53 -04:00
Joey Hess
79031223fd
moreinfo 2022-12-26 16:09:37 -04:00
Joey Hess
baec2ef928
moreinfo 2022-12-26 16:09:08 -04:00
Joey Hess
cf892f4256
use insert_ for speed improvement
persistent-2.14.4.1 makes insert_ faster than insert because it skips
getting the key back.

Sponsored-by: Dartmouth College's DANDI project
2022-12-26 15:59:41 -04:00
Joey Hess
aa041596f5
close 2022-12-26 15:05:48 -04:00
Joey Hess
c1821435ac
fix link 2022-12-26 15:03:14 -04:00
Joey Hess
65ddd13cf7
close 2022-12-26 13:31:09 -04:00
Joey Hess
1b08af821b
close 2022-12-26 13:29:13 -04:00
Joey Hess
04f7e2aea3
comment 2022-12-26 13:24:29 -04:00
Joey Hess
b3f94bd657
comment 2022-12-26 13:13:52 -04:00
Joey Hess
53a40ca40f
code review 2022-12-26 13:09:40 -04:00
Joey Hess
b813b132da
fix typo 2022-12-26 12:36:56 -04:00
nobodyinperson
82ae848dd0 Added a comment 2022-12-23 10:05:27 +00:00
nobodyinperson
8ec93b6e2f Added a comment 2022-12-23 09:39:58 +00:00
alvseth
29176f131c Added a comment: re: re: the difference between encryption and gcrypt 2022-12-22 23:22:33 +00:00
Ilya_Shlyakhter
f2fc4cd61a Added a comment: re: the difference between encryption and gcrypt 2022-12-22 19:58:40 +00:00
Joey Hess
e0c4c26d65
analysis 2022-12-22 15:34:36 -04:00
Joey Hess
d475f82c62
Added libgcc_s.so.1 to the linux standalone build so pthread_cancel will work
In Makefile, listed additional deps of Build/Standalone. Without that,
it does not get updated for the change to Utility/LinuxMkLibs.hs when
compiling incrementally.

Sponsored-by: Dartmouth College's DANDI project
2022-12-22 15:15:25 -04:00
Joey Hess
bda406ff90
Merge branch 'master' of ssh://git-annex.branchable.com 2022-12-22 14:34:16 -04:00
Joey Hess
2fa7656627
switch to readMaybe to handle values with leading number followed by non-number
readish ignores a trailing string after a number, but to support values
like "YYYY:MM:DD" which it makes sense to compare lexographically,
require the whole string to be parsed as a number in order to enable
numeric comparison.

Sponsored-by: Max Thoursie on Patreon
2022-12-22 14:33:47 -04:00
nobodyinperson
11873d00cd Added a comment 2022-12-22 11:39:41 +00:00
alvseth
ac6ccb5137 making links clickable 2022-12-21 19:48:32 +00:00
alvseth
bb41790fc1 2022-12-21 19:47:18 +00:00
nobodyinperson
14b0391d22 Added a comment 2022-12-21 19:26:02 +00:00
yarikoptic
6cb85be1e7 initial report on odd crash 2022-12-21 18:34:06 +00:00
nobodyinperson
6dcb7b8815 Added a comment: When a weird 'no space left on device' error appears 2022-12-21 16:46:44 +00:00
nobodyinperson
48c3657a04 Added a comment 2022-12-21 09:32:58 +00:00
Joey Hess
eb8e0594bb
use status --ignore-submodules in configureSmudgeFilter
Speed up git-annex upgrade (from v5) and init in a repository that has
submodules. Setting the config does not affect the submodules, so avoid
the work of getting status in them, which may involve using the smudge
filter etc.

Sponsored-By: the NIH-funded NICEMAN (ReproNim TR&D3) project
2022-12-20 16:02:42 -04:00
Joey Hess
0b2dd374d8
--anything and --nothing
Added --anything (and --nothing). Eg, git-annex find --anything will list
all annexed files whether or not the content is present. This is slightly
faster and clearer than --include=* or --exclude=*

While I can't imagine how --nothing will be used, preferred content
expressions already had anything and nothing, so might as well support both
as matching options as well.

Sponsored-by: Dartmouth College's Datalad project
2022-12-20 15:44:09 -04:00
Joey Hess
9d60385001
convert renameFile to moveFile to support cross-device moves
Improve handling of some .git/annex/ subdirectories being on other
filesystems, in the bittorrent special remote, and youtube-dl integration,
and git-annex addurl.

The only one of these that I've confirmed to be a problem is in the
bittorrent special remote when .git/annex/tmp and .git/annex/othertmp are
on different filesystems.

As well as auditing for renameFile, also audited for createLink, all of
those are ok as are the other remaining renameFile calls. Also audited all
code paths that use .git/annex/othertmp, and did not find any other
cross-device problems. So, removing mention of othertmp needing to be on
the same device.

Sponsored-by: Dartmouth College's Datalad project
2022-12-20 15:17:50 -04:00
Joey Hess
5cbfb74391
belatedly added comment made somewhat earlier 2022-12-20 15:02:09 -04:00
Joey Hess
51e6294d15
comment 2022-12-20 14:30:18 -04:00
edef
654863027f bugs/blake3_hash_support: reroll patch, add comment 2022-12-16 14:52:25 +00:00
edef
94329160f3 bugs/blake3_hash_support: reroll patch with _256 suffix 2022-12-16 13:49:22 +00:00
https://christian.amsuess.com/chrysn
55aaa6e614 Added a comment: Shared git repos 2022-12-15 13:36:59 +00:00
https://christian.amsuess.com/chrysn
ee8fe1426e Added a comment: worktrees vs. bare repositories 2022-12-15 13:33:23 +00:00
yarikoptic
d3532ebe2b initial TODO for making it possible to use find/findref without penalty 2022-12-15 01:24:55 +00:00
yarikoptic
875aec935e Added a comment 2022-12-14 19:39:38 +00:00
nobodyinperson
d8a64611c4 2022-12-13 16:16:49 +00:00
yarikoptic
572aa58a50 Added a comment: why othertmp to be on the same file system? 2022-12-13 14:15:28 +00:00
yarikoptic
2e62601db3 fixing formatting 2022-12-12 23:11:21 +00:00
yarikoptic
e1133e9de8 initial report on annex upgrade too curious about submodules 2022-12-12 23:03:33 +00:00
yarikoptic
0865e79490 initial report on nfs test keeps failing 2022-12-12 21:23:09 +00:00
Joey Hess
aa6919737c
--metadata lexicographical comparisons
Change --metadata comparisons < > <= and >= to fall back to lexicographical
comparisons when one or both values being compared are not numbers.

Sponsored-by: Erik Bjäreholt on Patreon
2022-12-12 13:33:24 -04:00
Joey Hess
69499b4452
add news item for git-annex 10.20221212 2022-12-12 12:52:20 -04:00
Joey Hess
fd5f082fbc
comment 2022-12-12 12:29:32 -04:00
ah.nikfal@ad3e37b2c18d5aea546f662a0ba95796d0ef33ed
4c291fafb4 Added a comment: xxHash as the backend 2022-12-12 08:21:35 +00:00
Ilya_Shlyakhter
56f824d219 Added a comment: blake3 enhancement 2022-12-11 19:25:27 +00:00
Ilya_Shlyakhter
c52a87858b Added a comment: installing custom backend scripts 2022-12-11 19:22:17 +00:00
Joey Hess
912095faa8
Merge branch 'master' of ssh://git-annex.branchable.com 2022-12-10 22:27:01 -04:00
Joey Hess
5aad1e1f82
fix confirmed finally 2022-12-10 22:26:44 -04:00
Joey Hess
e29bc2b7d7
comment 2022-12-09 12:18:37 -04:00
ah.nikfal@ad3e37b2c18d5aea546f662a0ba95796d0ef33ed
921447a8ed Added a comment: How to use git-annex-backend-XFOO 2022-12-09 12:58:57 +00:00
Joey Hess
65f9e7a3c7
fix deadlock in restagePointerFiles
Fix a hang that occasionally occurred during commands such as move.
(A bug introduced in 10.20220927, in
commit 6a3bd283b8)

The restage.log was kept locked while running a complex index refresh
action. In an unusual situation, that action could need to write to the
restage log, which caused a deadlock.

The solution is a two-stage process. First the restage.log is moved to a
work file, which is done with the lock held. Then the content of the work
file is read and processed, which happens without the lock being held.
This is all done in a crash-safe manner.

Note that streamRestageLog may not be fully safe to run concurrently
with itself. That's ok, because restagePointerFiles uses it with the
index lock held, so only one can be run at a time.

streamRestageLog does delete the restage.old file at the end without
locking. If a calcRestageLog is run concurrently, it will either see the
file content before it was deleted, or will see it's missing. Either is
ok, because at most this will cause calcRestageLog to report more
work remains to be done than there is.

Sponsored-by: Dartmouth College's Datalad project
2022-12-08 14:36:11 -04:00
Joey Hess
a7554f1a6a
analysis 2022-12-07 17:36:01 -04:00
Joey Hess
56699a7747
comment 2022-12-07 14:30:33 -04:00
Joey Hess
ac77aa40e7
speed up --pattern
The splitting of the tests into parts for parallelism made --pattern
do extra work, because init tests have to be run for each part, but
many of the parts are empty.

For example, git-annex test --pattern '/move (ssh remote)/'
took 12 seconds to run before. This improves the runtime to 4 seconds.

Sponsored-by: Dartmouth College's Datalad project
2022-12-07 13:51:22 -04:00
Joey Hess
b7ba6dfe48
comment 2022-12-07 13:00:29 -04:00
Joey Hess
8c89057006
comment 2022-12-07 12:36:58 -04:00
Joey Hess
114f58fc2a
Merge branch 'master' of ssh://git-annex.branchable.com 2022-12-07 12:32:39 -04:00
dckc@4f72e5f6436280fd19a91a9805af71b9921a4f9b
afa29c63c8 2022-12-07 14:46:39 +00:00
dckc@4f72e5f6436280fd19a91a9805af71b9921a4f9b
4316de0f7c line breaks 2022-12-07 14:45:36 +00:00
dckc@4f72e5f6436280fd19a91a9805af71b9921a4f9b
e9d200e2b3 introduce myself 2022-12-07 14:43:00 +00:00
dckc@4f72e5f6436280fd19a91a9805af71b9921a4f9b
815db25181 Added a comment: keep me posted by email please 2022-12-07 14:40:52 +00:00
dckc@4f72e5f6436280fd19a91a9805af71b9921a4f9b
3aeb15c18b 2022-12-07 14:39:29 +00:00
nobodyinperson
35df3978dd 2022-12-06 06:52:34 +00:00
Joey Hess
29f36923b4
update 2022-12-05 19:42:14 -04:00
yarikoptic
30d8056c26 Added a comment 2022-12-05 18:08:03 +00:00
Joey Hess
45f9c66b63
comment 2022-12-05 13:54:18 -04:00
Joey Hess
6eb0943d95
Merge branch 'master' of ssh://git-annex.branchable.com 2022-12-05 13:48:40 -04:00
Joey Hess
dddf7c7daa
comment 2022-12-05 13:30:05 -04:00
kanak@3c4f6e7d832d88751c617b25bdbac896417eb93b
31fc11771d Added a comment 2022-12-04 17:40:38 +00:00
kanak@3c4f6e7d832d88751c617b25bdbac896417eb93b
342da53d2d 2022-12-04 17:35:45 +00:00
edef
c732dc9c42 bugs/blake3_hash_support: *not* familiar enough, oops 2022-12-02 12:58:58 +00:00
edef
69dd3dcc89 submit BLAKE3 patch 2022-12-02 12:57:48 +00:00
nobodyinperson
ea0a8f5551 2022-12-02 12:00:35 +00:00
nobodyinperson
c0df47c6ac 2022-12-02 11:57:40 +00:00
nobodyinperson
ae9ef1f8fe 2022-12-02 11:56:02 +00:00
agschaid
f2ebea0795 Added a comment 2022-12-01 21:12:11 +00:00
Lukey
57c03927b8 Added a comment 2022-12-01 20:49:36 +00:00
agschaid
15e58a0f74 2022-12-01 17:48:44 +00:00
nobodyinperson
84ab6a67a2 add removal of metadata fields 2022-12-01 12:57:05 +00:00
nobodyinperson
1e333b3493 2022-11-30 16:18:36 +00:00
yarikoptic
4f4234797e Added a comment 2022-11-29 22:25:43 +00:00
Joey Hess
184b8e70d3
comment 2022-11-29 17:58:59 -04:00
cnjr2
c900f3c1b5 Added a comment 2022-11-29 16:53:39 +00:00
cnjr2
a92a07b03e Added a comment: found related bug 2022-11-29 16:51:44 +00:00
Joey Hess
c29e2ed916
comment 2022-11-29 12:49:09 -04:00
Joey Hess
e7e7007e0c
explanss and close 2022-11-29 12:46:59 -04:00
cnjr2
3edc86ffe1 2022-11-29 12:29:42 +00:00
Spellbind8200
1a57eff87e Added a comment: Found unlock 2022-11-29 09:05:43 +00:00
Spellbind8200
e50b9608b8 2022-11-29 02:18:38 +00:00
Joey Hess
2b5e6ff20a
test: Add --test-debug option
This work is supported by the NIH-funded NICEMAN (ReproNim TR&D3) project.
2022-11-28 15:12:53 -04:00
Joey Hess
022c14ec02
comment 2022-11-28 14:07:35 -04:00
beryllium@5bc3c32eb8156390f96e363e4ba38976567425ec
85ea582e2b 2022-11-24 07:11:26 +00:00
yarikoptic
e140b36fd5 initial report on stalled test 2022-11-23 03:15:51 +00:00
Joey Hess
4ae920e0f2
close dup with comment 2022-11-21 15:13:21 -04:00
Joey Hess
e371ccd3e9
Merge branch 'master' of ssh://git-annex.branchable.com 2022-11-21 15:10:03 -04:00
Joey Hess
5256be61c1
When youtube-dl is not available in PATH, use yt-dlp instead
Debian is going to drop youtube-dl which is not active upstream, and yt-dlp
is the replacement. This will make it be used if youtube-dl gets removed.

If an old version of youtube-dl remains installed, git-annex will still use
it. That might not be desirable, but changing git-annex to use yt-dlp in
preference to youtube-dl when both are installed risks breaking when
the user has annex.youtube-dl-options set to something that is supported
by youtube-dl, but not by yt-dlp.

Sponsored-by: Boyd Stephen Smith Jr. on Patreon
2022-11-21 14:40:33 -04:00
lena.wildervanck@4b6aac156870f72a36b090e210e4747f702b69cb
06793aee26 Add my name for better comunication 2022-11-18 22:05:07 +00:00
lena.wildervanck@4b6aac156870f72a36b090e210e4747f702b69cb
58eedf062d Add another reflink support request 2022-11-18 22:02:20 +00:00
Joey Hess
63b33d4181
update 2022-11-18 16:23:20 -04:00
Joey Hess
3e20daccdd
more benchmarking work 2022-11-18 15:54:06 -04:00
Joey Hess
2b014f1a8b
don't frontload reconcileStaged in git-annex init
init: Avoid scanning for annexed files, which can be lengthy in a
large repository. Instead that scan is done on demand. This lets git-annex
init be run and some query commands be used in a repository without
waiting.

Note that autoinit already behaved this way, so while this will mean some
commands like git-annex get/unlock/add will do the scan the first time run,
that is not really a significant behavior change.

And, it's really better to have a consistent behavior. The reason for
the inconsistency was a strange bug discussed in
b3c4579c79. Avoiding reconcileStaged in
init will keep avoiding whatever that was.

Sponsored-by: Dartmouth College's DANDI project
2022-11-18 13:58:47 -04:00
Joey Hess
c834d2025a
queue more changes to keys db
Increasing the size of the queue 10x makes git-annex init 7% faster in a
repository with 86000 annexed files.

The memory use goes up, from 70876 kb to 85376 kb.
2022-11-18 13:29:34 -04:00
Joey Hess
8fcee4ac9d
Sped up the initial scanning for annexed files by 15%
Avoids database querying overhead when the database is newly created.

In the large repository where git-annex init took 24 seconds, this sped it
up to 20.47 seconds, a speedup of around 15%.

Sponsored-by: Dartmouth College's DANDI project
2022-11-18 13:16:57 -04:00
Joey Hess
814bb3a270
profiling and performance 2022-11-17 16:47:51 -04:00
Joey Hess
9313bf0eac
close as git-annex already makes reflinks when supported 2022-11-14 13:29:27 -04:00
Joey Hess
3e55ddd172
comment 2022-11-14 13:24:30 -04:00
Joey Hess
fea7064415
comment 2022-11-14 13:09:10 -04:00
Joey Hess
4abbb01843
document that sync --cleanup only deletes branches 2022-11-14 13:00:22 -04:00
Joey Hess
f9780bd4d5
comment 2022-11-14 12:59:57 -04:00
Lena Wildervanck
a140e16fb6 add macos reflink to comment 2022-11-13 20:20:03 +01:00
lena.wildervanck@4b6aac156870f72a36b090e210e4747f702b69cb
896a299a34 Added a comment 2022-11-13 19:03:49 +00:00
lena.wildervanck@4b6aac156870f72a36b090e210e4747f702b69cb
092b118099 2022-11-13 15:42:14 +00:00
pat
b7aa9d093a Added a comment 2022-11-12 02:50:07 +00:00
pat
cead5982c1 2022-11-12 02:14:44 +00:00
pat
038bf11548 2022-11-11 22:46:11 +00:00
amindfv@97236fbaab6048ce6805b2737b27dd7f1cd51da4
40a78ece12 Added a comment 2022-11-10 21:29:33 +00:00
amindfv@97236fbaab6048ce6805b2737b27dd7f1cd51da4
6eefff32c0 2022-11-10 08:50:41 +00:00
Joey Hess
a91bf72684
Merge branch 'master' of ssh://git-annex.branchable.com 2022-11-09 16:29:16 -04:00
Joey Hess
b2cc63d5bf
export: fix multi-file delete bug
export: Fix a bug that left a file on a special remote when two files with
the same content were both deleted in the exported tree.

Case of the wrong data structure leading to the wrong result.
The DiffMap now contains all the old filenames, and all the new filenames.

Note that, when 2 files with the same content are both renamed,
it only renames the first, but deletes and re-exports the second.
Improving that is possible, but it would need to use a different temporary
filename. Anyway, that is an unusual case, and there are known to be other
unusual cases where export does not rename with maximum efficiency, IIRC.
(Or maybe this is the case that I remember?)

Sponsored-by: Dartmouth College's OpenNeuro project
2022-11-09 16:24:37 -04:00
nell@7201fe78ade251118ef3441f4e509b37cd836503
ca0c62f289 Added a comment 2022-11-09 19:51:20 +00:00
Joey Hess
56d563577f
analysis 2022-11-09 15:46:14 -04:00
Joey Hess
cdbee87a05
comment and retitle 2022-11-09 15:18:28 -04:00
Joey Hess
94ee608b2e
comment 2022-11-09 15:14:28 -04:00
Joey Hess
5409b0c5c4
close 2022-11-09 14:32:14 -04:00
nell@7201fe78ade251118ef3441f4e509b37cd836503
a219d24c8c Adding S3 special remote export bug report 2022-11-08 22:37:14 +00:00
jkniiv
9414eb0745 report on troubles with aws-0.23 and stack builds 2022-11-08 11:36:21 +00:00
Joey Hess
4f6c6114fb
avoid splitting repo tests into too small parts around -J16
The initTests have to be run once per part, and a point of diminishing
returns can be reached where more work is being done to set up for 1 or
2 tests than to run them.

This is better than a hard cap of -J8 or so, because it lets other
things than these particular tests still be parallelized at -J16.

Sponsored-by: Dartmouth College's Datalad project
2022-11-07 14:44:51 -04:00
Joey Hess
5e6cb47bd8
coment 2022-11-07 14:28:55 -04:00
Joey Hess
38e67e169d
followup 2022-11-07 12:26:04 -04:00
yarikoptic
7698e25f6f initial report on stalling test 2022-11-07 14:31:55 +00:00
xloem
8b5b078df3 2022-11-07 10:33:22 +00:00
Joey Hess
ad7dfdb37f
Merge branch 'master' of ssh://git-annex.branchable.com 2022-11-04 16:21:20 -04:00
Joey Hess
e03cf52504
done 2022-11-04 16:20:51 -04:00