CSC/ECE 517 Fall 2023 - G2350. Add GitLab support for using GraphQL to query user metrics 1: Difference between revisions

From Expertiza_Wiki
Jump to navigation Jump to search
Line 45: Line 45:
i) Changed variable name from '''mmappings''' to '''meta_review_mappings''' to provide more context.
i) Changed variable name from '''mmappings''' to '''meta_review_mappings''' to provide more context.


[[Media:demo_gitlab.png]]
[[File:demo_gitlab.png]]


== Test Plan==
== Test Plan==

Revision as of 05:38, 15 November 2023

This wiki page is for information regarding the changes made for the G2350. Add GitLab support for using GraphQL to query user metrics 1 OSS assignment for Fall 2023, CSC/ECE 517.

Introduction

This project is dedicated to retrieving GitLab-specific data associated with a user by their username. Our objective was to fetch a comprehensive array of user-related information, including:

  • User commit comments
  • User issue comments
  • User gist comments
  • User repository discussion comments
  • User profile stats
  • User contribution collection

Using the powerful GraphQL APIs provided by GitLab, we aimed to streamline the extraction process and obtain a holistic view of a user's activity and contributions within the GitLab ecosystem.

About Controller

Problem Statement

  • Go through the github queries present in the repo
  • Execute the demo.py file to check how the code is executing for the github queries
  • Go through the gitlab documentation and write the relevant gitlab queries for the queries available on github.
  • Indicate the gitlab queries that are not available and what gitlab query has been obtained instead.
  • Ensure the code is not breaking.

Design Pattern

File(s) Modified

1. commit_comments.py
2. discussion_comments.py
3. issue_comments.py
4. snippet_comments.py
5. user_login.py
6. user_profile_stats.py
7. user_contribution_collections.py

Solutions/Details of Changes Made

1. Changes to variable names to make them reflect what they actually do.

i) Changed variable name from mmappings to meta_review_mappings to provide more context.

Test Plan

Team

Mentor

  • Jialin Cui

Team Members

  • Saikrishna Rajaraman (srajara4)
  • Siddharth Anand (sanand8)
  • Yash Chandrani (ychandr)