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

Smart group my droplets #78

Open
nofxx opened this issue Nov 22, 2013 · 3 comments
Open

Smart group my droplets #78

nofxx opened this issue Nov 22, 2013 · 3 comments

Comments

@nofxx
Copy link

nofxx commented Nov 22, 2013

Planning to make droplets list more clear, currently (if #77 gets merged) , supposing 2 projects, multiple servers you'll end up with something like:

ON   foo-db1              16.213.17.111    @ New York 2      #123456
ON   foo-web1             16.213.17.111    @ New York 2      #123456
ON   bar-db1              16.213.17.111    @ New York 2      #123456
ON   bar-web1             16.213.17.111    @ New York 2      #123456
....

I propose a split and group with '-' hifens:

bar
    ON   db1.foo.com               16.213.17.111    @ New York 2      #123456
    ON   web1.foo.com              16.213.17.111    @  New York 2      #123456
foo
    ON   db1.foo.com               16.213.17.111    @ New York 2      #123456
    ON   web1.foo.com              16.213.17.111    @  New York 2      #123456
    ....

Kinda like linode groups. We could also do actions on groups, like god (monit).
You may not provide any hifen, so the listing will be the same. Also, maybe a option to don't group.
Any ideas?

@pearkes
Copy link
Collaborator

pearkes commented Nov 22, 2013

Yea, this is a cool idea. I see the use case (I name my machines the same way per project).

I think we'd want to make this opt-in, though, perhaps through the ~/.tugboat configuration as well as a flag on tugboat droplets.

What the behavior be if I didn't have a leading slash on a droplet name? Would it just append it to the the bottom of the list with no group or indentation?

@tjcran
Copy link

tjcran commented Jul 9, 2016

Tagging droplets is now possible through the DigitalOcean API, so integrating into Tugboat should be straightforward: https://developers.digitalocean.com/documentation/v2/#tags

@petems
Copy link
Owner

petems commented Jul 9, 2016

That's pretty cool, should be fairly easy to implement as you say. I might be able to get a basic implementation done on Sunday :)

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

4 participants