feat: cleanup change detection and add Git commit hash detection#603
feat: cleanup change detection and add Git commit hash detection#603
Conversation
aa50696 to
67f76b3
Compare
67f76b3 to
f9bc1de
Compare
0abd3fc to
10d828d
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. |
MDr164
left a comment
There was a problem hiding this comment.
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 <vojtech.vesely@9elements.com>
- 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 <vojtech.vesely@9elements.com>
Signed-off-by: AtomicFS <vojtech.vesely@9elements.com>
- 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 <vojtech.vesely@9elements.com>
Signed-off-by: AtomicFS <vojtech.vesely@9elements.com>
AI-Generated: true AI-Model: claude-3.5-sonnet Signed-off-by: AtomicFS <vojtech.vesely@9elements.com>
AI-Generated: true AI-Model: claude-3.5-sonnet Signed-off-by: AtomicFS <vojtech.vesely@9elements.com>
Signed-off-by: AtomicFS <vojtech.vesely@9elements.com>
Signed-off-by: AtomicFS <vojtech.vesely@9elements.com>
8e0580d to
8e0a693
Compare
|
👋 @MDr164, approve this |
Summary:
repo_pathof each moduleMust be merged after #592