Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add katello_content_view_filter module #153

Merged
merged 2 commits into from
Aug 20, 2018
Merged

Conversation

sean797
Copy link
Member

@sean797 sean797 commented Jul 25, 2018

Requires:
SatelliteQE/nailgun#504
SatelliteQE/nailgun#505
SatelliteQE/nailgun#506
SatelliteQE/nailgun#508

Katello/katello#7560
Katello/katello#7492


I wasn't going to raise this until the above PRs were merged, but it seems the Nailgun ones, in particular, are taking a while. Anyone interested in testing this is welcome to use https://github.com/sean797/nailgun/tree/mix which has the 4 commits cherry-picked.

@sean797 sean797 force-pushed the cv-filter branch 2 times, most recently from 7292119 to 3f9abc2 Compare August 3, 2018 11:20
@sean797 sean797 force-pushed the cv-filter branch 5 times, most recently from 7164556 to 186c839 Compare August 6, 2018 15:58
@sean797
Copy link
Member Author

sean797 commented Aug 6, 2018

Depending PRs merged and tests passed 🎆

Copy link
Member

@mdellweg mdellweg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not a full review, just one thing that did not hide properly.

@@ -229,12 +233,12 @@ def update_fields(new, old, fields):


# Common functionality to manipulate entities
def naildown_entity_state(entity_class, entity_dict, entity, state, module):
changed, _ = naildown_entity(entity_class, entity_dict, entity, state, module)
def naildown_entity_state(entity_class, entity_dict, entity, state, module, check_missing=[]):
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Mutable objects as default Argumnents are almost never, what you expect. Please use None here.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I did it as it saves me having to check if it's iterable later, anyway updated.

@sean797 sean797 merged commit d71ee5e into theforeman:master Aug 20, 2018
@sean797 sean797 deleted the cv-filter branch August 20, 2018 12:14
@sean797
Copy link
Member Author

sean797 commented Aug 20, 2018

Thanks @mdellweg

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants