Commit graph

2885 commits

Author SHA1 Message Date
Joey Hess
13db029ac0
comment 2020-07-31 16:11:10 -04:00
Ilya_Shlyakhter
23d15dc985 Added a comment: key length 2020-07-30 15:13:53 +00:00
Joey Hess
ea63d1dfe3
E variant of external backend keys 2020-07-29 17:12:22 -04:00
Joey Hess
b6fa4cb42f
external backends genKey and verifyKeyContent implemented
Only key translation for HasExt remains..
2020-07-29 16:36:32 -04:00
Joey Hess
f75be32166
external backends wip
It's able to start them up, the only thing not implemented is generating
and verifying keys. And, the key translation for HasExt.
2020-07-29 15:23:18 -04:00
Joey Hess
b5d6a36db0
note external backend names cannot end with E
also markdown improvements
2020-07-29 14:01:49 -04:00
Joey Hess
3953c7a0ce
add DEBUG 2020-07-27 11:31:00 -04:00
Joey Hess
1ccb6699a1
guidance on size and mtime fields 2020-07-20 19:56:47 -04:00
Joey Hess
2630bb766a
fix link 2020-07-20 14:25:24 -04:00
Joey Hess
8b0fbc1391
formatting 2020-07-20 14:23:01 -04:00
Joey Hess
d1300eca2e
draft external backend protocol 2020-07-20 14:05:49 -04:00
Joey Hess
c016527cb5
link 2020-07-03 14:40:13 -04:00
Joey Hess
28fee95d4e
extend proposed interface with IMPORTKEY 2020-07-03 14:23:04 -04:00
Joey Hess
424b1912d6
followup and add link 2020-07-01 12:28:44 -04:00
Joey Hess
73c9331b15
remove obsolete links 2020-06-30 13:41:18 -04:00
Joey Hess
a49d300545
async exception safety for external special remote processes
Since an external process can be in the middle of some operation when an
async exception is received, it has to be shut down then. Using
cleanupProcess will close its IO handles and send it a SIGTERM.

If a special remote choses to catch SIGTERM, it's fine for it to do some
cleanup then, but until it finishes, git-annex will be blocked waiting
for it. If a special remote blocked SIGTERM, it would cause a hang.
Mentioned in docs.

Also, in passing, fixed a FD leak, it was not closing the error handle
when shutting down the external. In practice that didn't matter before because
it was only run when git-annex was itself shutting down, but now that it
can run on exception, it would have been a problem.
2020-06-09 12:22:14 -04:00
Joey Hess
2de40ba4da
improve docs around uri claiming 2020-05-21 11:58:57 -04:00
Soxofaan
ffafed4d82 Fix typo remotes.log -> remote.log 2020-03-28 13:36:45 +00:00
Joey Hess
c827ddcdb6
typo 2020-03-25 13:20:24 -04:00
Joey Hess
357f783edf
add priority tags 2020-03-25 13:05:09 -04:00
Joey Hess
d9bd645bf8
clarify LISTCONFIGS
Apparently some externals use GETCONFIG name, and the documentation as
written can be read to allow it, although IIRC it was not really my
intent to. If someone does do this, they should not include it in
LISTCONFIGS, since git-annex already tracks its own config settings.
2020-03-09 12:34:13 -04:00
Joey Hess
14dfd297a4
buglist template 2020-03-05 12:34:34 -04:00
Joey Hess
74694ece9b
pagespecs are absolute 2020-03-05 12:33:48 -04:00
Joey Hess
6ed6782c5d
exclude ones tagged needsthought 2020-03-05 12:31:28 -04:00
Joey Hess
f58a87f194
convert roadmap to list todo's that have been tagged confirmed 2020-03-05 12:29:19 -04:00
Joey Hess
a5c5a94bdf
remove done item 2020-03-05 12:26:05 -04:00
Joey Hess
99cb3e75f1
add LISTCONFIGS to external special remote protocol
Special remote programs that use GETCONFIG/SETCONFIG are recommended
to implement it.

The description is not yet used, but will be useful later when adding a way
to make initremote list all accepted configs.

