• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

Katello / katello / 7634 / 2
66%
master: 66%

Build:
DEFAULT BRANCH: master
Ran 30 Oct 2019 05:34PM UTC
Files 187
Run time 30s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

29 Oct 2019 09:41PM UTC coverage: 63.01%. Remained the same
7634.2

api

travis-ci

web-flow
Fixes #28037 - Incremental Update additional repos (#8378)

This commit handles incremental update with additional_repos parameters.
Rpms  from one repo can depend on rpms from another repo, this is
especially true with RHEL 8. This causes a problem during depsolving.
For example if we have a module/errata in one repo pointing packages in
another repo, we'd like to ideally copy the dependencies across both
repositories in the same operation.
In the incremental update case for example the user may request a
certain errata to be copied over along with their dependencies.
To address this Pulp 2.21 updated their copy api to accept
"additional repos" (https://pulp.plan.io/issues/5067.)

This commit sets up the appropriate mapping for this operation. So if
the content view has depsolve turned on or if its incremental katello
will create a 'repository_mapping' which maps source repo to a
destination repo. The entries in this hash consist of all the
repositories in the content view version minus the main one.
For example
CVV1 - repos A,B
On incremental update CVV1 -> CVV 1.1
The copy operation for content in repo A will  have {b:dest-b} as the
"additional_repos" aka "repository mapping".
This mapping is then passed to pulp copy api.

This change has a couple of complexities. We need all the destination
repositories to be created before we call the copy operations with the
addition_repos mapping. To handle this a new CreateRepos plan was
created and the CloneToVersion plan was modified to accept a
destination repo. The CloneToVersion call now expects the destination
repo to have been created before copying.
Changes were made to both IncrementalUpdate and Publish plans to
accomodate the new structure.

466 of 810 branches covered (57.53%)

1344 of 2133 relevant lines covered (63.01%)

3.63 hits per line

Source Files on job 7634.2
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 690
  • Travis Job 7634.2
  • 4b52fa66 on github
  • Prev Job for on master (#7626.3)
  • Next Job for on master (#7643.2)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc