Gi2Et - App to pull details from Github Issues into ERPNext Task

If working on github issues is to be time logged using ERPNext. It becomes easy if issues are pulled into ERPNext tasks using Github API.

  • This small tool is doing the job for small projects.
  • Tried using it on frappe/bench issues and It skipped around 10 issues, I didn’t debug.
  • Set a github url under Project (not validated for now, just found a regex https://github.com/jonschlinkert/is-git-url/ we’ll use if required)

Gi2Et is named by @gvrvnk
https://gaurav-naik.github.io/gi2et/

2 Likes

I’m interested by the idea. There is a patch for the known bug ?

I could pull issues from github repos.

You need to generate a API token https://github.com/settings/tokens/new

Set the token in settings https://gaurav-naik.github.io/gi2et/user/setup/gi2et-settings.html

While adding a project, add the github url of the project.

Use Task Sync Tool. https://gaurav-naik.github.io/gi2et/user/gi2et-task-sync.html

Also solved the ascii issue. https://github.com/gaurav-naik/gi2et/issues/5

Test it out and suggest how it can be part of ERPNext on the github issue https://github.com/frappe/erpnext/issues/8669

We actually host our Git Server so how could I do ? Because there’s no API Token then

I developed the app for pulling github issues specifically

It needs to be modified for other hosts. gitlab has similar authentication methods as github.
Assumption is git host is web app with REST API

If you can suggest any UI/UX for
How to connect to different git hosts?
How to add git host specific endpoint?
how to enable / disable this feature.?
Sync Tool not required, button on project can be added directly?
any other suggestions

is it possible to call sync via API, or have a cronjob running to automatically pull from github regularly?

It is manual now. You’ve select project and sync.