#9543 Please Koschei auto-track all my and @python-sig packages
Closed: Fixed 2 years ago by mizdebsk. Opened 3 years ago by churchyard.

On 21. 12. 20 10:37, Mikolaj Izdebski wrote:

There is also a possibility for a group or individual to request their
packages to be auto-tracked - whenever the person or group gets at
least commit privileges to a package in dist-git, Koschei will start
tracking it. To request auto-tracking of packages in Koschei you can
open a ticket with Fedora Infrastructure, or contact me directly.

Please, enable this for @churchyard and the @python-sig group. Thanks.


Metadata Update from @mizdebsk:
- Issue assigned to mizdebsk
- Issue priority set to: Waiting on Assignee (was: Needs Review)

3 years ago

Done for python-sig group. The change was implemented in commit d2ac1a4. Every 3 hours a cron job is going to mark all packages maintained by python-sig as tracked.

It turned out that the script to track packages maintained by indivdual contributors is not working correctly due to Pagure API breakage related to pagination, so it will need to be fixed or rewritten. I'll do that later.

It turned out that the script to track packages maintained by indivdual contributors is not working correctly due to Pagure API breakage related to pagination, so it will need to be fixed or rewritten. I'll do that later.

If you can point me to the script, I'd be happy to look at fixing it for you (following the "you broke it, you fix it" mantra).

Metadata Update from @smooge:
- Issue tagged with: koschei, medium-gain, medium-trouble, ops

3 years ago

@mizdebsk any news here? ;) @pingou can assist if you give him the pointer...

Please, could the autotracking be limited to rawhide only? Suddenly we track all the packages in ELN and ELN is very broken wrt dependencies. Thanks.

@kevin @pingou The old script is already gone and it won't be re-added. The problem is that there is no way to achieve this (getting list of user packages) with current Pagure API in a reliable way any longer. Pagination is by design prone to race conditions (the list of users packages can change between API calls for different pages) and does not provide reliable results. Therefore Koschei can't make use of any Pagure API that requires pagination.
The solution that I'm planning to implement relies on "extras" mechanism, which unfortunately is Fedora-Infra-specific and is not available in non-Fedora-Infra deployments of Pagure-based dist-git.

@churchyard Sure, that can be done.

@mizdebsk is this finished? Anything we can do to help?

@churchyard what is the status here? should we close this? or is there further action to take? if so, what?

I don't think all my packages are automatically tracked in Kochei yet, no.

I've finally implemented this request. I'm sorry that it took so long.

I've created 2 groups in Koschei:

These groups will be populated with packages watched by (respectively) @churchyard and python-sig, by cron jobs running every 3 hours. Packages in both groups will be marked as tracked by cron jobs.

Metadata Update from @mizdebsk:
- Issue close_status updated to: Fixed
- Issue status updated to: Closed (was: Open)

2 years ago

Login to comment on this ticket.

Metadata
Boards 1
ops Status: Backlog