Skip to content

Commit

Permalink
Resync master/dev branches (#46)
Browse files Browse the repository at this point in the history
* Sat63 fixes (#38)

* New methods for Sat 6.3 yum export
* Fix to puppet exporter to handle backend_id
* Fix for 6.3 file exports
* Fix DoV export for 6.3
* Count DRPMs as well as RPMs
* Update README

* Version bump to 1.2.3

* Update CHANGELOG.md

* Patch applied for Issues 42 and 43

* Add split size option

* Remove diff file
  • Loading branch information
ggatward authored Oct 14, 2018
1 parent 54e469e commit f649e00
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.

### Fixed
- sat_export did not handle new backend_identifier value generated by Sat 6.3
<<<<<<< HEAD
=======


## [1.2.3] - 2018-03-12
Expand All @@ -27,6 +29,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.

### Fixed
- sat_export did not handle new backend_identifier value generated by Sat 6.3
>>>>>>> master

## [1.2.2] - 2018-02-25
Expand Down
10 changes: 10 additions & 0 deletions sat_export.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,14 @@ def get_cv(org_id):

# Return the ID (should be '1') and the label (forms part of the export path name)
return cv_result['id'], cv_ver, cv_result['label']
<<<<<<< HEAD
<<<<<<< HEAD
=======

>>>>>>> master
=======

>>>>>>> e2448ba67fb918a5a4a04d1d3811f9f91b579239

# Promote a content view version
def export_cv(dov_ver, last_export, export_type):
Expand Down Expand Up @@ -1143,12 +1150,15 @@ def main(args):
backend_id = repo_result['backend_identifier']
else:
backend_id = repo_result['label']
<<<<<<< HEAD
=======

# Satellite 6.3 uses a new backend_identifier key in the API result
if 'backend_identifier' in repo_result:
backend_id = repo_result['backend_identifier']
else:
backend_id = repo_result['label']
>>>>>>> master

if ok_to_export:
# Trigger export on the repo
Expand Down

0 comments on commit f649e00

Please sign in to comment.