forum/How to register arguments for an external special remote?git-annexhttp://git-annex.branchable.com/forum/How_to_register_arguments_for_an_external_special_remote__63__/git-annexikiwiki2020-08-07T02:41:10Zcomment 1http://git-annex.branchable.com/forum/How_to_register_arguments_for_an_external_special_remote__63__/comment_1_6dd92d0737b72b927fc6b82636084c54/joey2020-07-22T15:12:53Z2020-07-22T15:07:06Z
<p>This should only happen if your program is responding to LISTCONFIGS
with a list that does not include that parameter.</p>
<p>If it responds with UNSUPPORTED-REQUEST, all configs will be allowed.</p>
<p>I'm not familiar with the python library, but I guess it is doing that, and
probably has a way to specify what configs to list.</p>
Improperly documented code.http://git-annex.branchable.com/forum/How_to_register_arguments_for_an_external_special_remote__63__/comment_2_789445dff9a5905ed105ac344f6949ad/cardoso-neto2020-08-06T02:52:50Z2020-08-06T02:52:50Z
<p>I found out how to do it after reading his source code for the <a href="http://git-annex.branchable.com/forum/How_to_register_arguments_for_an_external_special_remote__63__/github.com/Lykos153/git-annex-remote-gdrive">Google Drive remote</a>.</p>
<p>Feel free to have a look around my remotes <github.com/cardoso-neto/git-annex-remote-manytars> <github.com/cardoso-neto/git-annex-remote-manyzips> which use his <a href="http://git-annex.branchable.com/forum/How_to_register_arguments_for_an_external_special_remote__63__/github.com/Lykos153/AnnexRemote">helper module</a>.</p>
<p>To summarize it, you should override <strong>init</strong> and list your configs there.</p>
Correction.http://git-annex.branchable.com/forum/How_to_register_arguments_for_an_external_special_remote__63__/comment_3_93e91e2ab98c35d4cb6082eea01b6abc/cardoso-neto2020-08-06T03:09:12Z2020-08-06T03:09:12Z
I meant this Google Drive remote: <github.com/Lykos153/git-annex-remote-googledrive> not the gdrive one that was discontinued.
Fixing URLs.http://git-annex.branchable.com/forum/How_to_register_arguments_for_an_external_special_remote__63__/comment_4_64c0d3c061ff463f9ce16b52d2a70a1f/cardoso-neto2020-08-06T03:14:57Z2020-08-06T03:14:57Z
<p>Apparently none of them worked, so here they are again:</p>
<p><a href="https://github.com/Lykos153/git-annex-remote-googledrive">github/Lykos153/git-annex-remote-googledrive</a></p>
<p><a href="https://github.com/cardoso-neto/git-annex-remote-manytars">github/cardoso-neto/git-annex-remote-manytars</a></p>
<p><a href="https://github.com/cardoso-neto/git-annex-remote-manyzips">github/cardoso-neto/git-annex-remote-manyzips</a></p>
<p><a href="https://github.com/Lykos153/AnnexRemote">github/Lykos153/AnnexRemote</a></p>
comment 5http://git-annex.branchable.com/forum/How_to_register_arguments_for_an_external_special_remote__63__/comment_5_d1c47c1a2f9b4dd570c0ebd9fbd1ad8b/joey2020-08-06T17:59:36Z2020-08-06T17:53:39Z
<p>These are some interesting special remotes. I don't know how general the
use case for them is (and I wonder if something like bup or ddar meets the
same basic use case), but it seems perhaps worth including them in the big
list of special remotes. What do you think?</p>
omghttp://git-annex.branchable.com/forum/How_to_register_arguments_for_an_external_special_remote__63__/comment_6_e0753fef2b93ae5a114894dbdc014ec4/cardoso-neto2020-08-07T02:41:10Z2020-08-07T02:41:10Z
<p>This feels like such an honor. hahah</p>
<p>I would absolutely love that.</p>
<p>Just give me a few days to get it working with <code>pip</code> (so people don't have to mess around with their $PATH), document it better, and run <code>git annex testremote</code> a bazillion times on it.</p>
<p>Thank you for being awesome, Joey, and writing this awesome tool.</p>