From 0fcad01e24102d05a6e56f5d97092773a861fd72 Mon Sep 17 00:00:00 2001 From: Ayush Nagar <32647423+ayushnagar123@users.noreply.github.com> Date: Sun, 26 Jan 2020 23:19:26 +0530 Subject: [PATCH 1/7] Badge and point allotment api project Created badge and point allotment api project for gsoc 2020. Following the requirement expected latest under the development idea of Codebadge project. --- .../Badge_and_point_allotment_api.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 activities/gsoc2020/gsoc2020-ideas/Badge_and_point_allotment_api.md diff --git a/activities/gsoc2020/gsoc2020-ideas/Badge_and_point_allotment_api.md b/activities/gsoc2020/gsoc2020-ideas/Badge_and_point_allotment_api.md new file mode 100644 index 0000000..30216eb --- /dev/null +++ b/activities/gsoc2020/gsoc2020-ideas/Badge_and_point_allotment_api.md @@ -0,0 +1,16 @@ +# **Badge and point allotment Api** +**Priority:- High** +## Summary +In Codebadge, presently all the badge allotment computation are taking place at browser level. We require to shift all the badge related computation at backend using nodejs API. The task to be preformed under this task are:- +* Designing a database schema to manage user points for projects and organization, storing badge templates in efficient manner, storing admin defined pattern for awarding badges and special badges. +* Design a badge allotment api which shall fulfill following criterias:- + * Admin can decide the count of points for alloting points. + * Using Machine Learning allocating points as per past relatable issues. + * Designing a special badge allotment system which can be decided by the admin while creating an account. +* Designing an api system which returns renderable badges. Badges must be saved in minified format which shall be improved in quality and size on rendering time. +* Creating shareable illustrator system which admin can only share with his organization contributors using email/github username. +* Fetching contribution outside browser without using cron jobs approach which makes the computation speed slower. +## **Required Skills/knowledge:** +* Good knowledge of databases +* languages such as NodeJs, Sockets, using github apis +* Good Knowledge of Modules Bundling From de4ddb93ef30ac7a96669aa44557b37874609446 Mon Sep 17 00:00:00 2001 From: Ayush Nagar <32647423+ayushnagar123@users.noreply.github.com> Date: Sun, 26 Jan 2020 23:21:30 +0530 Subject: [PATCH 2/7] Updated project --- .../gsoc2020/gsoc2020-ideas/Badge_and_point_allotment_api.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/activities/gsoc2020/gsoc2020-ideas/Badge_and_point_allotment_api.md b/activities/gsoc2020/gsoc2020-ideas/Badge_and_point_allotment_api.md index 30216eb..84ac96a 100644 --- a/activities/gsoc2020/gsoc2020-ideas/Badge_and_point_allotment_api.md +++ b/activities/gsoc2020/gsoc2020-ideas/Badge_and_point_allotment_api.md @@ -12,5 +12,8 @@ In Codebadge, presently all the badge allotment computation are taking place at * Fetching contribution outside browser without using cron jobs approach which makes the computation speed slower. ## **Required Skills/knowledge:** * Good knowledge of databases -* languages such as NodeJs, Sockets, using github apis +* languages such as NodeJs +* experience of working sockets programming and using github apis * Good Knowledge of Modules Bundling + +### Difficulty Level: Moderate From b25c382695ecbbd22780140cb26e3e81beacd651 Mon Sep 17 00:00:00 2001 From: Ayush Nagar <32647423+ayushnagar123@users.noreply.github.com> Date: Sun, 26 Jan 2020 23:27:14 +0530 Subject: [PATCH 3/7] Added Pull request Management api projects Added Pull request Management api projects for gsoc 2020 as per the latest development and requirements. --- .../Pull_Request_Webhook_manager_API.md | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 activities/gsoc2020/gsoc2020-ideas/Pull_Request_Webhook_manager_API.md diff --git a/activities/gsoc2020/gsoc2020-ideas/Pull_Request_Webhook_manager_API.md b/activities/gsoc2020/gsoc2020-ideas/Pull_Request_Webhook_manager_API.md new file mode 100644 index 0000000..cda7421 --- /dev/null +++ b/activities/gsoc2020/gsoc2020-ideas/Pull_Request_Webhook_manager_API.md @@ -0,0 +1,22 @@ +# **Pull Request Webhook manager API** +**Priority:- High** +## **Summary** +In Codebadge, presently all the badge allotment computation are taking place on the basis of comment count. We want to create a smarter approach to give each user its token of appreciation. Moreover CRON jobs approach which is being followed at present is pretty slow and hence need to optimise it. Trello dashboard being an awesome tool to manage Issue and pull requests is something we would like to take into consideration as a platform to manage the tasks and issues. The task to be performed under this project are:- +* Creating a Webhook which fires when a pull request is made on the project. This webhook link shall be provided to the admin at the time of adding an organization to his/her dashboard. +* Admin dashboard interact with Trello to check the award points if already set on trello cards. +* These awarded points must be updated in users section in the database. Remember maintainer’s merge commit shall not be awarded any point to the maintainer. +* If the trello dashboard has no such points in the card default points shall be awarded to the user which shall be decided by badge and point allotment api(which is a separate project). +* All the point updated that are made shall reflect in db. +* Update badges on the basis of total points +* Moving trello dashboard as per pull request merge usingv machine learning classification. +* Pull request award points must be visible for user on the respective pull request. +* Extra award points for an open issue. + +## **Required Skills/knowledge:** +* Good knowledge of databases +* languages such as NodeJs, python for machine learning +* experience of using github apis +* Good Knowledge of Modules Bundling +* Good Knowledge of making restful API services + +Difficulty Level: Moderate From cbb003d8a4c65b99e79df4bda422f77ddb5e782d Mon Sep 17 00:00:00 2001 From: Ayush Nagar <32647423+ayushnagar123@users.noreply.github.com> Date: Sun, 26 Jan 2020 23:30:47 +0530 Subject: [PATCH 4/7] Added Issue Management API project Added Issue Management API project for gsoc 2020 as per the latest development and requirement in codebadge. --- .../gsoc2020-ideas/Issue_Management_API.md | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 activities/gsoc2020/gsoc2020-ideas/Issue_Management_API.md diff --git a/activities/gsoc2020/gsoc2020-ideas/Issue_Management_API.md b/activities/gsoc2020/gsoc2020-ideas/Issue_Management_API.md new file mode 100644 index 0000000..c552e86 --- /dev/null +++ b/activities/gsoc2020/gsoc2020-ideas/Issue_Management_API.md @@ -0,0 +1,20 @@ +# **Issue Management API** +**Priority:- Moderate** +## **Summary** +In Codebadge, presently all the badge allotment computation are taking place on the basis of comment count. We want to create a smarter approach to give each user its token of appreciation. Moreover CRON jobs approach which is being followed at present is pretty slow and hence need to optimise it. Trello dashboard being an awesome tool to manage Issue and pull requests is something we would like to take into consideration as a platform to manage the tasks and issues. The task to be performed under this project are:- +* Creating a Webhook which fires when a issue is made on the project. This webhook link shall be provided to the admin at the time of adding an organization to his/her dashboard. +* Admin dashboard interact with Trello to add a new card on related section by using classification algorithm of machine learning. +* Trello award points are set at issue card on trello which are awarded using badge and point allotment system. +* Issue award points must be visible on github issue section. +* Card must be moved or deleted respectively whenever needed on the basis of development. Awards must be updated in case of shift. +* Auto assigning issue on the basis of past issue solutions. +* Update database schema wherever required with an efficient schema design. +* Reward point updates in database for issue and updating badges on basis of points. +Required Skills/knowledge: +* Good knowledge of databases +* languages such as NodeJs, python for machine learning +* experience of using github apis +* Good Knowledge of Modules Bundling +* Good Knowledge of making Restfull API services + +Difficulty Level: Moderate From 93bb0d65ec85678254c8a89de30dd07cdda444d5 Mon Sep 17 00:00:00 2001 From: Ayush Nagar <32647423+ayushnagar123@users.noreply.github.com> Date: Sun, 26 Jan 2020 23:34:32 +0530 Subject: [PATCH 5/7] Added Comment Management API project Added Comment Management API project for gsoc 2020 as per the latest development and requirement in codebadge project. --- .../gsoc2020-ideas/Comment_Management_API.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 activities/gsoc2020/gsoc2020-ideas/Comment_Management_API.md diff --git a/activities/gsoc2020/gsoc2020-ideas/Comment_Management_API.md b/activities/gsoc2020/gsoc2020-ideas/Comment_Management_API.md new file mode 100644 index 0000000..d8a0fd8 --- /dev/null +++ b/activities/gsoc2020/gsoc2020-ideas/Comment_Management_API.md @@ -0,0 +1,18 @@ +# **Comment Management API** +**Priority:- Moderate** +## **Summary** +* Creating a Webhook which fires when a comment is made on the issues/pull request. This webhook link shall be provided to the admin at the time of adding an organization to his/her dashboard. +* The comment must be analysed and decided how much the issue is relatable to the issue topic using machine learning. +* Reaction of other users shall award extra points for +ve comment and reduction in case of -ve comment/ reaction. +* Admin and maintainer +ve reactions and mentions must awarded with extra points. -ve reactions must be reflected in the same way. +* Comments must suggest the maintainer some contributor in case of issue. The person who has the most relatable comment must be suggested and shall be displayed on issue section. +* Inappropriate comments or language must be awarded a penalty. + +## **Required Skills/knowledge:** +* Good knowledge of databases +* languages such as NodeJs, python for machine learning +* experience of using github apis +* Good Knowledge of Modules Bundling +* Good Knowledge of making Restfull API services + +## **Difficulty Level: Moderate** From 08edc07fb4c45d7ef885dfaa6bdb5d990bb87cca Mon Sep 17 00:00:00 2001 From: Ayush Nagar <32647423+ayushnagar123@users.noreply.github.com> Date: Sun, 26 Jan 2020 23:36:10 +0530 Subject: [PATCH 6/7] fixed bugs --- activities/gsoc2020/gsoc2020-ideas/Issue_Management_API.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/activities/gsoc2020/gsoc2020-ideas/Issue_Management_API.md b/activities/gsoc2020/gsoc2020-ideas/Issue_Management_API.md index c552e86..420019d 100644 --- a/activities/gsoc2020/gsoc2020-ideas/Issue_Management_API.md +++ b/activities/gsoc2020/gsoc2020-ideas/Issue_Management_API.md @@ -10,11 +10,11 @@ In Codebadge, presently all the badge allotment computation are taking place on * Auto assigning issue on the basis of past issue solutions. * Update database schema wherever required with an efficient schema design. * Reward point updates in database for issue and updating badges on basis of points. -Required Skills/knowledge: +## **Required Skills/knowledge:** * Good knowledge of databases * languages such as NodeJs, python for machine learning * experience of using github apis * Good Knowledge of Modules Bundling * Good Knowledge of making Restfull API services -Difficulty Level: Moderate +## **Difficulty Level: Moderate** From f5069128b279ea9f0574e0df0ea8e140be6a1ee2 Mon Sep 17 00:00:00 2001 From: Ayush Nagar <32647423+ayushnagar123@users.noreply.github.com> Date: Sun, 26 Jan 2020 23:37:54 +0530 Subject: [PATCH 7/7] fixed bugs --- ...est_Webhook_manager_API.md => Pull_Request_manager_API.md} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename activities/gsoc2020/gsoc2020-ideas/{Pull_Request_Webhook_manager_API.md => Pull_Request_manager_API.md} (96%) diff --git a/activities/gsoc2020/gsoc2020-ideas/Pull_Request_Webhook_manager_API.md b/activities/gsoc2020/gsoc2020-ideas/Pull_Request_manager_API.md similarity index 96% rename from activities/gsoc2020/gsoc2020-ideas/Pull_Request_Webhook_manager_API.md rename to activities/gsoc2020/gsoc2020-ideas/Pull_Request_manager_API.md index cda7421..a41f39d 100644 --- a/activities/gsoc2020/gsoc2020-ideas/Pull_Request_Webhook_manager_API.md +++ b/activities/gsoc2020/gsoc2020-ideas/Pull_Request_manager_API.md @@ -1,4 +1,4 @@ -# **Pull Request Webhook manager API** +# **Pull Request manager API** **Priority:- High** ## **Summary** In Codebadge, presently all the badge allotment computation are taking place on the basis of comment count. We want to create a smarter approach to give each user its token of appreciation. Moreover CRON jobs approach which is being followed at present is pretty slow and hence need to optimise it. Trello dashboard being an awesome tool to manage Issue and pull requests is something we would like to take into consideration as a platform to manage the tasks and issues. The task to be performed under this project are:- @@ -19,4 +19,4 @@ In Codebadge, presently all the badge allotment computation are taking place on * Good Knowledge of Modules Bundling * Good Knowledge of making restful API services -Difficulty Level: Moderate +## **Difficulty Level: Moderate**