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

[digitalocean|compute] Support using slugs and not just ID #3437

Open
wolf31o2 opened this issue Feb 13, 2015 · 8 comments
Open

[digitalocean|compute] Support using slugs and not just ID #3437

wolf31o2 opened this issue Feb 13, 2015 · 8 comments
Labels

Comments

@wolf31o2
Copy link
Contributor

DO added "slugs" to their API, which allows referencing objects (such as images, or regions) by name, rather than ID. These names do not change, even when the underlying object and ID are updated.

https://developers.digitalocean.com/#list-all-images

@TJM
Copy link

TJM commented Feb 14, 2015

Wow, are you monitoring my communications? I have been troubleshooting this issue, and just filed: http://projects.theforeman.org/issues/9386 downstream. I doubt the region_id's would change significantly, but the image_id's do appear to be somewhat ephemeral.

Are you working on this, or just reporting it?

For what its worth, this uses the V1 API:
https://developers.digitalocean.com/v1/images/

~tommy

@geemus
Copy link
Member

geemus commented Feb 14, 2015

Sounds like a good fix to make, are either of you interested in working on a pull request around this? Thanks!

@wolf31o2
Copy link
Contributor Author

wolf31o2 commented Feb 14, 2015 via email

@geemus
Copy link
Member

geemus commented Feb 14, 2015

Cool, thanks for the update!

On Sat, Feb 14, 2015 at 11:08 AM, Chris Gianelloni <notifications@github.com

wrote:

I was reporting it. I may be able to work it into a sprint at work, since
our project coopr would benefit greatly from this.

Reply to this email directly or view it on GitHub
#3437 (comment).

@TJM
Copy link

TJM commented Feb 16, 2015

If I understand the code, it may be a "one line" fix (adding a "slot" to hold the value) in the model?

EDIT: dealing with support issues this morning, will check back in later if I have a "working" model :)

@wolf31o2
Copy link
Contributor Author

wolf31o2 commented Mar 11, 2015 via email

@stale
Copy link

stale bot commented Jul 30, 2018

This issue has been automatically marked stale due to inactivity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix label Jul 30, 2018
@TJM
Copy link

TJM commented Jul 31, 2018

Settle down stale bot :p

@stale stale bot removed the wontfix label Jul 31, 2018
@Temikus Temikus added the pinned label Jul 31, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants