-
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: cleanup change detection and add Git commit hash detection #603
base: main
Are you sure you want to change the base?
Conversation
aa50696
to
67f76b3
Compare
67f76b3
to
f9bc1de
Compare
0abd3fc
to
10d828d
Compare
72d8b56
to
119767b
Compare
If you will have time @MDr164 , could you try these changes? @PatrickRudolph feel free to also test this out ;) I have did some experiments in firmware-action-example directory. Namely just running
From my experiments it seems to work just as intended. |
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.
Nice! I did not spot any errors and it seems to be doing what we expect it to. Given that this is a fairly large change there might be some oversights on my end. Would be nice to have another pair of eyes on this, otherwise I'll approve this change latest by end of the week if no one else feels like testing this :)
/remind @MDr164 to approve this on March 14 |
@AtomicFS set a reminder for 3/14/2025 |
28504e0
to
8e0580d
Compare
- we need to keep coreboot-specific GitDescribe - so here I add also a generic GitDescribe Signed-off-by: AtomicFS <[email protected]>
- for detecting changes we want to include git hash - we need the ability to detect the case when sub-directory is not a git repository - the check should not fail when executed in not a git repository, it should just be ignored Signed-off-by: AtomicFS <[email protected]>
Signed-off-by: AtomicFS <[email protected]>
- move the whole change detection into separate golang file - add git hash storage for change detection - cleanup and unify change detection - much better testing Signed-off-by: AtomicFS <[email protected]>
Signed-off-by: AtomicFS <[email protected]>
AI-Generated: true AI-Model: claude-3.5-sonnet Signed-off-by: AtomicFS <[email protected]>
AI-Generated: true AI-Model: claude-3.5-sonnet Signed-off-by: AtomicFS <[email protected]>
Signed-off-by: AtomicFS <[email protected]>
Signed-off-by: AtomicFS <[email protected]>
8e0580d
to
8e0a693
Compare
👋 @MDr164, approve this |
Summary:
repo_path
of each moduleMust be merged after #592