configParser now takes a RemoteConfig parameter. Normally, that's not
needed, because configParser returns a parter, it does not parse it
itself. But, it's needed to look at externaltype and work out what
external remote program to run for LISTCONFIGS.

Note that, while externalUUID is changed to a Maybe UUID, checkExportSupported
used to use NoUUID. The code that now checks for Nothing used to behave
in some undefined way if the external program made requests that
triggered it.

Also, note that in externalSetup, once it generates external,
it parses the RemoteConfig strictly. That generates a
ParsedRemoteConfig, which is thrown away. The reason it's ok to throw
that away, is that, if the strict parse succeeded, the result must be
the same as the earlier, lenient parse.

initremote of an external special remote now runs the program three
times. First for LISTCONFIGS, then EXPORTSUPPORTED, and again
LISTCONFIGS+INITREMOTE. It would not be hard to eliminate at least
one of those, and it should be possible to only run the program once.
2020-01-17 16:07:17 -04:00
Joey Hess
925b2acb34
some improvements to docs 2019-11-11 12:52:45 -04:00
Joey Hess
f07d61c376
typo 2019-11-11 12:39:51 -04:00
Joey Hess
e42eb04182
fix language 2019-11-11 12:36:57 -04:00
Joey Hess
14f2c1eb92
typo 2019-11-11 12:36:05 -04:00
giuly.ippoliti@c1e2f0d5e40b128900f94f3d107d3719f87c3ff7
3d0330a555 Added a comment: Triggering which stage and when? 2019-10-24 20:30:11 +00:00
jason.dixon.email@aa0e536a2ec2877d6f666108dbbc6e39bbe87ac0
ccdb34b181 Added a comment: Friendly bump to keep on the radar 2019-10-24 09:26:23 +00:00
branchable@bafd175a4b99afd6ed72501042e364ebd3e0c45e
3f609a7742 Added a comment: Commits could be rate-limited too 2019-09-29 23:03:47 +00:00
Joey Hess
56669728d7
response 2019-09-28 12:51:58 -04:00
branchable@bafd175a4b99afd6ed72501042e364ebd3e0c45e
27b003eff9 Added a comment: Isn't this done? 2019-09-28 12:39:52 +00:00
yarikoptic
6dc5a0574e Added a comment: should there be FSCK and/or CLEAN? 2019-09-28 00:31:51 +00:00
Joey Hess
8465b6abd6
update 2019-09-18 12:16:33 -04:00
Joey Hess
0c718763fd
planning
several entangled things
2019-08-26 12:29:43 -04:00
Joey Hess
4923a3f790
update 2019-07-22 13:54:43 -04:00
Joey Hess
6e51b9ae88
clarify 2019-06-04 21:49:53 -04:00
Joey Hess
b6dfcf529e
indent 2019-05-28 16:21:35 -04:00
Joey Hess
08aa8e2010
break out export and import appending
The import protocol is WiP
2019-05-28 16:16:17 -04:00
Joey Hess
4818e3606c
reorg special remote docs
Made responses to git-annex requests be listed under each request.

This did lead to a little duplication since some replies are used for 2
requests, but it also makes it much clearer and easier to see how the
protocol works.

And, it makes each request self-contained, so they can be split out into
separate pages.
2019-05-28 14:01:19 -04:00
Joey Hess
63fa6b4a44
fix wrong statement 2019-05-28 12:05:49 -04:00
Joey Hess
c1ed0293b0
improve docs about removeExportDirectory 2019-05-28 11:16:01 -04:00
Joey Hess
2353d80906
remove done item 2019-05-23 14:24:25 -04:00
Joey Hess
428435c37c
comment 2019-05-14 15:30:38 -04:00
michael.hanke@c60e12358aa3fc6060531bdead1f530ac4d582ec
53bee6dc5f Added a comment: Re: Empty lines sent by git-annex to an external special remote 2019-05-14 08:48:27 +00:00
michael.hanke@c60e12358aa3fc6060531bdead1f530ac4d582ec
c4abfcc368 Added a comment: Empty lines sent by git-annex to an external special remote 2019-05-14 06:36:12 +00:00