]> dgit.raspbian.org Git - git-annex.git/log
git-annex.git
5 years agoMerge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Tue, 2 Feb 2021 23:39:24 +0000 (19:39 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com

5 years agosupport fuzzy matching of addon commands
Joey Hess [Tue, 2 Feb 2021 23:06:33 +0000 (19:06 -0400)]
support fuzzy matching of addon commands

Note this does find things in PATH that are not executable.
Like searchPath use, the executable bit is not checked. Thing is,
there does not seem to be a binding for access(), which would be the
right way to check that the right execute bit is set. Anyway, if it's in
PATH and it's a file, it's probably fine to treat it as something that
was intended to be executable.

This commit was sponsored by Brock Spratlen on Patreon.

5 years agoadd searchPathContents
Joey Hess [Tue, 2 Feb 2021 23:01:45 +0000 (19:01 -0400)]
add searchPathContents

And rename related functions for consistency.

5 years ago(no commit message)
guardcat [Tue, 2 Feb 2021 21:04:21 +0000 (21:04 +0000)]

5 years agoaddon commands
Joey Hess [Tue, 2 Feb 2021 20:32:25 +0000 (16:32 -0400)]
addon commands

Seems only fair, that, like git runs git-annex, git-annex runs
git-annex-foo.

Implementation relies on O.forwardOptions, so that any options are passed
through to the addon program. Note that this includes options before the
subcommand, eg: git-annex -cx=y foo

Unfortunately, git-annex eats the --help/-h options.
This is because it uses O.hsubparser, which injects that option into each
subcommand. Seems like this should be possible to avoid somehow, to let
commands display their own --help, instead of the dummy one git-annex
displays.

The two step searching mirrors how git works, it makes finding
git-annex-foo fast when "git annex foo" is run, but will also support fuzzy
matching, once findAllAddonCommands gets implemented.

This commit was sponsored by Dr. Land Raider on Patreon.

5 years agomove global options handling closer to Command definitions
Joey Hess [Tue, 2 Feb 2021 19:55:45 +0000 (15:55 -0400)]
move global options handling closer to Command definitions

5 years agorefactor
Joey Hess [Tue, 2 Feb 2021 18:27:42 +0000 (14:27 -0400)]
refactor

5 years agoAdded a comment
jrollins [Tue, 2 Feb 2021 17:43:19 +0000 (17:43 +0000)]
Added a comment

5 years agoclose old todo
Joey Hess [Tue, 2 Feb 2021 17:25:58 +0000 (13:25 -0400)]
close old todo

5 years agoclose
Joey Hess [Tue, 2 Feb 2021 17:21:34 +0000 (13:21 -0400)]
close

5 years agoreject
Joey Hess [Tue, 2 Feb 2021 17:19:28 +0000 (13:19 -0400)]
reject

5 years agoremove no longer relevant part
Joey Hess [Tue, 2 Feb 2021 17:15:32 +0000 (13:15 -0400)]
remove no longer relevant part

5 years agomeant to close this earlier
Joey Hess [Tue, 2 Feb 2021 17:12:47 +0000 (13:12 -0400)]
meant to close this earlier

5 years agocomment
Joey Hess [Tue, 2 Feb 2021 17:10:07 +0000 (13:10 -0400)]
comment

5 years agofix syntax
Joey Hess [Tue, 2 Feb 2021 17:01:31 +0000 (13:01 -0400)]
fix syntax

5 years agoclose
Joey Hess [Tue, 2 Feb 2021 16:52:00 +0000 (12:52 -0400)]
close

5 years agoremove priority tag (unused)
Joey Hess [Tue, 2 Feb 2021 16:42:20 +0000 (12:42 -0400)]
remove priority tag (unused)

5 years agocomment
Joey Hess [Tue, 2 Feb 2021 16:33:01 +0000 (12:33 -0400)]
comment

5 years agoupdate tutorial to work with 6 year old version of git-annex-shell
Joey Hess [Tue, 2 Feb 2021 16:26:37 +0000 (12:26 -0400)]
update tutorial to work with 6 year old version of git-annex-shell

5 years agoAdded a comment
jrollins [Mon, 1 Feb 2021 19:30:54 +0000 (19:30 +0000)]
Added a comment

5 years agoAdded a comment
jrollins [Mon, 1 Feb 2021 19:07:29 +0000 (19:07 +0000)]
Added a comment

5 years agoAdded a comment
jrollins [Mon, 1 Feb 2021 19:04:42 +0000 (19:04 +0000)]
Added a comment

5 years agoAdded a comment
jrollins [Mon, 1 Feb 2021 18:42:24 +0000 (18:42 +0000)]
Added a comment

5 years agoAdded a comment
gueux [Mon, 1 Feb 2021 18:33:52 +0000 (18:33 +0000)]
Added a comment

5 years agoAdded a comment
jrollins [Mon, 1 Feb 2021 18:25:09 +0000 (18:25 +0000)]
Added a comment

5 years agoAdded a comment
gueux [Mon, 1 Feb 2021 18:11:41 +0000 (18:11 +0000)]
Added a comment

5 years agoAdded a comment
jrollins [Mon, 1 Feb 2021 17:45:16 +0000 (17:45 +0000)]
Added a comment

5 years agocomment
Joey Hess [Mon, 1 Feb 2021 16:42:30 +0000 (12:42 -0400)]
comment

5 years agocomment
Joey Hess [Mon, 1 Feb 2021 16:40:30 +0000 (12:40 -0400)]
comment

5 years agocomment
Joey Hess [Mon, 1 Feb 2021 16:27:24 +0000 (12:27 -0400)]
comment

5 years agocomment
Joey Hess [Mon, 1 Feb 2021 16:24:48 +0000 (12:24 -0400)]
comment

5 years agocomment
Joey Hess [Mon, 1 Feb 2021 16:16:26 +0000 (12:16 -0400)]
comment

5 years agoresponse
Joey Hess [Mon, 1 Feb 2021 16:07:22 +0000 (12:07 -0400)]
response

5 years agoremove spam
Joey Hess [Mon, 1 Feb 2021 16:01:33 +0000 (12:01 -0400)]
remove spam

5 years agoInclude libkqueue.h file needed to build the assistant on BSDs
Joey Hess [Mon, 1 Feb 2021 16:00:56 +0000 (12:00 -0400)]
Include libkqueue.h file needed to build the assistant on BSDs

I suspect this is a bug in cabal sdist, because with
Includes: Utility/libkqueue.h
the file is not included, but putting it in extra-files does
get it into the tarball.

5 years agoFix build on openbsd. Thanks, James Cook for the patch.
Joey Hess [Mon, 1 Feb 2021 15:56:17 +0000 (11:56 -0400)]
Fix build on openbsd. Thanks, James Cook for the patch.

5 years agofix build on openbsd
James Cook [Mon, 1 Feb 2021 15:53:31 +0000 (11:53 -0400)]
fix build on openbsd

5 years agoAdded a comment: App Development
arnoldbarclay [Mon, 1 Feb 2021 07:57:04 +0000 (07:57 +0000)]
Added a comment: App Development

5 years ago(no commit message)
gitannex@5bd4fdc44060e9df930b142f801e3fc0d543c85d [Mon, 1 Feb 2021 05:35:28 +0000 (05:35 +0000)]

5 years agoAdded a comment: problems with init after clone
jrollins [Sun, 31 Jan 2021 20:34:32 +0000 (20:34 +0000)]
Added a comment: problems with init after clone

5 years agoremoved
jrollins [Sun, 31 Jan 2021 20:32:11 +0000 (20:32 +0000)]
removed

5 years agoAdded a comment: problems with annex init in cloned repo
jrollins [Sun, 31 Jan 2021 20:31:36 +0000 (20:31 +0000)]
Added a comment: problems with annex init in cloned repo

5 years agoAdded a comment
jrollins [Sun, 31 Jan 2021 20:28:23 +0000 (20:28 +0000)]
Added a comment

5 years ago(no commit message)
jrollins [Sun, 31 Jan 2021 20:22:50 +0000 (20:22 +0000)]

5 years ago(no commit message)
jrollins [Sun, 31 Jan 2021 20:17:19 +0000 (20:17 +0000)]

5 years ago(no commit message)
jrollins [Sun, 31 Jan 2021 20:12:07 +0000 (20:12 +0000)]

5 years agonimbus.io as a storage provider is gone
EvanDeaubl [Sun, 31 Jan 2021 18:30:21 +0000 (18:30 +0000)]
nimbus.io as a storage provider is gone

5 years agoAdded a comment: tests mostly pass
falsifian [Sun, 31 Jan 2021 05:07:16 +0000 (05:07 +0000)]
Added a comment: tests mostly pass

5 years ago(no commit message)
falsifian [Sun, 31 Jan 2021 04:56:16 +0000 (04:56 +0000)]

5 years ago(no commit message)
falsifian [Sun, 31 Jan 2021 04:55:34 +0000 (04:55 +0000)]

5 years agoclose
Joey Hess [Fri, 29 Jan 2021 19:54:13 +0000 (15:54 -0400)]
close

5 years agoclose
Joey Hess [Fri, 29 Jan 2021 19:52:45 +0000 (15:52 -0400)]
close

5 years agoclose
Joey Hess [Fri, 29 Jan 2021 19:50:08 +0000 (15:50 -0400)]
close

5 years agoclose
Joey Hess [Fri, 29 Jan 2021 19:48:45 +0000 (15:48 -0400)]
close

5 years agocomment
Joey Hess [Fri, 29 Jan 2021 19:42:37 +0000 (15:42 -0400)]
comment

5 years agoMerge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Fri, 29 Jan 2021 19:39:02 +0000 (15:39 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com

5 years agoclose moreinfo
Joey Hess [Fri, 29 Jan 2021 19:36:36 +0000 (15:36 -0400)]
close moreinfo

5 years agodone
Joey Hess [Fri, 29 Jan 2021 19:35:30 +0000 (15:35 -0400)]
done

5 years agoclose direct mode
Joey Hess [Fri, 29 Jan 2021 19:34:47 +0000 (15:34 -0400)]
close direct mode

5 years agoclose with proof this is not a bug
Joey Hess [Fri, 29 Jan 2021 19:33:15 +0000 (15:33 -0400)]
close with proof this is not a bug

5 years agoclose
Joey Hess [Fri, 29 Jan 2021 19:29:55 +0000 (15:29 -0400)]
close

5 years agoclose
Joey Hess [Fri, 29 Jan 2021 19:27:43 +0000 (15:27 -0400)]
close

5 years agoclose
Joey Hess [Fri, 29 Jan 2021 19:26:06 +0000 (15:26 -0400)]
close

5 years agomerge
Joey Hess [Fri, 29 Jan 2021 19:24:47 +0000 (15:24 -0400)]
merge

5 years agoreject
Joey Hess [Fri, 29 Jan 2021 19:13:16 +0000 (15:13 -0400)]
reject

5 years agoget: Improve output when failing to get a file fails
Joey Hess [Fri, 29 Jan 2021 19:11:19 +0000 (15:11 -0400)]
get: Improve output when failing to get a file fails

showTriedRemotes lists the remotes it tried to access. So there's
no need to list those again in "Try making some of these remotes
available".

5 years agocomment
Joey Hess [Fri, 29 Jan 2021 19:01:56 +0000 (15:01 -0400)]
comment

5 years agoclose moreinfo
Joey Hess [Fri, 29 Jan 2021 18:55:48 +0000 (14:55 -0400)]
close moreinfo

5 years agoretitle and confirmed
Joey Hess [Fri, 29 Jan 2021 18:53:45 +0000 (14:53 -0400)]
retitle and confirmed

5 years agoclose
Joey Hess [Fri, 29 Jan 2021 18:50:52 +0000 (14:50 -0400)]
close

5 years agoclose
Joey Hess [Fri, 29 Jan 2021 18:49:55 +0000 (14:49 -0400)]
close

5 years agoclose
Joey Hess [Fri, 29 Jan 2021 18:47:31 +0000 (14:47 -0400)]
close

5 years agocomment
Joey Hess [Fri, 29 Jan 2021 18:44:03 +0000 (14:44 -0400)]
comment

5 years agoclose moreinfo
Joey Hess [Fri, 29 Jan 2021 18:35:25 +0000 (14:35 -0400)]
close moreinfo

5 years agocomment and reject
Joey Hess [Fri, 29 Jan 2021 18:33:26 +0000 (14:33 -0400)]
comment and reject

5 years agoclose
Joey Hess [Fri, 29 Jan 2021 18:27:36 +0000 (14:27 -0400)]
close

5 years agoclose
Joey Hess [Fri, 29 Jan 2021 18:26:32 +0000 (14:26 -0400)]
close

5 years agoclose
Joey Hess [Fri, 29 Jan 2021 18:24:52 +0000 (14:24 -0400)]
close

5 years agoAdded a comment
chocolate.camera@ec2ecab153906be21ac5f36652c33786ad0e0b60 [Fri, 29 Jan 2021 18:23:04 +0000 (18:23 +0000)]
Added a comment

5 years agoclose
Joey Hess [Fri, 29 Jan 2021 18:20:09 +0000 (14:20 -0400)]
close

5 years agoclose
Joey Hess [Fri, 29 Jan 2021 18:19:01 +0000 (14:19 -0400)]
close

5 years agoclose
Joey Hess [Fri, 29 Jan 2021 18:16:16 +0000 (14:16 -0400)]
close

5 years agoclose
Joey Hess [Fri, 29 Jan 2021 18:14:15 +0000 (14:14 -0400)]
close

5 years agocomment
Joey Hess [Fri, 29 Jan 2021 18:12:25 +0000 (14:12 -0400)]
comment

5 years ago(no commit message)
seanl@fe5df935169a5440a52bdbfc5fece85cdd002d68 [Fri, 29 Jan 2021 18:01:55 +0000 (18:01 +0000)]

5 years agoAdded a comment: Different use case from backend
seanl@fe5df935169a5440a52bdbfc5fece85cdd002d68 [Fri, 29 Jan 2021 17:35:43 +0000 (17:35 +0000)]
Added a comment: Different use case from backend

5 years agoclose moreinfo
Joey Hess [Fri, 29 Jan 2021 17:25:25 +0000 (13:25 -0400)]
close moreinfo

5 years agoclose
Joey Hess [Fri, 29 Jan 2021 17:24:28 +0000 (13:24 -0400)]
close

5 years agoremoved
seanl@fe5df935169a5440a52bdbfc5fece85cdd002d68 [Fri, 29 Jan 2021 17:16:46 +0000 (17:16 +0000)]
removed

5 years agoAdded a comment: I use git-annex with FAT32
seanl@fe5df935169a5440a52bdbfc5fece85cdd002d68 [Fri, 29 Jan 2021 17:10:01 +0000 (17:10 +0000)]
Added a comment: I use git-annex with FAT32

5 years agomove to todo
Joey Hess [Fri, 29 Jan 2021 17:07:49 +0000 (13:07 -0400)]
move to todo

5 years agoremoved
seanl@fe5df935169a5440a52bdbfc5fece85cdd002d68 [Fri, 29 Jan 2021 17:02:59 +0000 (17:02 +0000)]
removed

5 years agoretitle strangely extensioned bug report
Joey Hess [Fri, 29 Jan 2021 16:59:26 +0000 (12:59 -0400)]
retitle strangely extensioned bug report

5 years agoremove strangely extensioned and dup bug report
Joey Hess [Fri, 29 Jan 2021 16:59:05 +0000 (12:59 -0400)]
remove strangely extensioned and dup bug report

5 years agoclose git bug
Joey Hess [Fri, 29 Jan 2021 16:58:05 +0000 (12:58 -0400)]
close git bug

5 years agocomment
Joey Hess [Fri, 29 Jan 2021 16:53:57 +0000 (12:53 -0400)]
comment

5 years agoclose moreinfo
Joey Hess [Fri, 29 Jan 2021 16:50:38 +0000 (12:50 -0400)]
close moreinfo

5 years agoAdded a comment: Thanks! And yes, no data loss.
seanl@fe5df935169a5440a52bdbfc5fece85cdd002d68 [Fri, 29 Jan 2021 06:55:43 +0000 (06:55 +0000)]
Added a comment: Thanks! And yes, no data loss.

5 years agofix handling of implicit and before parens
Joey Hess [Thu, 28 Jan 2021 17:50:38 +0000 (13:50 -0400)]
fix handling of implicit and before parens

Fix an oddity in matching options and preferred content expressions such as
"foo (bar or baz)", which was incorrectly handled as if it were "(foo or
bar) and baz)" rather than the intended "foo and (bar or baz)"

Seemed like a change to consume should be able to handle this case
better, but I was having trouble writing it that way, so instead added
a separate pass that inserts the implicit ands explicitly. Also added
several test cases to make sure versions with and without explicit ands
generate the same.

5 years agoWhen adding files to an adjusted branch set up by --unlock-present, add them unlocked...
Joey Hess [Mon, 25 Jan 2021 17:55:01 +0000 (13:55 -0400)]
When adding files to an adjusted branch set up by --unlock-present, add them unlocked, not locked

Missed this when implementing it because of the default case catching
the new constructor. So, removed that default case to make sure
future types of adjusted branches don't make the same mistake.

Complicated by git-annex addurl --fast which adds the file whose content
is not present, so it needs to stay unlocked when on such a branch.

This commit was sponsored by Brock Spratlen on Patreon.