Page 1 of 1

Jiwa and GitHub (JitHub)  Topic is solved

PostPosted: Sun Dec 11, 2022 9:13 am
by SBarnes
A couple of years back I started on a plugin based upon this library that uses the GitHub api https://github.com/octokit/octokit.net but the whole thing went on hiatus due to lack of time, finally I got to dust it off and finish it.

What is does is introduce version control to Jiwa by interacting with GitHub, where it adds version control is in the following way:

  • It adds two buttons to plugin maintenance one to send the plugin to GitHub and one to increment the version number
  • When a new plugin is created it will fill in the author based upon a system setting and create the version number based upon the version number of the Jiwa database
  • It adds a button to the rows in the reports screen to send the reports to GitHub

What you need to do to make it work

  • A GitHub account, not sure if it needs to be a paid account I know you need that if you want private repositories
  • You need to generate an api key for the GitHub account, this is done under the developer section under settings inside GitHub, make sure you choose to enable the repository options
  • Put the generated key in system settings
  • Create a repository and put its name in the system settings

Hopefully this will be useful to people.

Re: Jiwa and GitHub (JitHub)

PostPosted: Sun Dec 11, 2022 9:01 pm
by pricerc
paid account...private repositories


You can have private repositories with with a free account, but there are limits to how many, and with how many people you can share them.

Re: Jiwa and GitHub (JitHub)

PostPosted: Wed May 10, 2023 7:05 pm
by SBarnes
An improved version of the original plugin that will now allow you to specify the branch to push the files into and it will now work with an organization in grabbing the list of repositories, leave the organization blank and it will perform the old behavior of looking in the repositories for the current user.