-
Notifications
You must be signed in to change notification settings - Fork 7
Sync to dist-git MR when source-git MR has been closed or reopened #62
Conversation
This comment was marked as outdated.
This comment was marked as outdated.
I need this for hardly, where we want to react when a source-git MR gets closed. packit/hardly#62
cc3ea01 to
617b94a
Compare
This comment was marked as outdated.
This comment was marked as outdated.
I need this for hardly, where we want to react when a source-git MR gets closed. packit/hardly#62
I need this for hardly, where we want to react when a source-git MR gets closed. packit/hardly#62
I need this for hardly, where we want to react when a source-git MR gets closed. packit/hardly#62
617b94a to
a5862ac
Compare
This comment was marked as outdated.
This comment was marked as outdated.
I need this for hardly, where we want to react when a source-git MR gets closed. packit/hardly#62
We don't need the dist_git_branch variable because if the downstream branch doesn't exist none of the followup code is executed.
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.
We should probably put more text in the comment to guide contributors/maintainers.
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 was added in #56 and I don't think it'll happen too often because the source-git branches should in general match dist-git branches. But I tried to add more context to the message. Check the latest commit.
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 hope folks won't find this as spamming but it's totally significant to inform about such an action in the downstream PR.
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.
Yes, and in most cases, you close the source-git MR only once, so it's just one comment.
a5862ac to
dda5e43
Compare
I need this for hardly, where we want to react when a source-git MR gets closed. packit/hardly#62
Build succeeded.
✔️ pre-commit SUCCESS in 1m 40s
✔️ hardly-tests SUCCESS in 3m 18s
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.
Thanks!
I need this for hardly, where we want to react when a source-git MR gets closed. packit/hardly#62
Build succeeded (gate pipeline).
✔️ pre-commit SUCCESS in 1m 39s
d4e7601
into
packit:main
Improve code added in #62 I initially wanted to attach these refactoring commits to some other PR, but I think they'll be better on their own. Reviewed-by: None <None> Reviewed-by: Jiri Popelka <None>
Uh oh!
There was an error while loading. Please reload this page.
Fixes
Merge after