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

Provide a GH action #6

Open
inknos opened this issue Feb 14, 2024 · 4 comments
Open

Provide a GH action #6

inknos opened this issue Feb 14, 2024 · 4 comments
Labels
enhancement New feature or request

Comments

@inknos
Copy link

inknos commented Feb 14, 2024

Hi,

I would benefit from an action that would look like this:

- name: Get the correct Fedora Release from Bodhi
  uses: rpm-software-management/fedora-distro-aliases@v1
  with:
    fedora: fedora-latest

And with outputs the result of the query.

Would you consider something like this?

Thanks

@inknos inknos added the enhancement New feature or request label Feb 14, 2024
@FrostyX
Copy link
Member

FrostyX commented Feb 15, 2024

Hello @inknos,
that is an interesting idea.

Can you please share any use-cases that you would have for this?

@inknos
Copy link
Author

inknos commented Feb 19, 2024

Sure, in dnf team, we have COPR builds and tests run directly via GH workflows and actions. Most of the time, when a new Fedora is released, we need to update our GH actions to the latest fedora.
This manual update can be avoided conveniently in a container using the fedora:latest image but not conveniently for other instances.

For example here we do some magic to get the correct fedora version like in the Dockerfile.

So, an action would get the right fedora version in a few lines and I would not have to maintain the Fedora latest version.

@FrostyX
Copy link
Member

FrostyX commented Feb 19, 2024

Makes sense, thank you.

I will discuss this with @praiskup and @nikromen, who have better knowledge of GitHub Actions than me, to see what it would entail to implement this feature.

mfocko added a commit to mfocko/fedora-distro-aliases that referenced this issue Feb 29, 2024
Related to rpm-software-management#6

Signed-off-by: Matej Focko <[email protected]>
mfocko added a commit to mfocko/fedora-distro-aliases that referenced this issue Feb 29, 2024
Related to rpm-software-management#6

Signed-off-by: Matej Focko <[email protected]>
@mfocko mfocko mentioned this issue Feb 29, 2024
1 task
mfocko added a commit to mfocko/fedora-distro-aliases that referenced this issue Sep 11, 2024
Related to rpm-software-management#6

Signed-off-by: Matej Focko <[email protected]>
mfocko added a commit to mfocko/fedora-distro-aliases that referenced this issue Sep 21, 2024
Related to rpm-software-management#6

Signed-off-by: Matej Focko <[email protected]>
mfocko added a commit to mfocko/fedora-distro-aliases that referenced this issue Sep 24, 2024
Related to rpm-software-management#6

Signed-off-by: Matej Focko <[email protected]>
mfocko added a commit to mfocko/fedora-distro-aliases that referenced this issue Sep 24, 2024
Related to rpm-software-management#6

Co-authored-by: Jakub Kadlcik <[email protected]>
Signed-off-by: Matej Focko <[email protected]>
FrostyX added a commit that referenced this issue Sep 24, 2024
Related to #6

Co-authored-by: Jakub Kadlcik <[email protected]>
Signed-off-by: Matej Focko <[email protected]>
@praiskup
Copy link
Member

I do not recall discussing this. Adding to our kanban.

@praiskup praiskup moved this to Needs triage in CPT Kanban Sep 26, 2024
@nikromen nikromen moved this from Needs triage to In 3 months in CPT Kanban Oct 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants