-
Notifications
You must be signed in to change notification settings - Fork 1
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
feat: support multiple configs #588
Conversation
7457c13
to
0cb24ad
Compare
bb04108
to
990346b
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.
I still think simply hashing would have been enough and that this is a bit over-engineered but it works so who am I to judge
I think you mean #592, that is the one for change detection. |
990346b
to
566046e
Compare
Well, since I had hard time with reflections, I had some assist from AI. And while doing that I decided to bring #501 to a close, updating Also, I feel kinda lazy to try and cleanup the commit history. But if you @MDr164 would prefer to have it cleaner, let me know and I will merge some of the commits. **UPDATE: moved to #600 ** |
d43f185
to
ba5ec0d
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.
Reading the reflection code gave me an aneurysm but it looks like it is working as intended 👍
- this should hopefully help to reduce copy-pasting for users - I just changed 2 example test to test this feature - the difference is order of the configuration files, for coreboot the target is in first config, while for linux it is in the second Signed-off-by: AtomicFS <[email protected]>
- replace hard-coded code with reflection to make it more flexible AI-Generated: true AI-Model: ChatGPT o3-mini Signed-off-by: AtomicFS <[email protected]>
- add unit-test to validate functionality Signed-off-by: AtomicFS <[email protected]>
- this will make it more flexible when we add more modules in the future - also add unit-test AI-Generated: true AI-Model: ChatGPT o3-mini Signed-off-by: AtomicFS <[email protected]>
Signed-off-by: AtomicFS <[email protected]>
ba5ec0d
to
c56c147
Compare
fixes #559