Re: [I] [Feature][Plugin] Add Python Plugin for GitHub Copilot Enterprise & User Usage Metrics [incubator-devlake]

2026-01-16 Thread via GitHub


ewega commented on issue #8664:
URL: 
https://github.com/apache/incubator-devlake/issues/8664#issuecomment-3760431519

   It's a big PR. Not sure how to make it smaller, but looking forward to your 
review and support: https://github.com/apache/incubator-devlake/pull/8674


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



Re: [I] [Feature][Plugin] Add Python Plugin for GitHub Copilot Enterprise & User Usage Metrics [incubator-devlake]

2026-01-05 Thread via GitHub


ewega commented on issue #8664:
URL: 
https://github.com/apache/incubator-devlake/issues/8664#issuecomment-3711624163

   @ansri-abodey Please refer to the above PR instead, one I previously shared 
I discarded: https://github.com/apache/incubator-devlake/pull/8674/


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



Re: [I] [Feature][Plugin] Add Python Plugin for GitHub Copilot Enterprise & User Usage Metrics [incubator-devlake]

2026-01-04 Thread via GitHub


ewega commented on issue #8664:
URL: 
https://github.com/apache/incubator-devlake/issues/8664#issuecomment-3708380630

   @mieliespoor Noted and good call. Will rename it


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



Re: [I] [Feature][Plugin] Add Python Plugin for GitHub Copilot Enterprise & User Usage Metrics [incubator-devlake]

2026-01-04 Thread via GitHub


ansri-abodey commented on issue #8664:
URL: 
https://github.com/apache/incubator-devlake/issues/8664#issuecomment-3707937627

   > Would love to support contributing to this, I started working on it in a 
