more 4 minor changes for orphaned-packages-process/find_unblocked_orphans.py #12519

Merged
jnsamyak merged 4 commits from trivials2 into main 2026-06-08 03:10:33 +00:00
Contributor

last 2 are trivial

last 2 are trivial
Author
Contributor

rebased onto 606438f8dc

rebased onto 606438f8dc5e46a0c7a219bd31a948ea1ea4943a
Author
Contributor

rebased onto 606438f8dc

rebased onto 606438f8dc5e46a0c7a219bd31a948ea1ea4943a
Author
Contributor

rebased onto 606438f8dc

rebased onto 606438f8dc5e46a0c7a219bd31a948ea1ea4943a
Owner

Perhaps @gotmax23 (who runs this) could take a quick look?

and/or @jnsamyak / @humaton

Perhaps @gotmax23 (who runs this) could take a quick look? and/or @jnsamyak / @humaton
Author
Contributor

1 new commit added

  • Replace RAWHIDE_RELEASE by RELEASES["rawhide"]
**1 new commit added** * ``Replace RAWHIDE_RELEASE by RELEASES["rawhide"]``
Author
Contributor

1 new commit added

  • Declare self.dep_chain at the beginning of the class
**1 new commit added** * ``Declare self.dep_chain at the beginning of the class``
Author
Contributor

rebased onto 8deb9fd249

rebased onto 8deb9fd249ee58f70ab9e987b23b9f531e507c20
Author
Contributor

ok now we got 4 commit that can be merged , and doesn't change nothing, just allow the others patches be more small and easy to read

ok now we got 4 commit that can be merged , and doesn't change nothing, just allow the others patches be more small and easy to read
Author
Contributor

after this PR merged you got more 2 commits on https://pagure.io/releng/pull-request/12524 , now with some development that allow us to split the find_unblocked_orphans.py into 3 or 4 files

after this PR merged you got more 2 commits on https://pagure.io/releng/pull-request/12524 , now with some development that allow us to split the find_unblocked_orphans.py into 3 or 4 files
Author
Contributor

rebased onto b658e128eb

rebased onto b658e128ebd0dee1c3303b1b9b9f3baa8237889f
Author
Contributor

I think we can merge these commits , That are all tested by me . This is first 4 of 12 more or less commits .
This PR doesn't change the result, just simplified the logic and separate functions,
next batch of commits in https://pagure.io/releng/pull-request/12524 already have new features ...

I think we can merge these commits , That are all tested by me . This is first 4 of 12 more or less commits . This PR doesn't change the result, just simplified the logic and separate functions, next batch of commits in https://pagure.io/releng/pull-request/12524 already have new features ...
Author
Contributor

4 new commits added

  • 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
**4 new commits added** * ``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``
Owner

ok, since no one else is answering...

ok, since no one else is answering...
Owner

Pull-Request has been merged by kevin

Pull-Request has been merged by kevin
Member

Apologies for missing this! Thanks for the improvements, @sergiomb, and thanks, @kevin, for reviewing. Feel free to ping me on Matrix if you need a quick review. Also, please remember to run tox to apply formatters and linters before making changes to these files.

Apologies for missing this! Thanks for the improvements, @sergiomb, and thanks, @kevin, for reviewing. Feel free to ping me on Matrix if you need a quick review. Also, please remember to run `tox` to apply formatters and linters before making changes to these files.
Author
Contributor

@gotmax23 I'm against this tox rule, can we configure tox to change this rule ?

-def setup_dnf(repo=RELEASES["rawhide"]["repo"], source_repo=RELEASES["rawhide"]["source_repo"]):
+def setup_dnf(
+    repo=RELEASES["rawhide"]["repo"], source_repo=RELEASES["rawhide"]["source_repo"]
+):
-    packages, tagID=RELEASES["rawhide"]["koji_tag"], kojihub=RELEASES["rawhide"]["koji_hub"]
+    packages,
+    tagID=RELEASES["rawhide"]["koji_tag"],
+    kojihub=RELEASES["rawhide"]["koji_hub"],
@gotmax23 I'm against this tox rule, can we configure tox to change this rule ? ``` -def setup_dnf(repo=RELEASES["rawhide"]["repo"], source_repo=RELEASES["rawhide"]["source_repo"]): +def setup_dnf( + repo=RELEASES["rawhide"]["repo"], source_repo=RELEASES["rawhide"]["source_repo"] +): ``` ``` - packages, tagID=RELEASES["rawhide"]["koji_tag"], kojihub=RELEASES["rawhide"]["koji_hub"] + packages, + tagID=RELEASES["rawhide"]["koji_tag"], + kojihub=RELEASES["rawhide"]["koji_hub"], ```
Member

That's the way black works. If the line is more than the max line length, it gets wrapped for readability purposes.

That's the way [black](https://black.readthedocs.io/en/stable/) works. If the line is more than the max line length, it gets wrapped for readability purposes.
Author
Contributor

@gotmax23 Now, we got ready more 3 commits to review and merge, on https://pagure.io/releng/pull-request/12524 , with some development that allow us to split find_unblocked_orphans.py in multiple files .

@gotmax23 Now, we got ready more 3 commits to review and merge, on https://pagure.io/releng/pull-request/12524 , with some development that allow us to split find_unblocked_orphans.py in multiple files .
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!12519
No description provided.