-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
[WIP] Migrate JT project.organization to direct org field #4338
Conversation
Build failed.
|
Build failed.
|
4331dd3
to
4dc7502
Compare
Build succeeded.
|
Build succeeded.
|
To update status: I'm fairly confident with this in its current form, but the idea was floated to move this field to the UnifiedJob and UnifiedJobTemplate models instead. This wouldn't affect anything at the API interaction layer, unless we populated the field for other types like project update or inventory updates to be comprehensive. Then we could add the field on those models as well. |
awx/main/models/jobs.py
Outdated
null=True, | ||
on_delete=models.SET_NULL, | ||
related_name='%(class)ss', | ||
) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Discussed with @chrismeyersfsu, considering making this a field on the UnifiedJob
and UnifiedJobTemplate
models instead. That will involve more migration work, but will be much more performant.
Marking as WIP until I can come back to that point. |
fcd206d
to
28ec83d
Compare
Build failed.
|
Build failed.
|
Build failed.
|
Build failed.
|
Build failed.
|
Build failed.
|
Build failed.
|
Build failed.
|
Build failed.
|
Build failed.
|
Build succeeded.
|
The form of this has changed so much that I will open up a new PR after the details have been nailed down - with the primary difference being that this would not become a user-editable field. |
[3.7.1] Fixes bug where all_parents_must_converge was not being set for new or existing approval nodes
SUMMARY
Connect #3903
Also addresses #4008
ISSUE TYPE
COMPONENT NAME
AWX VERSION