On Mon, Aug 12, 2019 at 11:21 AM Miro Hrončok <mhroncok(a)redhat.com> wrote:
On 12. 08. 19 11:16, Mikolaj Izdebski wrote:
> 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.
Oh. Do you know any pointers about how do I add more?
EPEL 7 build uses repos from 5 RHEL 7 channels.
You can see them with the following command:
$ koji list-external-repos --tag epel7-base
Pri External repo name Mode URL
--- ------------------------- ----------
----------------------------------------
10 rhel7-server koji
http://kojipkgs.fedoraproject.org/repo/rhel/rhel7/$arch/rhel-7-server-rpms/
11 rhel7-rhel-extras koji
http://kojipkgs.fedoraproject.org/repo/rhel/rhel7/$arch/rhel-7-server-ext...
12 rhel7-server-ha koji
http://kojipkgs.fedoraproject.org/repo/rhel/rhel7/$arch/rhel-ha-for-rhel-...
15 rhel7-server-optional koji
http://kojipkgs.fedoraproject.org/repo/rhel/rhel7/$arch/rhel-7-server-opt...
20 rhel7-server-rhscl-7 koji
http://kojipkgs.fedoraproject.org/repo/rhel/rhel7/$arch/rhel-server-rhscl...
Koji admins (i.e. Release Engineering) can add more channels upon
request from EPEL developers.
Before adding to Koji, RHEL repos would need to be synced from RHN to
Fedora servers (this can be requested from Fedora Infrastructure).
>
> >>> 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.
>
> I see. Thanks.
>
> --
> Miro Hrončok
> --
> Phone: +420777974800
> IRC: mhroncok