git-annex.git
3 years agocomment
Joey Hess [Wed, 18 Jan 2023 17:05:47 +0000 (13:05 -0400)]
comment

3 years agofindkeys: New command, very similar to git-annex find but operating on keys
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
3 years agofix misleading helper function name
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
3 years agocomment
Joey Hess [Tue, 17 Jan 2023 17:10:28 +0000 (13:10 -0400)]
comment

3 years agocomment
Joey Hess [Tue, 17 Jan 2023 17:08:49 +0000 (13:08 -0400)]
comment

3 years agoAdded a comment: comment 1 response
daven.quinn@d0ed4e0e5e4462d9a74a5d5a8fbd1b17f85db13e [Mon, 16 Jan 2023 21:45:35 +0000 (21:45 +0000)]
Added a comment: comment 1 response

3 years agoAdded a comment
yarikoptic [Mon, 16 Jan 2023 21:43:40 +0000 (21:43 +0000)]
Added a comment

3 years agoAdded a comment
yarikoptic [Mon, 16 Jan 2023 21:32:09 +0000 (21:32 +0000)]
Added a comment

3 years agoAdded a comment
yarikoptic [Mon, 16 Jan 2023 21:27:12 +0000 (21:27 +0000)]
Added a comment

3 years agocomment
Joey Hess [Mon, 16 Jan 2023 20:12:16 +0000 (16:12 -0400)]
comment

