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

Solve issue Object diff for roles removing most roles #562

Merged
merged 15 commits into from
Aug 3, 2023

Conversation

ivarmu
Copy link
Contributor

@ivarmu ivarmu commented Apr 4, 2023

What does this PR do?

Tries to solve issue #552:

  • Added treatment for:
    • target_team
    • job_template
    • workflow
    • inventory
    • projects
    • credentials

How should this be tested?

Manually tested. Automatic tests also passed.

Is there a relevant Issue open for this?

resolves #552

Other Relevant info, PRs, etc

N/A

@ivarmu ivarmu added bug Something isn't working help wanted Extra attention is needed labels Apr 4, 2023
@ivarmu ivarmu marked this pull request as draft April 4, 2023 07:52
@ivarmu ivarmu requested a review from sean-m-sullivan April 4, 2023 10:58
@ivarmu ivarmu changed the title WIP: added singulars to be treated as well WIP: solve issue Object diff for roles removing most roles Apr 4, 2023
@ivarmu
Copy link
Contributor Author

ivarmu commented Apr 4, 2023

Pending for some extra info asked at the issue #552 .

@ivarmu ivarmu changed the title WIP: solve issue Object diff for roles removing most roles Solve issue Object diff for roles removing most roles Jul 31, 2023
@ivarmu ivarmu marked this pull request as ready for review July 31, 2023 12:47
@ivarmu ivarmu removed the help wanted Extra attention is needed label Jul 31, 2023
@sean-m-sullivan
Copy link
Collaborator

So was this a bug where if we add spaces to that are that it removes. And is this a WIP as it says still not tested?

@ivarmu
Copy link
Contributor Author

ivarmu commented Aug 1, 2023

The spaces additions/removals are basically sthetic and/or required by the lintering checkings.

I checked manually all the changes and also run locally all the tests in tests/configure_controller.yml. I've updated the description acordingly.

I've also improved the *_expanded staff in the lookup plugin and also added new fields in the roles comparisons.

Copy link
Collaborator

@sean-m-sullivan sean-m-sullivan left a comment

Choose a reason for hiding this comment

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

LGTM, Needed time to review the python changes

@sean-m-sullivan sean-m-sullivan enabled auto-merge (squash) August 3, 2023 02:22
@sean-m-sullivan sean-m-sullivan merged commit 155c08f into redhat-cop:devel Aug 3, 2023
@ivarmu ivarmu deleted the issue552 branch March 27, 2024 07:07
przemkalit pushed a commit to przemkalit/aap_configuration that referenced this pull request Nov 22, 2024
* added singulars to be treated as well

* new attributes for roles

* new attributes for roles

* added changelog fragment

* fix on map_item function

* removed extra empty line

* fixes on object_diff inputs

* removed debug information. added ORGANIZATIONLESS to credentials and users without an organization

* fix lintering issues

* fix lintering issues

* fix lintering issues

* tests fixes. multiple list from redhat-cop#647 fixed. Test ping URL fixed
przemkalit pushed a commit to przemkalit/aap_configuration that referenced this pull request Nov 22, 2024
* added singulars to be treated as well

* new attributes for roles

* new attributes for roles

* added changelog fragment

* fix on map_item function

* removed extra empty line

* fixes on object_diff inputs

* removed debug information. added ORGANIZATIONLESS to credentials and users without an organization

* fix lintering issues

* fix lintering issues

* fix lintering issues

* tests fixes. multiple list from redhat-cop#647 fixed. Test ping URL fixed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Object diff for roles removing most roles
2 participants