question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Make platforms more like tags

See original GitHub issue

From @chouseknecht on October 21, 2016 5:43

Problem

The platform list continues to grow. Requests to add additional operating systems and versions are never-ending, and we perpetually fail to complete them in a timely fashion.

The current incarnation of platform does not really fit network operating systems. In many cases there either is no version or there are many, many versions, and in both cases we have adopted using any for the version.

It also fails to fit container roles. For example, Container App roles don’t have a single operating system or platform. If a platform maps to a container’s base image, Container Apps consist of many containers, so there may be multiple base images involved. This doesn’t fit, and it’s confusing.

Another issue is the list of platforms we manifest in the meta/main.yml template when the ansible-galaxy init command executes. The resulting list is unmanageable.

And finally, creating the meta/main.yml template requires a Galaxy API request. This is undesirable if the user does not have internet access or the Galaxy server happens to be down.

Proposal

Make platforms behave more like tags by doing the following:

  • Allow users to provide a list of platform values they think are appropriate
  • Modify the import process to accept a format of Platform_Name:Version, and allow :Version to be optional. This is in keeping with the Docker image format.
  • Completely remove the list of platform values from the meta/main.yml template, replacing it with “platforms: []” and appropriating commenting with examples. This naturally removes the API call.
  • Modify the Galaxy data model to no longer validate platform names and versions, and allow version to be optional.

Copied from original issue: ansible/galaxy-issues#206

Issue Analytics

  • State:open
  • Created 6 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

3reactions
dgeskecommented, Jan 2, 2018

Resolving this issue would also resolve the current lack of support for recent Amazon Linux platforms, thus I won’t create separate issues for these:

For this planned solution to work well, consistent naming is essential. This could be encouraged through examples or a brief guide how to find existing platforms.

3reactions
chouseknechtcommented, Oct 13, 2017

@gregdek cool. i’ll get started on this, since I have my Galaxy hat on this week.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to Use Hashtags in 2022: A Guide for Every Network
Hashtags can be used on just about any social media platform, but they're most popular on Twitter and Instagram.
Read more >
The 10 Most Popular Tags on 7 Platforms | Writers' Blokke
The 10 Most Popular Tags on 7 Platforms| Get more likes and followers on Facebook, Instagram, Tiktok, YouTube, and more. Get started here....
Read more >
9 Best Instagram Hashtag Generator Tools on the Web for 2023
Hashtags help you make sense of all that data. ... All Hashtag's Hashtag Generator gives you the top 30 and more hashtags based...
Read more >
How to Use Hashtags Successfully on All Major Social Platforms
Hashtags are an easy way for YouTubers to find videos about popular topics. ... Add hashtags sparingly and make sure they're directly related...
Read more >
Hashtag Strategy for Social Media Platforms in 2023
Using the same set of hashtags won't yield you the best results. Learn how to create a hashtag strategy for each social media...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found