Project

General

Profile

Actions

Bug #35369

closed

Incremental export on repository exports not working correctly after syncably exporting repository

Added by Partha Aji over 2 years ago. Updated about 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Inter Server Sync
Target version:
Fixed in Releases:
Found in Releases:

Description

Description of problem

Exporting a repository or library in a syncable format causes a new version to publish before completely exporting the version. This means the next time you do a "non-syncable" incremental export of the same repository, the incremental export happens from the syncable version to the latest which is incorrect. Ideally the syncable and non-syncable exports are not mixed.

Version-Release number of selected component (if applicable): 4.5 / 4.6

How reproducible:
Always

Steps to Reproduce:
1. Create and sync a repository
2. hammer content-export complete repository --id=<repo-id>
3. Now add extra rpms to the source repo and resync
4. hammer content-export complete repository --id=<repo-id> --format=syncable
5. Finally run -> hammer content-export incremental repository --id=<repo-id>

Actual results:
The incremental export has no content. This is because its trying to incrementally export from Step 4 -> 5 instead of Step 1 - 3

Expected results:
It incrementally exports between the repo on step 1 vs the repo in step 3

Additional info:

Actions #1

Updated by Partha Aji over 2 years ago

  • Bugzilla link set to 2118431
Actions #2

Updated by The Foreman Bot over 2 years ago

  • Status changed from New to Ready For Testing
  • Assignee set to Partha Aji
  • Pull request https://github.com/Katello/katello/pull/10237 added
Actions #3

Updated by Chris Roberts over 2 years ago

  • Target version set to Katello 4.6.0
  • Triaged changed from No to Yes
Actions #4

Updated by The Foreman Bot over 2 years ago

  • Fixed in Releases Katello 4.7.0 added
Actions #5

Updated by Partha Aji over 2 years ago

  • Status changed from Ready For Testing to Closed
Actions #6

Updated by The Foreman Bot about 2 years ago

  • Pull request https://github.com/Katello/katello/pull/10255 added
Actions

Also available in: Atom PDF