Git integration and how would it be integrated into the task.

Created on 25 December 2024, 12 days ago

Problem/Motivation

Having Git integration in the Burndown module offers some possible positives. It would allow users to see if any commits have been made without constantly checking a third-party service. If you're using Drupal as a company intranet or a similar use case, it would help teams or individuals who may not have access to advanced Git tools and resources like GitHub by providing them with a view of the information and helping with collaboration.

Would using the PHP library below in a child module be possible? Additionally, is it technically possible to link the task to the Git repository logs and maybe code changes so they could be viewed? Could you provide a global understanding of how it would be implemented?

https://github.com/czproject/git-php
Feature request
Status

Active

Version

1.0

Component

Code

Created by

🇦🇺Australia purencool

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @purencool
  • 🇨🇦Canada jeremylichtman

    That library is more for handling a local git repo.

    I looked into GitHub integration when I first built this module. At that time, integrating was really unwieldy. i.e. if you had a website and you wanted to integrate, then you'd contact GH and do some contractual stuff, and then they'd open up a special API for that. There wasn't a generic way to have a module and just plug in some config options and have it all work.

    Not sure what the story is today. Maybe it's easier now.

    I think if it's feasible though, it should probably be a separate module (i.e. burndown_github).

  • 🇨🇦Canada jeremylichtman

    Here's their API documentation: https://docs.github.com/en/rest/quickstart?apiVersion=2022-11-28

    Looks like it is much more feasible today. Should still be a separate module (possibly I'd need to add more extensibility to this module). Their REST API is very complex, and there's a lot of different things that integration could do. It would need to be carefully planned out.

Production build 0.71.5 2024