Allow search dependencies in more than one repository and move out maintainer information from depchecker class #12524

Closed
sergiomb wants to merge 1 commit from more_than_one_repository into main
Contributor

after merge https://pagure.io/releng/pull-request/12519 , here it will left last 2 commits , on these commits we allow multiple repos on dnf setup , also allow use metalink etc .
the commit "move out maintainer information from depchecker class" also add the ability of know the reponame of each package and make possible
move class DepcChecker and PagureInfo to different files , i.e move class DepcChecker to new file dep_checker.py and move class PagureInfo to new file pagure_info.py.

after merge https://pagure.io/releng/pull-request/12519 , here it will left last 2 commits , on these commits we allow multiple repos on dnf setup , also allow use metalink etc . the commit "move out maintainer information from depchecker class" also add the ability of know the reponame of each package and make possible move class DepcChecker and PagureInfo to different files , i.e move class DepcChecker to new file dep_checker.py and move class PagureInfo to new file pagure_info.py.
Author
Contributor

6 new commits added

  • move out maintainer information from depchecker class
  • Allow search dependencies in more than one repository
  • Declare self.dep_chain at the beginning of the class
  • Replace RAWHIDE_RELEASE by RELEASES["rawhide"]
  • make SRPM function independent of the class
  • Simplify the code logic
**6 new commits added** * ``move out maintainer information from depchecker class`` * ``Allow search dependencies in more than one repository`` * ``Declare self.dep_chain at the beginning of the class`` * ``Replace RAWHIDE_RELEASE by RELEASES["rawhide"]`` * ``make SRPM function independent of the class`` * ``Simplify the code logic``
Author
Contributor

7 new commits added

  • Move class DepcChecker and PagureInfo to new files v2
  • Move maintainer information from depchecker class
  • Allow search dependencies in more than one repository
  • Declare self.dep_chain at the beginning of the class
  • Replace RAWHIDE_RELEASE by RELEASES["rawhide"]
  • make SRPM function independent of the class
  • Simplify the code logic
**7 new commits added** * ``Move class DepcChecker and PagureInfo to new files v2`` * ``Move maintainer information from depchecker class`` * ``Allow search dependencies in more than one repository`` * ``Declare self.dep_chain at the beginning of the class`` * ``Replace RAWHIDE_RELEASE by RELEASES["rawhide"]`` * ``make SRPM function independent of the class`` * ``Simplify the code logic``
Author
Contributor

7 new commits added

  • Move class DepcChecker and PagureInfo to new files v2
  • Move maintainer information from depchecker class
  • Allow search dependencies in more than one repository
  • Declare self.dep_chain at the beginning of the class
  • Replace RAWHIDE_RELEASE by RELEASES["rawhide"]
  • make SRPM function independent of the class
  • Simplify the code logic
**7 new commits added** * ``Move class DepcChecker and PagureInfo to new files v2`` * ``Move maintainer information from depchecker class`` * ``Allow search dependencies in more than one repository`` * ``Declare self.dep_chain at the beginning of the class`` * ``Replace RAWHIDE_RELEASE by RELEASES["rawhide"]`` * ``make SRPM function independent of the class`` * ``Simplify the code logic``
Author
Contributor

8 new commits added

  • fix
  • Move class DepcChecker and PagureInfo to new files v2
  • Move maintainer information from depchecker class
  • Allow search dependencies in more than one repository
  • Declare self.dep_chain at the beginning of the class
  • Replace RAWHIDE_RELEASE by RELEASES["rawhide"]
  • make SRPM function independent of the class
  • Simplify the code logic
**8 new commits added** * ``fix`` * ``Move class DepcChecker and PagureInfo to new files v2`` * ``Move maintainer information from depchecker class`` * ``Allow search dependencies in more than one repository`` * ``Declare self.dep_chain at the beginning of the class`` * ``Replace RAWHIDE_RELEASE by RELEASES["rawhide"]`` * ``make SRPM function independent of the class`` * ``Simplify the code logic``
Author
Contributor

7 new commits added

  • Move class DepcChecker and PagureInfo to new files
  • Move maintainer information from depchecker class
  • Allow search dependencies in more than one repository
  • Declare self.dep_chain at the beginning of the class
  • Replace RAWHIDE_RELEASE by RELEASES["rawhide"]
  • make SRPM function independent of the class
  • Simplify the code logic
