On Mon, Aug 12, 2019 at 11:14 AM Miro Hrončok <mhroncok(a)redhat.com> wrote:
On 12. 08. 19 11:12, Mikolaj Izdebski wrote:
> On Sun, Aug 11, 2019 at 10:44 AM Miro Hrončok <mhroncok(a)redhat.com> wrote:
>>
>> See for example:
>>
>>
https://apps.fedoraproject.org/koschei/package/python-mccabe?collection=e...
>> 2019-08-11 07:50:11
>>
>> - nothing provides python(abi) = 3.6 ...
>>
>> This is provided in RHEL 7.7.
>>
>> (Note that we've unretired the python36 package, so later it resolved
correctly.)
>
> Koschei uses Koji repos. You can find out the exact repo URL at given
> timestamp in the following way:
>
> In [1]: import koji, datetime
> In [2]: ks =
koji.ClientSession('https://koji.fedoraproject.org/kojihub')
> In [3]: pi = koji.PathInfo('https://kojipkgs.fedoraproject.org')
> In [4]: ts = datetime.datetime(2019,8,11,8,8,10).timestamp()
> In [5]: event = ks.getLastEvent(before=ts)
> In [6]: repo = ks.getRepo(tag='epel7-build', state=koji.REPO_READY,
> event=event['id'])
> In [7]: pi.repo(repo['id'], 'epel7-build')
> Out[7]: 'https://kojipkgs.fedoraproject.org/repos/epel7-build/1234463'
And for RHEL packages?
Selected RHEL packages are available in EPEL buildroots.
> x86_64 repos are used for dependency resolution. At that time python36
> was not available in epel7-build:
Are RHEL packages available directly from epel7-build?
Yes, they are. Eg python-0:2.7.5-80.el7_6.x86_64 from my example is a
RHEL build.
>
> --
> Miro Hrončok
> --
> Phone: +420777974800
> IRC: mhroncok