Joey Hess [Wed, 18 Jan 2023 17:05:47 +0000 (13:05 -0400)]
comment
Joey Hess [Tue, 17 Jan 2023 18:42:29 +0000 (14:42 -0400)]
findkeys: New command, very similar to git-annex find but operating on keys
I've long been asked for `git-annex find --all` or something like that,
but pushed back on it because I feel that the command is analagous to
find(1) and so it would be surprising for it to list keys rather than
files. So instead, add a new findkeys subcommand.
Note that the use of withKeyOptions is rather strange because usually
that is used to fall back to --all rather than listing files, but here
it's made to default to --all like behavior and never list files.
A performance thing that could be improved is that withKeyOptions
always reads and caches location logs. But findkeys with no options does
not need them, so it could be made faster. That caching does speed up
options like --in though. This is really just a subset of a more general
performance thing that --all reads location logs sometimes unncessarily.
Anyway, it needs to read the location log in order to checkDead,
and it seems good that findkeys does skip dead keys.
Also, cleaned up comments on git-annex-find man page asking for --all
option.
Sponsored-by: Dartmouth College's DANDI project
Joey Hess [Tue, 17 Jan 2023 18:25:38 +0000 (14:25 -0400)]
fix misleading helper function name
noworktreeitems was false for NoWorkTreeItems which was hard to understand.
Sponsored-by: Dartmouth College's DANDI project
Joey Hess [Tue, 17 Jan 2023 17:10:28 +0000 (13:10 -0400)]
comment
Joey Hess [Tue, 17 Jan 2023 17:08:49 +0000 (13:08 -0400)]
comment
Added a comment: comment 1 response
yarikoptic [Mon, 16 Jan 2023 21:43:40 +0000 (21:43 +0000)]
Added a comment
yarikoptic [Mon, 16 Jan 2023 21:32:09 +0000 (21:32 +0000)]
Added a comment
yarikoptic [Mon, 16 Jan 2023 21:27:12 +0000 (21:27 +0000)]
Added a comment
Joey Hess [Mon, 16 Jan 2023 20:12:16 +0000 (16:12 -0400)]
comment
Joey Hess [Mon, 16 Jan 2023 19:53:14 +0000 (15:53 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Mon, 16 Jan 2023 19:52:52 +0000 (15:52 -0400)]
comment
yarikoptic [Mon, 16 Jan 2023 19:36:07 +0000 (19:36 +0000)]
initial report on difficulty moving frozen file
Joey Hess [Mon, 16 Jan 2023 19:26:21 +0000 (15:26 -0400)]
comment
Joey Hess [Mon, 16 Jan 2023 19:15:21 +0000 (15:15 -0400)]
comment
Joey Hess [Mon, 16 Jan 2023 19:13:00 +0000 (15:13 -0400)]
response
Joey Hess [Mon, 16 Jan 2023 19:07:46 +0000 (15:07 -0400)]
comment
Joey Hess [Mon, 16 Jan 2023 18:40:30 +0000 (14:40 -0400)]
close wontfix with submitter agreement
Joey Hess [Mon, 16 Jan 2023 18:37:44 +0000 (14:37 -0400)]
close as dup
Joey Hess [Mon, 16 Jan 2023 18:28:46 +0000 (14:28 -0400)]
comment
Joey Hess [Mon, 16 Jan 2023 18:16:13 +0000 (14:16 -0400)]
comment
Joey Hess [Mon, 16 Jan 2023 18:08:37 +0000 (14:08 -0400)]
close wontfix
Joey Hess [Mon, 16 Jan 2023 18:02:10 +0000 (14:02 -0400)]
close
Joey Hess [Mon, 16 Jan 2023 17:57:54 +0000 (13:57 -0400)]
close
Joey Hess [Mon, 16 Jan 2023 17:53:54 +0000 (13:53 -0400)]
close wontfix
Joey Hess [Mon, 16 Jan 2023 17:51:19 +0000 (13:51 -0400)]
comment
Joey Hess [Mon, 16 Jan 2023 17:45:24 +0000 (13:45 -0400)]
close this old todo
Joey Hess [Mon, 16 Jan 2023 17:36:08 +0000 (13:36 -0400)]
comment
Joey Hess [Mon, 16 Jan 2023 17:35:14 +0000 (13:35 -0400)]
respond and wontfix
Joey Hess [Mon, 16 Jan 2023 17:16:02 +0000 (13:16 -0400)]
comment
Joey Hess [Mon, 16 Jan 2023 16:58:32 +0000 (12:58 -0400)]
comment
yarikoptic [Thu, 12 Jan 2023 20:48:48 +0000 (20:48 +0000)]
Added a comment
Joey Hess [Thu, 12 Jan 2023 17:42:28 +0000 (13:42 -0400)]
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
Joey Hess [Thu, 12 Jan 2023 17:18:25 +0000 (13:18 -0400)]
remove a debug print and fix build
nobodyinperson [Thu, 12 Jan 2023 10:10:37 +0000 (10:10 +0000)]
Joey Hess [Tue, 10 Jan 2023 18:58:53 +0000 (14:58 -0400)]
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
Joey Hess [Tue, 10 Jan 2023 15:52:11 +0000 (11:52 -0400)]
comments
yarikoptic [Tue, 10 Jan 2023 13:17:30 +0000 (13:17 +0000)]
Added a comment: Concern
nobodyinperson [Tue, 10 Jan 2023 09:38:39 +0000 (09:38 +0000)]
Added a comment: {copy,move} with both --to and --from would be great!
yarikoptic [Mon, 9 Jan 2023 22:04:11 +0000 (22:04 +0000)]
Added a comment
yarikoptic [Mon, 9 Jan 2023 21:51:18 +0000 (21:51 +0000)]
initial report on copy --from --to
yarikoptic [Mon, 9 Jan 2023 21:36:44 +0000 (21:36 +0000)]
Added a comment: could be of help to DANDI
Joey Hess [Mon, 9 Jan 2023 21:16:53 +0000 (17:16 -0400)]
web: Add urlinclude and urlexclude configuration settings
Sponsored-by: Dartmouth College's DANDI project
Joey Hess [Mon, 9 Jan 2023 19:49:20 +0000 (15:49 -0400)]
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
Joey Hess [Mon, 9 Jan 2023 19:05:27 +0000 (15:05 -0400)]
general copyright year bump
Joey Hess [Sat, 7 Jan 2023 17:56:29 +0000 (13:56 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Sat, 7 Jan 2023 17:56:23 +0000 (13:56 -0400)]
update
Joey Hess [Sat, 7 Jan 2023 17:56:06 +0000 (13:56 -0400)]
update
Added a comment
satra [Fri, 6 Jan 2023 19:36:07 +0000 (19:36 +0000)]
Added a comment: use list order for cost
yarikoptic [Fri, 6 Jan 2023 17:27:34 +0000 (17:27 +0000)]
initial todo on prioritization of URLs
yarikoptic [Fri, 6 Jan 2023 14:21:36 +0000 (14:21 +0000)]
Added a comment: importtree readonly remote folder?
Joey Hess [Thu, 5 Jan 2023 19:09:30 +0000 (15:09 -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 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
Joey Hess [Thu, 5 Jan 2023 18:57:27 +0000 (14:57 -0400)]
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..
Joey Hess [Thu, 5 Jan 2023 18:50:26 +0000 (14:50 -0400)]
remove calendar
Noticed that ikiwiki -refresh is building devblog every time, and the
sidebar calendar seems a likely reason for that.
Joey Hess [Thu, 5 Jan 2023 18:48:11 +0000 (14:48 -0400)]
fix dandi and repronim bug lists after the move
see
47f5e50d4f81f123d66652ac69df056d207f45b1
Joey Hess [Thu, 5 Jan 2023 17:35:26 +0000 (13:35 -0400)]
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.
Joey Hess [Thu, 5 Jan 2023 17:30:24 +0000 (13:30 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Thu, 5 Jan 2023 17:16:15 +0000 (13:16 -0400)]
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
Added a comment
Added a comment
Joey Hess [Wed, 4 Jan 2023 21:34:29 +0000 (17:34 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Wed, 4 Jan 2023 21:33:29 +0000 (17:33 -0400)]
Revert "Removed the vendored git-lfs and the GitLfs build flag"
This reverts commit
efda8114040a56282b9985148e0050671800317d.
Turns out that datalad is building git-annex against debian bullseye.
https://github.com/datalad/git-annex/issues/149
yarikoptic [Wed, 4 Jan 2023 15:12:58 +0000 (15:12 +0000)]
adjust project to be repronim
Added a comment: Limitations on allowed characters in and length of URLs
Ilya_Shlyakhter [Tue, 3 Jan 2023 18:28:23 +0000 (18:28 +0000)]
Added a comment: re: Paths behind relative symlinks in repo
nobodyinperson [Mon, 2 Jan 2023 22:58:08 +0000 (22:58 +0000)]
Added a comment
nobodyinperson [Mon, 2 Jan 2023 22:48:19 +0000 (22:48 +0000)]
nobodyinperson [Mon, 2 Jan 2023 22:43:07 +0000 (22:43 +0000)]
nobodyinperson [Mon, 2 Jan 2023 21:58:26 +0000 (21:58 +0000)]
Added a comment
Joey Hess [Mon, 2 Jan 2023 19:58:47 +0000 (15:58 -0400)]
todo
Joey Hess [Mon, 2 Jan 2023 19:27:36 +0000 (15:27 -0400)]
comment
Joey Hess [Mon, 2 Jan 2023 19:08:24 +0000 (15:08 -0400)]
comment
Joey Hess [Mon, 2 Jan 2023 19:01:52 +0000 (15:01 -0400)]
comment
Joey Hess [Mon, 2 Jan 2023 16:36:10 +0000 (12:36 -0400)]
Joey Hess [Sun, 1 Jan 2023 22:11:09 +0000 (18:11 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Sun, 1 Jan 2023 22:10:35 +0000 (18:10 -0400)]
update for https://pypi.org/project/thunar-plugins/
acadx0@9d7ca00c5a85a700a7209ab4fc2505189ded1aa3 [Sun, 1 Jan 2023 16:49:38 +0000 (16:49 +0000)]
Added a comment: hmm
strmd [Sun, 1 Jan 2023 13:28:46 +0000 (13:28 +0000)]
Added a comment
acadx0@9d7ca00c5a85a700a7209ab4fc2505189ded1aa3 [Sun, 1 Jan 2023 04:01:41 +0000 (04:01 +0000)]
removed
acadx0@9d7ca00c5a85a700a7209ab4fc2505189ded1aa3 [Sun, 1 Jan 2023 04:00:54 +0000 (04:00 +0000)]
Added a comment: try 2
acadx0@9d7ca00c5a85a700a7209ab4fc2505189ded1aa3 [Sun, 1 Jan 2023 04:00:25 +0000 (04:00 +0000)]
Added a comment: try 2
acadx0@9d7ca00c5a85a700a7209ab4fc2505189ded1aa3 [Sat, 31 Dec 2022 17:48:07 +0000 (17:48 +0000)]
nobodyinperson [Thu, 29 Dec 2022 10:49:27 +0000 (10:49 +0000)]
Added a comment
yarikoptic [Wed, 28 Dec 2022 16:23:51 +0000 (16:23 +0000)]
reporting on need to create leading dir
Joey Hess [Tue, 27 Dec 2022 21:03:47 +0000 (17:03 -0400)]
comment
nobodyinperson [Tue, 27 Dec 2022 20:26:45 +0000 (20:26 +0000)]
Added a comment: Maybe add a very slow KDF first?
Joey Hess [Tue, 27 Dec 2022 17:48:53 +0000 (13:48 -0400)]
idea
Joey Hess [Mon, 26 Dec 2022 20:09:37 +0000 (16:09 -0400)]
moreinfo
Joey Hess [Mon, 26 Dec 2022 20:09:08 +0000 (16:09 -0400)]
moreinfo
Joey Hess [Mon, 26 Dec 2022 19:18:55 +0000 (15:18 -0400)]
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
Joey Hess [Mon, 26 Dec 2022 19:05:48 +0000 (15:05 -0400)]
close
Joey Hess [Mon, 26 Dec 2022 19:03:14 +0000 (15:03 -0400)]
fix link
Joey Hess [Mon, 26 Dec 2022 17:31:09 +0000 (13:31 -0400)]
close
Joey Hess [Mon, 26 Dec 2022 17:29:13 +0000 (13:29 -0400)]
close
Joey Hess [Mon, 26 Dec 2022 17:24:29 +0000 (13:24 -0400)]
comment
Joey Hess [Mon, 26 Dec 2022 17:13:52 +0000 (13:13 -0400)]
comment
Joey Hess [Mon, 26 Dec 2022 17:09:40 +0000 (13:09 -0400)]
code review
Joey Hess [Mon, 26 Dec 2022 16:42:45 +0000 (12:42 -0400)]
Removed the vendored git-lfs and the GitLfs build flag
AFAICS all git-annex builds are using the git-lfs library not the vendored
copy.
Debian stable does have a too old haskell-git-lfs package to be able to
build git-annex from source, but there is not currently a backport of a
recent git-annex to Debian stable. And if they update the backport at some
point, they should be able to backport the library too.
Sponsored-by: Svenne Krap on Patreon