Skip to content
This repository was archived by the owner on Apr 4, 2018. It is now read-only.

Add username argument to vcloud-login#1

Open
dcarley wants to merge 1 commit intomasterfrom
login_user_arg
Open

Add username argument to vcloud-login#1
dcarley wants to merge 1 commit intomasterfrom
login_user_arg

Conversation

@dcarley
Copy link

@dcarley dcarley commented Aug 13, 2013

Allows a username to be passed to vcloud-login on the command line. Rather
than always prompting for it.

This makes it easier to use against Platform1, where the username is a UID
and has to be suffixed with the organisation UID, which is annoying when the
auth token expires every hour or so.

/cc @alphagov/gov-uk-infrastructure

Allows a username to be passed to `vcloud-login` on the command line. Rather
than always prompting for it.

This makes it easier to use against Platform1, where the username is a UID
and has to be suffixed with the organisation UID, which is annoying when the
auth token expires every hour or so.
@marshyski
Copy link

Why wasn't this merged, this is pretty cool?

@samjsharpe
Copy link

Two reasons:

  1. We stopped actively maintaining this code and moved onto using the Fog library via Ruby: https://github.com/alphagov/vcloud-tools
  2. @nickstenning doesn't work with us any more, so he can't commit to this repo and I don't think anyone else currently has the rights to upload a new version to PyPI - we haven't cared enough to fix that problem.

Somewhere between the two of those, this pull request got orphaned. Feel free to fork the repo and do whatever you want to the code - it's MIT Licensed

@marshyski
Copy link

Ah, sorry to hear you went to Ruby from Python. Well I'll star the new repo then. Thanks @samjsharpe

@samjsharpe
Copy link

This tool was a quick hack while we were playing around with the vCloud API - it's really helpful if you want to play around with the API with a view to integrating with it. I guess @nickstenning found it quicker to do that in Python than Ruby (as would I :-).

Our provisioning toolset's always been Ruby unfortunately, because back in 2011 when we were on AWS we used Fog (and Ruby) because Apache Libcloud didn't exist and we hacked our Fog stuff to support vCloud so we could provision our current infrastructure, but it was really ugly.

Back in the middle of 2013, we had several discussions about rewriting and open-sourcing our tooling either properly in Fog or in Apache Libcloud - in the end we went with Fog primarily because Rodrigo Estebanez had just released the vcloud_director driver for it which cut down the work we needed to do.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

Comments