3 years agoMerge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Mon, 16 Jan 2023 19:53:14 +0000 (15:53 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com

3 years agocomment
Joey Hess [Mon, 16 Jan 2023 19:52:52 +0000 (15:52 -0400)]
comment

3 years agoinitial report on difficulty moving frozen file
yarikoptic [Mon, 16 Jan 2023 19:36:07 +0000 (19:36 +0000)]
initial report on difficulty moving frozen file

3 years agocomment
Joey Hess [Mon, 16 Jan 2023 19:26:21 +0000 (15:26 -0400)]
comment

3 years agocomment
Joey Hess [Mon, 16 Jan 2023 19:15:21 +0000 (15:15 -0400)]
comment

3 years agoresponse
Joey Hess [Mon, 16 Jan 2023 19:13:00 +0000 (15:13 -0400)]
response

3 years agocomment
Joey Hess [Mon, 16 Jan 2023 19:07:46 +0000 (15:07 -0400)]
comment

3 years agoclose wontfix with submitter agreement
Joey Hess [Mon, 16 Jan 2023 18:40:30 +0000 (14:40 -0400)]
close wontfix with submitter agreement

3 years agoclose as dup
Joey Hess [Mon, 16 Jan 2023 18:37:44 +0000 (14:37 -0400)]
close as dup

3 years agocomment
Joey Hess [Mon, 16 Jan 2023 18:28:46 +0000 (14:28 -0400)]
comment

3 years agocomment
Joey Hess [Mon, 16 Jan 2023 18:16:13 +0000 (14:16 -0400)]
comment

3 years agoclose wontfix
Joey Hess [Mon, 16 Jan 2023 18:08:37 +0000 (14:08 -0400)]
close wontfix

3 years agoclose
Joey Hess [Mon, 16 Jan 2023 18:02:10 +0000 (14:02 -0400)]
close

3 years agoclose
Joey Hess [Mon, 16 Jan 2023 17:57:54 +0000 (13:57 -0400)]
close

3 years agoclose wontfix
Joey Hess [Mon, 16 Jan 2023 17:53:54 +0000 (13:53 -0400)]
close wontfix

3 years agocomment
Joey Hess [Mon, 16 Jan 2023 17:51:19 +0000 (13:51 -0400)]
comment

3 years agoclose this old todo
Joey Hess [Mon, 16 Jan 2023 17:45:24 +0000 (13:45 -0400)]
close this old todo

3 years agocomment
Joey Hess [Mon, 16 Jan 2023 17:36:08 +0000 (13:36 -0400)]
comment

3 years agorespond and wontfix
Joey Hess [Mon, 16 Jan 2023 17:35:14 +0000 (13:35 -0400)]
respond and wontfix

3 years agocomment
Joey Hess [Mon, 16 Jan 2023 17:16:02 +0000 (13:16 -0400)]
comment

3 years agocomment
Joey Hess [Mon, 16 Jan 2023 16:58:32 +0000 (12:58 -0400)]
comment

3 years agoAdded a comment
yarikoptic [Thu, 12 Jan 2023 20:48:48 +0000 (20:48 +0000)]
Added a comment

3 years agoadded an optional cost= configuration to all special remotes
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
3 years agoremove a debug print and fix build
Joey Hess [Thu, 12 Jan 2023 17:18:25 +0000 (13:18 -0400)]
remove a debug print and fix build

3 years ago(no commit message)
nobodyinperson [Thu, 12 Jan 2023 10:10:37 +0000 (10:10 +0000)]

3 years agorespect urlinclude/urlexclude of other web special remotes
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
3 years agocomments
Joey Hess [Tue, 10 Jan 2023 15:52:11 +0000 (11:52 -0400)]
comments

3 years agoAdded a comment: Concern
yarikoptic [Tue, 10 Jan 2023 13:17:30 +0000 (13:17 +0000)]
Added a comment: Concern

3 years agoAdded a comment: {copy,move} with both --to and --from would be great!
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!

3 years agoAdded a comment
yarikoptic [Mon, 9 Jan 2023 22:04:11 +0000 (22:04 +0000)]
Added a comment

3 years agoinitial report on copy --from --to
yarikoptic [Mon, 9 Jan 2023 21:51:18 +0000 (21:51 +0000)]
initial report on copy --from --to

3 years agoAdded a comment: could be of help to DANDI
yarikoptic [Mon, 9 Jan 2023 21:36:44 +0000 (21:36 +0000)]
Added a comment: could be of help to DANDI

3 years agoweb: Add urlinclude and urlexclude configuration settings
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
3 years agoweb special remote is no longer a singleton
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
3 years agogeneral copyright year bump
Joey Hess [Mon, 9 Jan 2023 19:05:27 +0000 (15:05 -0400)]
general copyright year bump

3 years agoMerge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Sat, 7 Jan 2023 17:56:29 +0000 (13:56 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com

3 years agoupdate
Joey Hess [Sat, 7 Jan 2023 17:56:23 +0000 (13:56 -0400)]
update

3 years agoupdate
Joey Hess [Sat, 7 Jan 2023 17:56:06 +0000 (13:56 -0400)]
update

3 years agoAdded a comment
sb-beryllium@6e2c477eac63b823bd315ef8aaf5f93173c1f15b [Sat, 7 Jan 2023 13:05:24 +0000 (13:05 +0000)]
Added a comment

3 years agoAdded a comment: use list order for cost
satra [Fri, 6 Jan 2023 19:36:07 +0000 (19:36 +0000)]
Added a comment: use list order for cost

3 years agoinitial todo on prioritization of URLs
yarikoptic [Fri, 6 Jan 2023 17:27:34 +0000 (17:27 +0000)]
initial todo on prioritization of URLs

3 years agoAdded a comment: importtree readonly remote folder?
yarikoptic [Fri, 6 Jan 2023 14:21:36 +0000 (14:21 +0000)]
Added a comment: importtree readonly remote folder?

3 years agoremove old closed bugs and todo items to speed up wiki updates and reduce size
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

3 years agomove old closed bugs to datalad's bugs
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..

3 years agoremove calendar
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.

3 years agofix dandi and repronim bug lists after the move
Joey Hess [Thu, 5 Jan 2023 18:48:11 +0000 (14:48 -0400)]
fix dandi and repronim bug lists after the move

see 47f5e50d4f81f123d66652ac69df056d207f45b1

3 years agofix the datalad bug list after bug move
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.

3 years agoMerge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Thu, 5 Jan 2023 17:30:24 +0000 (13:30 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com

3 years agomove old fixed datalad/dandi/repronim bugs to the project pages
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
3 years agoAdded a comment
beryllium@5bc3c32eb8156390f96e363e4ba38976567425ec [Thu, 5 Jan 2023 07:16:31 +0000 (07:16 +0000)]
Added a comment

3 years agoAdded a comment
beryllium@5bc3c32eb8156390f96e363e4ba38976567425ec [Thu, 5 Jan 2023 06:49:00 +0000 (06:49 +0000)]
Added a comment

3 years agoMerge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Wed, 4 Jan 2023 21:34:29 +0000 (17:34 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com

3 years agoRevert "Removed the vendored git-lfs and the GitLfs build flag"
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

3 years agoadjust project to be repronim
yarikoptic [Wed, 4 Jan 2023 15:12:58 +0000 (15:12 +0000)]
adjust project to be repronim

3 years agoAdded a comment: Limitations on allowed characters in and length of URLs
matthias.risze@9f2c8f7faed4cac1905d1bf1ee4524d708c13688 [Wed, 4 Jan 2023 11:56:35 +0000 (11:56 +0000)]
Added a comment: Limitations on allowed characters in and length of URLs

3 years agoAdded a comment: re: Paths behind relative symlinks in repo
Ilya_Shlyakhter [Tue, 3 Jan 2023 18:28:23 +0000 (18:28 +0000)]
Added a comment: re: Paths behind relative symlinks in repo

3 years agoAdded a comment
nobodyinperson [Mon, 2 Jan 2023 22:58:08 +0000 (22:58 +0000)]
Added a comment

3 years ago(no commit message)
nobodyinperson [Mon, 2 Jan 2023 22:48:19 +0000 (22:48 +0000)]

3 years ago(no commit message)
nobodyinperson [Mon, 2 Jan 2023 22:43:07 +0000 (22:43 +0000)]

3 years agoAdded a comment
nobodyinperson [Mon, 2 Jan 2023 21:58:26 +0000 (21:58 +0000)]
Added a comment

3 years agotodo
Joey Hess [Mon, 2 Jan 2023 19:58:47 +0000 (15:58 -0400)]
todo

3 years agocomment
Joey Hess [Mon, 2 Jan 2023 19:27:36 +0000 (15:27 -0400)]
comment

3 years agocomment
Joey Hess [Mon, 2 Jan 2023 19:08:24 +0000 (15:08 -0400)]
comment

3 years agocomment
Joey Hess [Mon, 2 Jan 2023 19:01:52 +0000 (15:01 -0400)]
comment

3 years agochangelog for cf892f4256d6c113b4ec215d05345053ada1c6f3
Joey Hess [Mon, 2 Jan 2023 16:36:10 +0000 (12:36 -0400)]
changelog for cf892f4256d6c113b4ec215d05345053ada1c6f3

3 years agoMerge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Sun, 1 Jan 2023 22:11:09 +0000 (18:11 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com

3 years agoupdate for https://pypi.org/project/thunar-plugins/
Joey Hess [Sun, 1 Jan 2023 22:10:35 +0000 (18:10 -0400)]
update for https://pypi.org/project/thunar-plugins/

3 years agoAdded a comment: hmm
acadx0@9d7ca00c5a85a700a7209ab4fc2505189ded1aa3 [Sun, 1 Jan 2023 16:49:38 +0000 (16:49 +0000)]
Added a comment: hmm

3 years agoAdded a comment
strmd [Sun, 1 Jan 2023 13:28:46 +0000 (13:28 +0000)]
Added a comment

3 years agoremoved
acadx0@9d7ca00c5a85a700a7209ab4fc2505189ded1aa3 [Sun, 1 Jan 2023 04:01:41 +0000 (04:01 +0000)]
removed

3 years agoAdded a comment: try 2
acadx0@9d7ca00c5a85a700a7209ab4fc2505189ded1aa3 [Sun, 1 Jan 2023 04:00:54 +0000 (04:00 +0000)]
Added a comment: try 2

3 years agoAdded a comment: try 2
acadx0@9d7ca00c5a85a700a7209ab4fc2505189ded1aa3 [Sun, 1 Jan 2023 04:00:25 +0000 (04:00 +0000)]
Added a comment: try 2

3 years ago(no commit message)
acadx0@9d7ca00c5a85a700a7209ab4fc2505189ded1aa3 [Sat, 31 Dec 2022 17:48:07 +0000 (17:48 +0000)]

3 years agoAdded a comment
nobodyinperson [Thu, 29 Dec 2022 10:49:27 +0000 (10:49 +0000)]
Added a comment

3 years agoreporting on need to create leading dir
yarikoptic [Wed, 28 Dec 2022 16:23:51 +0000 (16:23 +0000)]
reporting on need to create leading dir

3 years ago(no commit message)
tiny.bell9228@b8988087df4fe0446bb6874c40ae9f8bc87ce984 [Wed, 28 Dec 2022 02:58:21 +0000 (02:58 +0000)]

3 years agocomment
Joey Hess [Tue, 27 Dec 2022 21:03:47 +0000 (17:03 -0400)]
comment

3 years agoAdded a comment: Maybe add a very slow KDF first?
nobodyinperson [Tue, 27 Dec 2022 20:26:45 +0000 (20:26 +0000)]
Added a comment: Maybe add a very slow KDF first?

3 years agoidea
Joey Hess [Tue, 27 Dec 2022 17:48:53 +0000 (13:48 -0400)]
idea

3 years agomoreinfo
Joey Hess [Mon, 26 Dec 2022 20:09:37 +0000 (16:09 -0400)]
moreinfo

3 years agomoreinfo
Joey Hess [Mon, 26 Dec 2022 20:09:08 +0000 (16:09 -0400)]
moreinfo

3 years agouse insert_ for speed improvement
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
3 years agoclose
Joey Hess [Mon, 26 Dec 2022 19:05:48 +0000 (15:05 -0400)]
close

3 years agofix link
Joey Hess [Mon, 26 Dec 2022 19:03:14 +0000 (15:03 -0400)]
fix link

3 years agoclose
Joey Hess [Mon, 26 Dec 2022 17:31:09 +0000 (13:31 -0400)]
close

3 years agoclose
Joey Hess [Mon, 26 Dec 2022 17:29:13 +0000 (13:29 -0400)]
close

3 years agocomment
Joey Hess [Mon, 26 Dec 2022 17:24:29 +0000 (13:24 -0400)]
comment

3 years agocomment
Joey Hess [Mon, 26 Dec 2022 17:13:52 +0000 (13:13 -0400)]
comment

3 years agocode review
Joey Hess [Mon, 26 Dec 2022 17:09:40 +0000 (13:09 -0400)]
code review

3 years agoRemoved the vendored git-lfs and the GitLfs build flag
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