**7 new commits added** * ``Move class DepcChecker and PagureInfo to new files`` * ``Move maintainer information from depchecker class`` * ``Allow search dependencies in more than one repository`` * ``Declare self.dep_chain at the beginning of the class`` * ``Replace RAWHIDE_RELEASE by RELEASES["rawhide"]`` * ``make SRPM function independent of the class`` * ``Simplify the code logic``
Author
Contributor

rebased onto b658e128eb

rebased onto b658e128ebd0dee1c3303b1b9b9f3baa8237889f
Author
Contributor

7 new commits added

  • Move class DepcChecker and PagureInfo to new files
  • Move maintainer information from depchecker class
  • Allow search dependencies in more than one repository
  • Declare self.dep_chain at the beginning of the class
  • Replace RAWHIDE_RELEASE by RELEASES["rawhide"]
  • make SRPM function independent of the class
  • Simplify the code logic
**7 new commits added** * ``Move class DepcChecker and PagureInfo to new files`` * ``Move maintainer information from depchecker class`` * ``Allow search dependencies in more than one repository`` * ``Declare self.dep_chain at the beginning of the class`` * ``Replace RAWHIDE_RELEASE by RELEASES["rawhide"]`` * ``make SRPM function independent of the class`` * ``Simplify the code logic``
Author
Contributor

rebased onto 0514c6eca4

rebased onto 0514c6eca4ebf7d177a085a093e2bd37595d14ec
Author
Contributor

rebased onto 00c112cb10

rebased onto 00c112cb10814d43c5331ef0fb079a3468636025
Author
Contributor

3 new commits added

  • Move class DepcChecker and PagureInfo to new files
  • Move maintainer information from depchecker class
  • Allow search dependencies in more than one repository
**3 new commits added** * ``Move class DepcChecker and PagureInfo to new files`` * ``Move maintainer information from depchecker class`` * ``Allow search dependencies in more than one repository``
Author
Contributor

3 new commits added

  • Move class DepcChecker and PagureInfo to new files
  • Move maintainer information from depchecker class
  • Allow search dependencies in more than one repository
**3 new commits added** * ``Move class DepcChecker and PagureInfo to new files`` * ``Move maintainer information from depchecker class`` * ``Allow search dependencies in more than one repository``
Author
Contributor

3 new commits added

  • Move class DepcChecker and PagureInfo to new files
  • Move maintainer information from depchecker class
  • Allow search dependencies in more than one repository
**3 new commits added** * ``Move class DepcChecker and PagureInfo to new files`` * ``Move maintainer information from depchecker class`` * ``Allow search dependencies in more than one repository``
Author
Contributor

3 new commits added

  • Move class DepcChecker and PagureInfo to new files
  • Move maintainer information from depchecker class
  • Allow search dependencies in more than one repository
**3 new commits added** * ``Move class DepcChecker and PagureInfo to new files`` * ``Move maintainer information from depchecker class`` * ``Allow search dependencies in more than one repository``
Author
Contributor

rebased onto a0860e3215

rebased onto a0860e321569d52d8778ae5bc4136072b8cc8543
Owner

Any updates on this? Is this pending for review? We have moved this script to a new path. If it is still required, can you rebase your pr, and we can get it in review, please?

Any updates on this? Is this pending for review? We have moved this script to a new path. If it is still required, can you rebase your pr, and we can get it in review, please?
Author
Contributor

rebased onto 896d5284b9

rebased onto 896d5284b9621de4e6b4ee334cf10da07cc104d8
Author
Contributor

As I stated in the main issue, without changing the main function of the script, my goal is to use the script find_unblocked_orphans.py to calculate dependencies in a wide range of cases.
For now maybe just MR a single commit "Allow search dependencies in more than one repository"

  • Give a name to each repository, each will be used to know the repo name of the package,
    if the repo name match with RELEASES dict we may obtain the
    pagure_branch of the package and this way we can move pagureInfo out
    of the class
  • Add option extra-release which can be add severeal times and
    depchecker will search dependencies in all repos added
  • Add support to dnf metalinks
As I stated in the main issue, without changing the main function of the script, my goal is to use the script find_unblocked_orphans.py to calculate dependencies in a wide range of cases. For now maybe just MR a single commit "Allow search dependencies in more than one repository" - Give a name to each repository, each will be used to know the repo name of the package, if the repo name match with RELEASES dict we may obtain the pagure_branch of the package and this way we can move pagureInfo out of the class - Add option extra-release which can be add severeal times and depchecker will search dependencies in all repos added - Add support to dnf metalinks
jnsamyak closed this pull request 2026-01-15 17:02:05 +00:00

Pull request closed

Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
2 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!12524
No description provided.