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

Make prefix switching use names rather than paths? #30

Open
lithp opened this issue Jan 10, 2017 · 3 comments
Open

Make prefix switching use names rather than paths? #30

lithp opened this issue Jan 10, 2017 · 3 comments

Comments

@lithp
Copy link
Contributor

lithp commented Jan 10, 2017

Right now it's a bit tedious to switch to /home/ec2-user/enterprise-installation2. Maybe it'd be easier if you could just say enterprise-installation2?

@onderkalaci
Copy link
Member

+1 for this 👍

@onderkalaci
Copy link
Member

Also, somehow the user should be able to list the installations?

@lithp
Copy link
Contributor Author

lithp commented Jan 16, 2017

Yeah, that sounds possible:

# Prints the list of different installations (assumes the workers match the master)
fab prefix.list

# Updates pg-latest so future tasks will act upon that installation
fab prefix.switch:[some-name]

All installations will live in some directory, such as $HOME/prefixes, so that [some-name] actually means $HOME/prefixes/[some-name].

Prefix might not be the best name though, can you think of any alternatives?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants