Skip to content

Commit

Permalink
Refactor to make metadata mirroring easier
Browse files Browse the repository at this point in the history
So much of the logic is spread out that it makes it extremely difficult
to manage. e.g. all of the metadata is downloaded in many separate
functions. Also there are classes that would be better if they were just
functions, and helper methods that should really just be inlined because
they don't have a specific task.

closes: #8764
https://pulp.plan.io/issues/8764
  • Loading branch information
dralley authored and goosemania committed May 17, 2021
1 parent c5a590e commit 2f99394
Show file tree
Hide file tree
Showing 3 changed files with 265 additions and 342 deletions.
1 change: 1 addition & 0 deletions CHANGES/8764.misc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Refactored the sync pipeline to make the logic easier to follow.
1 change: 0 additions & 1 deletion pulp_rpm/app/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,6 @@
UPDATE_REPODATA = ["updateinfo"]
MODULAR_REPODATA = ["modules"]
COMPS_REPODATA = ["group"]
SKIP_REPODATA = ["group_gz", "prestodelta"]
SKIP_TYPES = ["srpm"]

CR_UPDATE_RECORD_ATTRS = SimpleNamespace(
Expand Down
Loading

0 comments on commit 2f99394

Please sign in to comment.