Commit graph

39076 commits

Author SHA1 Message Date
Joey Hess
aec2cf0abe
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.
2021-02-02 16:32:49 -04:00
Joey Hess
e78d2c9642
move global options handling closer to Command definitions 2021-02-02 15:55:45 -04:00
Joey Hess
4cc65d97fc
refactor 2021-02-02 14:27:42 -04:00
Joey Hess
d0fe0c5e10
close old todo 2021-02-02 13:25:58 -04:00
Joey Hess
696ee5d464
close 2021-02-02 13:21:34 -04:00
Joey Hess
233b2ab133
reject 2021-02-02 13:19:28 -04:00
Joey Hess
80a16a9dc8
remove no longer relevant part 2021-02-02 13:15:32 -04:00
Joey Hess
811399c8a1
meant to close this earlier 2021-02-02 13:12:47 -04:00
Joey Hess
cdbf80d338
comment 2021-02-02 13:10:07 -04:00
Joey Hess
d2ff391919
fix syntax 2021-02-02 13:01:31 -04:00
Joey Hess
5cad76198a
close 2021-02-02 12:52:00 -04:00
Joey Hess
d631304237
remove priority tag (unused) 2021-02-02 12:42:20 -04:00
Joey Hess
ba0de2d26a
comment 2021-02-02 12:33:01 -04:00
Joey Hess
e8d31910d0
update tutorial to work with 6 year old version of git-annex-shell 2021-02-02 12:26:37 -04:00
jrollins
4e5a27841a Added a comment 2021-02-01 19:30:54 +00:00
jrollins
8de52b9f94 Added a comment 2021-02-01 19:07:29 +00:00
jrollins
85e9e67748 Added a comment 2021-02-01 19:04:42 +00:00
jrollins
f2b21baec4 Added a comment 2021-02-01 18:42:24 +00:00
gueux
c7096eb1ee Added a comment 2021-02-01 18:33:52 +00:00
jrollins
3aa72e95e3 Added a comment 2021-02-01 18:25:09 +00:00
gueux
657cc67385 Added a comment 2021-02-01 18:11:41 +00:00
jrollins
d1fe1bf908 Added a comment 2021-02-01 17:45:16 +00:00
Joey Hess
71f96a8d84
comment 2021-02-01 12:42:30 -04:00
Joey Hess
a6b0e8c7ea
comment 2021-02-01 12:40:30 -04:00
Joey Hess
ec035c2b40
comment 2021-02-01 12:27:24 -04:00
Joey Hess
f3b57baf61
comment 2021-02-01 12:24:48 -04:00
Joey Hess
895b02d8a3
comment 2021-02-01 12:16:26 -04:00
Joey Hess
7d0cbea564
response 2021-02-01 12:07:22 -04:00
Joey Hess
6c237fbeb2
remove spam 2021-02-01 12:01:33 -04:00
Joey Hess
58216ef39d
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.
2021-02-01 12:00:56 -04:00
Joey Hess
41bf440729
Fix build on openbsd. Thanks, James Cook for the patch. 2021-02-01 11:56:17 -04:00
James Cook
6013abe87a
fix build on openbsd 2021-02-01 11:53:31 -04:00
arnoldbarclay
35a5ee92e2 Added a comment: App Development 2021-02-01 07:57:04 +00:00
gitannex@5bd4fdc44060e9df930b142f801e3fc0d543c85d
131aeb53a3 2021-02-01 05:35:28 +00:00
jrollins
b25438a5ac Added a comment: problems with init after clone 2021-01-31 20:34:32 +00:00
jrollins
8a3ffbf831 removed 2021-01-31 20:32:11 +00:00
jrollins
e14eececd8 Added a comment: problems with annex init in cloned repo 2021-01-31 20:31:36 +00:00
jrollins
65b7c8cb09 Added a comment 2021-01-31 20:28:23 +00:00
jrollins
e5314ec9ee 2021-01-31 20:22:50 +00:00
jrollins
82e058ee24 2021-01-31 20:17:19 +00:00
jrollins
602c74ed0a 2021-01-31 20:12:07 +00:00
EvanDeaubl
87222b70a5 nimbus.io as a storage provider is gone 2021-01-31 18:30:21 +00:00
falsifian
7bf84e4963 Added a comment: tests mostly pass 2021-01-31 05:07:16 +00:00
falsifian
7cfa1e61bf 2021-01-31 04:56:16 +00:00
falsifian
36aa9a1d24 2021-01-31 04:55:34 +00:00
Joey Hess
7d18153955
close 2021-01-29 15:54:13 -04:00
Joey Hess
69be08ce0e
close 2021-01-29 15:52:45 -04:00
Joey Hess
e560110a7e
close 2021-01-29 15:50:08 -04:00
Joey Hess
6569e35ba4
close 2021-01-29 15:48:45 -04:00
Joey Hess
e130af198a
comment 2021-01-29 15:42:37 -04:00