Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

glacier binary is in conflict with boto's glacier binary #30

Open
shazow opened this issue Aug 22, 2013 · 11 comments · May be fixed by #57
Open

glacier binary is in conflict with boto's glacier binary #30

shazow opened this issue Aug 22, 2013 · 11 comments · May be fixed by #57

Comments

@shazow
Copy link

shazow commented Aug 22, 2013

boto is a requirement to run glacier-cli, but when boto is installed, boto creates a glacier script.

https://github.com/boto/boto/blob/develop/setup.py#L59

In the README examples, glacier.py is referred to as just glacier and in this case it won't work because boto will override it.

@basak
Copy link
Owner

basak commented Aug 22, 2013

Right. I filed boto/boto#1548, but that's as far as I got. It seems a bit onerous to use a different name in this project since it's designed for direct command line use and users will have to deal with a different/longer name constantly, particularly because the glacier command supplied by boto isn't particularly useful. Suggestions appreciated.

@xsuchy
Copy link
Contributor

xsuchy commented Nov 15, 2013

Can we rename glacier.py to glacier-cli.py?

@winny-
Copy link

winny- commented Aug 1, 2014

It seems a bit onerous to use a different name in this project since it's designed for direct command line use and users will have to deal with a different/longer name constantly, particularly because the glacier command supplied by boto isn't particularly useful.

😕 There is no enigma here. Boto's package came first, however I will suggest a two ideas to break this "stalemate":

  • Convince the boto maintainers to integrate your code into boto, and bring you on board. This way everybody is happy: you (minimal work necessary), your community (I can install your package from pypi), and boto is too (there is some discussion that their utility isn't very useful).
  • Change your name. glacier-cli is your repository name after all, so maybe it could work? Or maybe glcr?

@aspiers
Copy link

aspiers commented Apr 24, 2015

I like glcr. But the name of the script in the repo is kind of irrelevant; so long as the installation method is simply ln -s the user is free to call it whatever they want. Unfortunately that doesn't work for git-annex, so I requested that git-annex should allow the path to be configurable.

@basak
Copy link
Owner

basak commented Apr 24, 2015

I like glcr. I hadn't consider that before and missed it in winny-'s, sorry. And this has gone unresolved for long enough. Provided the name's not already taken (someone please check the Debian archive or something), I'll be happy to accept pull requests renaming the recommended name, using that in a future setup.py and in packaging, etc, if everyone agrees. One requirement - first I'd like git-annex to be updated to use that name first if available, so there is no period when it is broken.

@aspiers
Copy link

aspiers commented Apr 24, 2015

OK cool. But like I said, I don't think git-annex should be hardcoding the executable name anyway.

@basak
Copy link
Owner

basak commented Apr 24, 2015

I don't think git-annex should be hardcoding the executable name anyway.

I have no issue with that. But we should have a single well-known name that everything that expects the "glacier-cli interface" defaults to.

@aspiers
Copy link

aspiers commented Apr 24, 2015

Totally agree :)

@aspiers
Copy link

aspiers commented Apr 24, 2015

first I'd like git-annex to be updated to use that name first if available, so there is no period when it is broken

It doesn't matter which of the two is updated first - there will be an inevitable period of breakage.

@joeyh
Copy link

joeyh commented Apr 24, 2015

git-annex will not be making the name of the program configurable. Pick a name and I'll use it.

@xsuchy
Copy link
Contributor

xsuchy commented Apr 24, 2015

It doesn't matter which of the two is updated first - there will be an inevitable period of breakage.

You can have symlink one to the other during transition period (I would recommend that).

aspiers pushed a commit to aspiers/glacier-cli that referenced this issue Apr 25, 2015
Eventually, this will probably be taken care of by setup.py or similar.
For now, it's better not to rename the source file, because that would
break every existing pull request.

Closes basak#30 and closes basak#47.
@aspiers aspiers linked a pull request Apr 25, 2015 that will close this issue
aspiers pushed a commit to aspiers/glacier-cli that referenced this issue Apr 26, 2015
Eventually, this will probably be taken care of by setup.py or similar.
For now, it's better not to rename the source file, because that would
break every existing pull request.

Closes basak#30 and closes basak#47.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants