You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@devlake.apache.org by GitBox <gi...@apache.org> on 2022/10/09 03:53:39 UTC
[GitHub] [incubator-devlake] asterix314 opened a new issue, #3339: [Feature][Dashboard] Robot removal
asterix314 opened a new issue, #3339:
URL: https://github.com/apache/incubator-devlake/issues/3339
### 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.
### Description
Pull requests issued by automated robots do not indicate real development activity and distort the metrics. Therefore they should be removed. [CNCF/devstats](https://github.com/cncf/devstats) uses pattern-matching to detect bots. We can shamelessly snatch their pattern-list (see [here](https://github.com/cncf/devstats/blob/master/util_sql/exclude_bots.sql)) and use it in something like:
```sql
select *
from pull_requests
where not regexp_like(author_name,
'claassistant|containersshbuilder|wasmcloud-automation|fossabot|facebook-github-whois-bot-0|'
'knative-automation|covbot|cdk8s-automation|github-action-benchmark|goreleaserbot|imgbotapp|'
'backstage-service|openssl-machine|sizebot|dependabot|cncf-ci|poiana|svcbot-qecnsdp|'
'nsmbot|ti-srebot|cf-buildpacks-eng|bosh-ci-push-pull|gprasath|zephyr-github|zephyrbot|'
'strimzi-ci|athenabot|k8s-reviewable|codecov-io|grpc-testing|k8s-teamcity-mesosphere|'
'angular-builds|devstats-sync|googlebot|hibernate-ci|coveralls|rktbot|coreosbot|'
'web-flow|prometheus-roobot|cncf-bot|kernelprbot|istio-testing|spinnakerbot|pikbot|'
'spinnaker-release|golangcibot|opencontrail-ci-admin|titanium-octobot|asfgit|appveyorbot|'
'cadvisorjenkinsbot|gitcoinbot|katacontainersbot|prombot|prowbot|travis.*bot|k8s-.*|.*-bot|'
'.*-robot|bot-.*|robot-.*|.*\\[bot\\].*|.*\\[robot\\].*|.*-jenkins|jenkins-.*|.*-ci.*bot|.*-testing|'
'codecov-.*|.*clabot.*|.*cla-bot.*|.*-gerrit|.*-bot-.*|.*envoy-filter-example.*|.*cibot|.*-ci')
```
If performance becomes an issue, then a table of robot IDs can be prepared beforehand and then joined with the target table.
### Use case
_No response_
### 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: commits-unsubscribe@devlake.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-devlake] github-actions[bot] commented on issue #3339: [Feature][Dashboard] Robot removal
Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on issue #3339:
URL: https://github.com/apache/incubator-devlake/issues/3339#issuecomment-1312870859
This issue has been automatically marked as stale because it has not had recent activity for 30 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: commits-unsubscribe@devlake.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-devlake] github-actions[bot] closed issue #3339: [Feature][Dashboard] Robot removal
Posted by GitBox <gi...@apache.org>.
github-actions[bot] closed issue #3339: [Feature][Dashboard] Robot removal
URL: https://github.com/apache/incubator-devlake/issues/3339
--
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: commits-unsubscribe@devlake.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-devlake] github-actions[bot] commented on issue #3339: [Feature][Dashboard] Robot removal
Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on issue #3339:
URL: https://github.com/apache/incubator-devlake/issues/3339#issuecomment-1363461489
This issue has been automatically marked as stale because it has not had recent activity for 30 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: commits-unsubscribe@devlake.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-devlake] github-actions[bot] commented on issue #3339: [Feature][Dashboard] Robot removal
Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on issue #3339:
URL: https://github.com/apache/incubator-devlake/issues/3339#issuecomment-1322828602
This issue has been closed because it has not received response for too long time. You could reopen it if you encountered similar problems 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: commits-unsubscribe@devlake.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-devlake] Startrekzky commented on issue #3339: [Feature][Dashboard] Robot removal
Posted by GitBox <gi...@apache.org>.
Startrekzky commented on issue #3339:
URL: https://github.com/apache/incubator-devlake/issues/3339#issuecomment-1273431780
Cool. I think we can start by adding this info to the docs of the metrics affected by bot users, e.g. [PR coding time](https://devlake.apache.org/docs/Metrics/CodingTime), to teach users to filter out bot users by customizing SQL in the built-in dashboards.
--
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: commits-unsubscribe@devlake.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-devlake] asterix314 commented on issue #3339: [Feature][Dashboard] Robot removal
Posted by GitBox <gi...@apache.org>.
asterix314 commented on issue #3339:
URL: https://github.com/apache/incubator-devlake/issues/3339#issuecomment-1278408694
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: commits-unsubscribe@devlake.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-devlake] github-actions[bot] closed issue #3339: [Feature][Dashboard] Robot removal
Posted by github-actions.
github-actions[bot] closed issue #3339: [Feature][Dashboard] Robot removal
URL: https://github.com/apache/incubator-devlake/issues/3339
--
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: commits-unsubscribe@devlake.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-devlake] github-actions[bot] commented on issue #3339: [Feature][Dashboard] Robot removal
Posted by github-actions.
github-actions[bot] commented on issue #3339:
URL: https://github.com/apache/incubator-devlake/issues/3339#issuecomment-1399652841
This issue has been automatically marked as stale because it has not had recent activity for 30 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: commits-unsubscribe@devlake.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-devlake] github-actions[bot] commented on issue #3339: [Feature][Dashboard] Robot removal
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #3339:
URL: https://github.com/apache/incubator-devlake/issues/3339#issuecomment-1452824671
This issue has been automatically marked as stale because it has not had recent activity for 30 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: commits-unsubscribe@devlake.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-devlake] github-actions[bot] commented on issue #3339: [Feature][Dashboard] Robot removal
Posted by github-actions.
github-actions[bot] commented on issue #3339:
URL: https://github.com/apache/incubator-devlake/issues/3339#issuecomment-1409559364
This issue has been closed because it has not received response for too long time. You could reopen it if you encountered similar problems 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: commits-unsubscribe@devlake.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-devlake] Startrekzky commented on issue #3339: [Feature][Dashboard] Robot removal
Posted by "Startrekzky (via GitHub)" <gi...@apache.org>.
Startrekzky commented on issue #3339:
URL: https://github.com/apache/incubator-devlake/issues/3339#issuecomment-1480444790
I've added the logic to some PR metric docs. We can add it to the pre-built dashboards if more users want it 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: commits-unsubscribe@devlake.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-devlake] mindlesscloud closed issue #3339: [Feature][Dashboard] Robot removal
Posted by "mindlesscloud (via GitHub)" <gi...@apache.org>.
mindlesscloud closed issue #3339: [Feature][Dashboard] Robot removal
URL: https://github.com/apache/incubator-devlake/issues/3339
--
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: commits-unsubscribe@devlake.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org