fork. [@ansri-abodey](https://github.com/ansri-abodey) Do you have a public 
fork yet? Otherwise I'm chugging along at it here: 
[ewega#9](https://github.com/ewega/incubator-devlake/pull/9)
   
   Thanks @ewega. Haven’t started on this yet as I was away. Will look at your 
fork. 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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



Re: [I] [Feature][Plugin] Add Python Plugin for GitHub Copilot Enterprise & User Usage Metrics [incubator-devlake]

2026-01-01 Thread via GitHub


mieliespoor commented on issue #8664:
URL: 
https://github.com/apache/incubator-devlake/issues/8664#issuecomment-3703874251

   @ewega I see you named your plugin copilot. I would suggest adding github in 
some shape or form to the name as copilot is too generic and could possibly 
clash with other services. For example - Microsoft names more than one service 
as copilot, or rather, attaches the copilot name to it, and all are distinctly 
different to the other. 


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



Re: [I] [Feature][Plugin] Add Python Plugin for GitHub Copilot Enterprise & User Usage Metrics [incubator-devlake]

2025-12-29 Thread via GitHub


ewega commented on issue #8664:
URL: 
https://github.com/apache/incubator-devlake/issues/8664#issuecomment-3696795950

   Would love to support contributing to this, I started working on it in a 
fork. @ansri-abodey Do you have a public fork yet? Otherwise I'm chugging along 
at it here: https://github.com/ewega/incubator-devlake/pull/9


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



Re: [I] [Feature][Plugin] Add Python Plugin for GitHub Copilot Enterprise & User Usage Metrics [incubator-devlake]

2025-12-22 Thread via GitHub


klesh commented on issue #8664:
URL: 
https://github.com/apache/incubator-devlake/issues/8664#issuecomment-3682118444

   > > I’d recommend building the plugin in Go instead of Python—Python support 
is limited here, and I’m less familiar with it.
   > 
   > Hmmm.. I am more of a python developer. But I guess I can use copilot to 
help me based on the other GO plugins. Might give Go a Go :D
   
   Nice move! 


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



Re: [I] [Feature][Plugin] Add Python Plugin for GitHub Copilot Enterprise & User Usage Metrics [incubator-devlake]

2025-12-18 Thread via GitHub


ansri-abodey commented on issue #8664:
URL: 
https://github.com/apache/incubator-devlake/issues/8664#issuecomment-3673082932

   > I’d recommend building the plugin in Go instead of Python—Python support 
is limited here, and I’m less familiar with it.
   
   Hmmm.. I am more of a python developer. But I guess I can use copilot to 
help me based on the other GO plugins. Might give Go a Go :D


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



Re: [I] [Feature][Plugin] Add Python Plugin for GitHub Copilot Enterprise & User Usage Metrics [incubator-devlake]

2025-12-18 Thread via GitHub


klesh commented on issue #8664:
URL: 
https://github.com/apache/incubator-devlake/issues/8664#issuecomment-3670775080

   I’d recommend building the plugin in Go instead of Python—Python support is 
limited here, and I’m less familiar with it.


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



Re: [I] [Feature][Plugin] Add Python Plugin for GitHub Copilot Enterprise & User Usage Metrics [incubator-devlake]

2025-12-18 Thread via GitHub


klesh commented on issue #8664:
URL: 
https://github.com/apache/incubator-devlake/issues/8664#issuecomment-3670763197

   Sounds good to me! I'm excited to see someone start measuring AI—it's an 
important metric, in my opinion. Feel free to reach out if you need any help!


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



Re: [I] [Feature][Plugin] Add Python Plugin for GitHub Copilot Enterprise & User Usage Metrics [incubator-devlake]

2025-12-17 Thread via GitHub


dosubot[bot] commented on issue #8664:
URL: 
https://github.com/apache/incubator-devlake/issues/8664#issuecomment-3665052390

   
   Hi @ansri-abodey! I'm [Dosu](https://go.dosu.dev/dosubot) and I’m helping 
the incubator-devlake team.
   
   
   Yes, the established convention in DevLake plugins—especially with 
pydevlake—is to map each distinct data stream to its own dedicated table for 
clarity and normalization. For your Copilot plugin, it's recommended to create 
a new table for enterprise metrics (e.g., `copilot_enterprise_daily`) and 
another for user metrics (e.g., `copilot_user_daily`). This approach is used in 
plugins like `q_dev`, which maps user metrics to a table named 
`_tool_q_dev_user_data` with fields for user ID, date, display name, and 
various metric counts, supporting granular analysis and efficient queries 
[[example](https://github.com/apache/incubator-devlake/blob/main/backend/plugins/q_dev/models/user_data.go)].
   
   In pydevlake, table naming typically follows the pattern 
`_tool_{plugin_name}_{plural_entity}` 
[[reference](https://github.com/apache/incubator-devlake/blob/main/backend/python/pydevlake/pydevlake/model.py)].
 For best results, include primary keys and indexes on fields like 
`connection_id`, `user_id`, and `date` to facilitate joins and cross-metric 
analysis with DORA metrics and other DevLake data 
[[reference](https://github.com/apache/incubator-devlake/blob/main/backend/plugins/q_dev/models/user_data.go)].
   
   No conflicting guidance or alternative conventions were found in recent 
issues or threads. This modeling approach will make your plugin consistent with 
current DevLake practices and support robust analytics.
   
   
   
   *To reply, just mention [@dosu](https://go.dosu.dev/dosubot).*
   
   ---
   How did I do? 
[Good](https://app.dosu.dev/response-feedback/8bb355c7-7ebe-44ff-b0b8-936ebbce114d?feedback_type=great_response)
 | 
[Irrelevant](https://app.dosu.dev/response-feedback/8bb355c7-7ebe-44ff-b0b8-936ebbce114d?feedback_type=irrelevant_answer)
 | 
[Incorrect](https://app.dosu.dev/response-feedback/8bb355c7-7ebe-44ff-b0b8-936ebbce114d?feedback_type=incorrect_sources)
 | 
[Verbose](https://app.dosu.dev/response-feedback/8bb355c7-7ebe-44ff-b0b8-936ebbce114d?feedback_type=too_verbose)
 | 
[Hallucination](https://app.dosu.dev/response-feedback/8bb355c7-7ebe-44ff-b0b8-936ebbce114d?feedback_type=hallucination)
 | [Report 
🐛](https://app.dosu.dev/response-feedback/8bb355c7-7ebe-44ff-b0b8-936ebbce114d?feedback_type=bug_report)
 | 
[Other](https://app.dosu.dev/response-feedback/8bb355c7-7ebe-44ff-b0b8-936ebbce114d?feedback_type=other)
   
   [![Chat with 
Dosu](https://dosu.dev/dosu-chat-badge.svg)](https://app.dosu.dev/b4e8e847-d479-4541-83a8-d88d83fea5c9/ask?utm_source=github) [![Open
 in 
Cursor](https://dosu.dev/dosu-in-cursor.svg)](https://cursor.com/link/prompt?text=Yes%2C%20the%20established%20convention%20in%20DevLake%20plugins%E2%80%94especially%20with%20pydevlake%E2%80%94is%20to%20map%20each%20distinct%20data%20stream%20to%20its%20own%20dedicated%20table%20for%20clarity%20and%20normalization.%20For%20your%20Copilot%20plugin%2C%20it%27s%20recommended%20to%20create%20a%20new%20table%20for%20enterprise%20metrics%20%28e.g.%2C%20%60copilot_enterprise_daily%60%29%20and%20another%20for%20user%20metrics%20%28e.g.%2C%20%60copilot_user_daily%60%29.%20This%20approach%20is%20used%20in%20plugins%20like%20%60q_dev%60%2C%20which%20maps%20user%20metrics%20to%20a%20table%20named%20%60_tool_q_dev_user_data%60%20with%20fields%20for%20user%20ID%2C%20date%2C%20display%20name%2C%20and%20various%20metric%20counts%2C%20supporting
 
%20granular%20analysis%20and%20efficient%20queries%20%5B%5Bexample%5D%28https%3A//github.com/apache/incubator-devlake/blob/main/backend/plugins/q_dev/models/user_data.go%29%5D.%0A%0AIn%20pydevlake%2C%20table%20naming%20typically%20follows%20the%20pattern%20%60_tool_%7Bplugin_name%7D_%7Bplural_entity%7D%60%20%5B%5Breference%5D%28https%3A//github.com/apache/incubator-devlake/blob/main/backend/python/pydevlake/pydevlake/model.py%29%5D.%20For%20best%20results%2C%20include%20primary%20keys%20and%20indexes%20on%20fields%20like%20%60connection_id%60%2C%20%60user_id%60%2C%20and%20%60date%60%20to%20facilitate%20joins%20and%20cross-metric%20analysis%20with%20DORA%20metrics%20and%20other%20DevLake%20data%20%5B%5Breference%5D%28https%3A//github.com/apache/incubator-devlake/blob/main/backend/plugins/q_dev/models/user_data.go%29%5D.%0A%0ANo%20conflicting%20guidance%20or%20alternative%20conventions%20were%20found%20in%20recent%20issues%20or%20threads.%20This%20modeling%20approach%20will%20make%20y
 
our%20plugin%20consistent%20with%20current%20DevLake%20practices%20and%20support%20robust%20analytics.) [![Join
 
Discord](https://img.shields.io/badge/join-5865F2?logo=discord&logoColor=white&label=)](https://go.dosu.dev/discord-bot) [![Share
 on