-
-
Notifications
You must be signed in to change notification settings - Fork 650
Convert Cobbler Item FIELDS array of arrays to Python properties #2433
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
Convert Cobbler Item FIELDS array of arrays to Python properties #2433
Conversation
A hard requirement for myself in this PR is that the method signatures of |
This PR is POST 3.2.0! |
1a782f2
to
8e904ac
Compare
This was generated with pydeps |
8e904ac
to
4d1874a
Compare
Rebase onto |
So the solution we want to go is the following:
This is not yet implemented so we need to try this approach out now. EDIT: Above was changed to match this comment |
6a3c333
to
5127a34
Compare
Resolved confilcts from |
80f3dcf
to
824e95a
Compare
824e95a
to
f0ada5a
Compare
0a27d04
to
b2ec04d
Compare
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.
This PR is bigger than I thought. I left some suggestions and improvements.
f8b45b9
to
3d79744
Compare
79df0a5
to
a1375f3
Compare
Co-authored-by: Dominik Gedon <dgedon@suse.de>
a1375f3
to
22c56d9
Compare
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.
Some more findings to check.
Co-authored-by: Dominik Gedon <dgedon@suse.de>
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.
LGTM.
Currently our testing is very very hard because we have circular dependencies and we did not organize our code very well. This means that changes are hard to introduce and we can't be certain if something works until the code is actually running. This makes working with the code very unfriendly has you need deep knowledge about Cobbler internals to make any change.
If we simplify our architecture and make our data storage objects not dependent on our main "data-collector-controller" we can:
This means that this PR will be huge and messy. It will stay open for long as this means that I need to fix every usage in the Cobbler code and while doing that don't change external APIs to maintain backward compability but in my eyes it is worth the effort.
Below please see our current dependency net and the reason why I am so insane to even start this.
Requirements to get this PR merged: