On 20. 04. 20 14:00, Bruno Goncalves wrote:
On Mon, Apr 20, 2020 at 1:33 PM Miro Hrončok
<mhroncok(a)redhat.com> wrote:
>
> On 20. 04. 20 13:30, Petr Šplíchal wrote:
>> On Mon, 20 Apr 2020 at 13:14, Miro Hrončok <mhroncok(a)redhat.com
>> <mailto:mhroncok@redhat.com>> wrote:
>>
>> On 20. 04. 20 13:01, Petr Šplíchal wrote:
>> > Hi Miro,
>> >
>> > you can use the "version" parameter to choose the desired
branch:
>> >
https://docs.fedoraproject.org/en-US/ci/share-test-code/#_implementation
>>
>> Thank you. That is first half of the problem. The second half is: How do I
set
>> "version" to current branch of the package being tested?
>>
>>
>> So you want to prevent storing "version: f32" for the referenced
repository in
>> the f32 branch of the component being tested? I don't think there is
currently a
>> way to auto-magically set the version to the current branch.
>
> Yes, because storing "version: f32" means I would need to diverge all the
> beanches only because of this. An I'd need to do this very time a new Fedora
> version is branched from rawhide. Possibly on dozens of packages.
We don't really support this, but I think it is a nice feature to
have. Could you open a Fedora ci general issue [1] so we can track
this?
There is "ansible_distribution_version", but it doesn't work for
rawhide, so the pipeline would probably need to pass some arguments to
the playbook what might require some change to standard test
interface...