Project

General

Profile

Simple Github Push plugin

Added by Christian Fischer over 12 years ago

What i am trying to achieve is really simple:

A Redmine Project (more exactly: a repository) should be pushed/synced to github.
So i did try to write a Plugin for redmine, but now i am stuck. I read the Howto Write Plugins and got over the Plugin Internals but didn't help.

At Repository Settings screen, i do want a small checkbox saying "This Project should be pushed to github"

I do have a Migration already, new boolean column in repositories table.
Now i need to have a checkbox setting this value true or false (default ist false of course).

How do i hook into the repositories settings view to add this checkbox?

Next step would be a cron to check all repos for this "flag" and updates and push them to github.
Perhaps there will be some settings screen to configure the remote github account via WebInterface.

Thank you for your help