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

Add variable to the Koji library, which contains the current rawhide tag #16

Open
bookwar opened this issue Aug 26, 2020 · 2 comments
Open
Labels
enhancement New feature or request

Comments

@bookwar
Copy link
Member

bookwar commented Aug 26, 2020

Fedora Rawhide uses moving versioned tag. Currently it is 'f34'

The more or less reliable way to get this value is to request it from koji in a form:

kojisession.getFullInheritance('rawhide')[0]['name']

Let's add the variable to Koji module, so it can be used uniformly through all scripts and pipelines, especially in triggers.

@bookwar bookwar added the enhancement New feature or request label Aug 26, 2020
@bgoncalv
Copy link

Hmm, I didn't know we could use kojisession to get this information.

I've been using Version from https://src.fedoraproject.org/rpms/fedora-release/raw/master/f/fedora-release.spec

@msrb
Copy link
Member

msrb commented Aug 27, 2020

Nice :) I was looking for something like this as well.

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