You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@devlake.apache.org by "codebreach (via GitHub)" <gi...@apache.org> on 2024/01/07 15:45:06 UTC
[I] [Feature] GitHub calculate merged status by matching against description [incubator-devlake]
codebreach opened a new issue, #6758:
URL: https://github.com/apache/incubator-devlake/issues/6758
### Search before asking
- [X] I had searched in the [issues](https://github.com/apache/incubator-devlake/issues?q=is%3Aissue) and found no similar feature requirement.
### Use case
We use BorsNG to run a merge queue. It automatically batching MRs after automatically squashing them. However, this causes GitHub to report the MR as closed (instead of merged) and thus messes up the metrics. BorsNG automatically adds `[Merged by bors]` to the MRs which it merges.
I think a transform might also be able to do this but I couldn't it figure out, so any pointers on that would also be helpful
### Description
Would it be possible to add a way manually override what is considered merged? Like a `merged_override_regex` that looks at commit messages and marks such MRs as merged instead of closed?
### Related issues
_No response_
### Are you willing to submit a PR?
- [X] Yes I am willing to submit a PR!
### Code of Conduct
- [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@devlake.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Feature] GitHub calculate merged status by matching against description [incubator-devlake]
Posted by "klesh (via GitHub)" <gi...@apache.org>.
klesh commented on issue #6758:
URL: https://github.com/apache/incubator-devlake/issues/6758#issuecomment-1895340965
I think you can write a Plugin to enrich the data for you.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@devlake.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Feature] GitHub calculate merged status by matching against description [incubator-devlake]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] closed issue #6758: [Feature] GitHub calculate merged status by matching against description
URL: https://github.com/apache/incubator-devlake/issues/6758
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@devlake.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Feature] GitHub calculate merged status by matching against description [incubator-devlake]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #6758:
URL: https://github.com/apache/incubator-devlake/issues/6758#issuecomment-2002676269
This issue has been automatically marked as stale because it has been inactive for 60 days. It will be closed in next 7 days if no further activity occurs.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@devlake.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Feature] GitHub calculate merged status by matching against description [incubator-devlake]
Posted by "codebreach (via GitHub)" <gi...@apache.org>.
codebreach commented on issue #6758:
URL: https://github.com/apache/incubator-devlake/issues/6758#issuecomment-1884482008
Anything we can do to get an answer faster would be great
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@devlake.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Feature] GitHub calculate merged status by matching against description [incubator-devlake]
Posted by "Startrekzky (via GitHub)" <gi...@apache.org>.
Startrekzky commented on issue #6758:
URL: https://github.com/apache/incubator-devlake/issues/6758#issuecomment-1886229030
Hi @codebreach , I found someone sharing the same problem with yours: https://github.com/orgs/community/discussions/12437
So, it seems there's nothing we can do to update PR merge status to `merged` on the GitHub side.
The other perspective is to provide configurations to distinguish merged GitHub PRs from all closed PRs on the DevLake side. But since it's a rare case, we won't be able to support this feature in the short term due to the limited bandwidth.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@devlake.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Feature] GitHub calculate merged status by matching against description [incubator-devlake]
Posted by "Startrekzky (via GitHub)" <gi...@apache.org>.
Startrekzky commented on issue #6758:
URL: https://github.com/apache/incubator-devlake/issues/6758#issuecomment-1894146108
Hi @codebreach . Thanks for the proposal. However, since we are trying to simplify the GitHub Scope Config, we might not be able to accept a PR to add this configuration.
@klesh Do you have any idea about the workarounds of this issue?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@devlake.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Feature] GitHub calculate merged status by matching against description [incubator-devlake]
Posted by "codebreach (via GitHub)" <gi...@apache.org>.
codebreach commented on issue #6758:
URL: https://github.com/apache/incubator-devlake/issues/6758#issuecomment-1886676884
Thanks for the response @Startrekzky and totally understand that this cannot be done by you as its very specific etc.
Would you be open to an MR that allows this to be configured?
Or can you help me with how I should write such a transform.
Either way we will document and share it with the community here.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@devlake.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Feature] GitHub calculate merged status by matching against description [incubator-devlake]
Posted by "klesh (via GitHub)" <gi...@apache.org>.
klesh commented on issue #6758:
URL: https://github.com/apache/incubator-devlake/issues/6758#issuecomment-1880340750
@Startrekzky Could you take a look at this when you find time, thanks.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@devlake.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Feature] GitHub calculate merged status by matching against description [incubator-devlake]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #6758:
URL: https://github.com/apache/incubator-devlake/issues/6758#issuecomment-2017007020
This issue has been closed because it has been inactive for a long time. You can reopen it if you encounter the similar problem in the future.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@devlake.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org