Orphans: Use pagination to query pagure #7930

Merged
jnsamyak merged 2 commits from pagure_pagination into master 2026-06-08 03:11:58 +00:00
Contributor

Signed-off-by: Till Maas opensource@till.name

Signed-off-by: Till Maas <opensource@till.name>
Contributor

Thank you.

Thank you.
Contributor

I still only get this:

Contacting pagure for list of orphans...done
Getting builds from koji...done
Setting up dependency checker...done
Calculating dependencies...Got info for adonthell on master, todo: 0
Getting packages depending on: adonthell
to_check (1): ['adonthell']
to_check (1): ['wastesedge']
Waiting for (co)maintainer information...Got info for wastesedge on master, todo: 0
done
done
fedretire --orphan-dependent adonthell --branch master -- wastesedge
fedretire --orphan --branch master -- adonthell
Addresses (0): 
The following packages are orphaned and will be retired when they
are orphaned for six weeks, unless someone adopts them. If you know for sure
that the package should be retired, please do so now with a proper reason:
https://fedoraproject.org/wiki/How_to_remove_a_package_at_end_of_life

Note: If you received this mail directly you (co)maintain one of the affected
packages or a package that depends on one. Please adopt the affected package or
retire your depending package to avoid broken dependencies, otherwise your
package will be retired when the affected package gets retired.

adonthell orphan 31 weeks ago


The following packages require above mentioned packages:
Depending on: adonthell (1), status change: 2018-04-24 (31 weeks ago)
	wastesedge (maintained by: orphan)
		wastesedge-0.3.7-5.fc29.noarch requires adonthell = 0.3.6-10.fc29
		wastesedge-0.3.7-5.fc29.src requires adonthell = 0.3.6-10.fc29

Affected (co)maintainers

Orphans (1): adonthell


Orphans (dependend on) (1): adonthell


Orphans (rawhide) for at least 6 weeks (dependend on) (1): adonthell


Orphans  (rawhide)(not depended on) (0):


Orphans (rawhide) for at least 6 weeks (not dependend on) (0):


Depending packages (rawhide) (1): wastesedge


Packages depending on packages orphaned (rawhide) for more than 6
    weeks (1): wastesedge

-- 
The script creating this output is run and developed by Fedora
Release Engineering. Please report issues at its pagure instance:
https://pagure.io/releng/
The sources of this script can be found at:
https://pagure.io/releng/blob/master/f/scripts/find_unblocked_orphans.py

I still only get this: ``` Contacting pagure for list of orphans...done Getting builds from koji...done Setting up dependency checker...done Calculating dependencies...Got info for adonthell on master, todo: 0 Getting packages depending on: adonthell to_check (1): ['adonthell'] to_check (1): ['wastesedge'] Waiting for (co)maintainer information...Got info for wastesedge on master, todo: 0 done done fedretire --orphan-dependent adonthell --branch master -- wastesedge fedretire --orphan --branch master -- adonthell Addresses (0): The following packages are orphaned and will be retired when they are orphaned for six weeks, unless someone adopts them. If you know for sure that the package should be retired, please do so now with a proper reason: https://fedoraproject.org/wiki/How_to_remove_a_package_at_end_of_life Note: If you received this mail directly you (co)maintain one of the affected packages or a package that depends on one. Please adopt the affected package or retire your depending package to avoid broken dependencies, otherwise your package will be retired when the affected package gets retired. adonthell orphan 31 weeks ago The following packages require above mentioned packages: Depending on: adonthell (1), status change: 2018-04-24 (31 weeks ago) wastesedge (maintained by: orphan) wastesedge-0.3.7-5.fc29.noarch requires adonthell = 0.3.6-10.fc29 wastesedge-0.3.7-5.fc29.src requires adonthell = 0.3.6-10.fc29 Affected (co)maintainers Orphans (1): adonthell Orphans (dependend on) (1): adonthell Orphans (rawhide) for at least 6 weeks (dependend on) (1): adonthell Orphans (rawhide)(not depended on) (0): Orphans (rawhide) for at least 6 weeks (not dependend on) (0): Depending packages (rawhide) (1): wastesedge Packages depending on packages orphaned (rawhide) for more than 6 weeks (1): wastesedge -- The script creating this output is run and developed by Fedora Release Engineering. Please report issues at its pagure instance: https://pagure.io/releng/ The sources of this script can be found at: https://pagure.io/releng/blob/master/f/scripts/find_unblocked_orphans.py ```
Author
Contributor

There is a cache for pagure replies that can be cleared manually with rm ~/.cache/dist-git-orphans-cache.dbm* - it also expires after some time - it seems that the support for pagure changed it to more than two days. I guess one day would be enough.

There is a cache for pagure replies that can be cleared manually with `rm ~/.cache/dist-git-orphans-cache.dbm*` - it also expires after some time - it seems that the support for pagure changed it to more than two days. I guess one day would be enough.
Author
Contributor

1 new commit added

  • find_unblocked_orphans: Reduce pagure cache expiration
**1 new commit added** * ``find_unblocked_orphans: Reduce pagure cache expiration``
Author
Contributor

I added a commit to reduce the expiration time.

I added a commit to reduce the expiration time.
Contributor

Confirming that it works.

Confirming that it works.
Owner

Pull-Request has been merged by humaton

Pull-Request has been merged by humaton
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
3 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
releng/tickets!7930
No description provided.