git-annex/doc/todo/make_glacier-cli_executable_path_configurable.mdwn

13 lines
1.1 KiB
Text
Raw Normal View History

[glacier-cli](https://github.com/basak/glacier-cli) calls its own command `glacier` rather than `glacier-cli` or something else. This conflicts with [boto](https://github.com/boto/boto/)'s own `glacier` executable, as noted here:
2015-04-24 15:33:22 +00:00
* <https://github.com/basak/glacier-cli/issues/30>
* <https://github.com/basak/glacier-cli/issues/47>
Whilst the `glacier-cli` project should resolve this conflict, it would be good if git-annex could be made to use a configurable path for this executable, rather than just assuming that it has been installed as `glacier`. After all, its installation procedure is simply telling the user to run `ln -s`, so there's no reason why the user couldn't make the target of this command `~/bin/glacier-cli` rather than `~/bin/glacier` - it's really irrelevant what the source file inside the git repo is called.
Of course, [`checkSaneGlacierCommand`](https://github.com/joeyh/git-annex/blob/master/Remote/Glacier.hs#L307) is still very much worth having, for safety.
2021-07-16 20:28:22 +00:00
> Well, it never got renamed, and checkSaneGlacierCommand does check for
> the conflict, so I don't see any point in making the name configurable.
> [[done]] --[[Joey]]