Integrating github with redmine

Hello,

do we have a wiki page about how to integrate a github repo to
attach/autoclose PRs against tickets?

I'd like to have this repo integrated:

Thanks.

··· -- Later, Lukas #lzap Zapletal

> Hello,
>
> do we have a wiki page about how to integrate a github repo to
> attach/autoclose PRs against tickets?

I don't think so.

> I'd like to have this repo integrated:
>
> https://github.com/theforeman/foreman-discovery-image

Add it to Redmine's cronjob to sync it
(https://github.com/theforeman/redmine/blob/master/.openshift/cron/hourly/git_repos)
and then once merged, it'll be available within an hour to add under the
Redmine project's settings tab.

··· On 02/10/15 14:40, Lukas Zapletal wrote:


Dominic Cleal
dominic@cleal.org

> Add it to Redmine's cronjob to sync it
> (https://github.com/theforeman/redmine/blob/master/.openshift/cron/hourly/git_repos)
> and then once merged, it'll be available within an hour to add under the
> Redmine project's settings tab.

Thank, no other actions needed afterwards?

··· -- Later, Lukas #lzap Zapletal

No, adding the repo under the project is enough once it exists (thanks
to cron) - the auto-close settings are defined globally in Redmine.

··· On 06/10/15 12:31, Lukas Zapletal wrote: >> Add it to Redmine's cronjob to sync it >> (https://github.com/theforeman/redmine/blob/master/.openshift/cron/hourly/git_repos) >> and then once merged, it'll be available within an hour to add under the >> Redmine project's settings tab. > > Thank, no other actions needed afterwards?


Dominic Cleal
dominic@cleal.org

I wanted to do the same for deployments. I realized the update_repo line
is already present but issues don't get auto-closed. Any idea why it
doesn't work?

Thanks
T.

··· On 10/06/2015 01:37 PM, Dominic Cleal wrote: > On 06/10/15 12:31, Lukas Zapletal wrote: >>> Add it to Redmine's cronjob to sync it >>> (https://github.com/theforeman/redmine/blob/master/.openshift/cron/hourly/git_repos) >>> and then once merged, it'll be available within an hour to add under the >>> Redmine project's settings tab. >> >> Thank, no other actions needed afterwards? > > No, adding the repo under the project is enough once it exists (thanks > to cron) - the auto-close settings are defined globally in Redmine. >

The repo hadn't been added under the settings tab of the Redmine
project, I've done it now. Ohad is the only Redmine project manager for
it, is that correct?

··· On 06/10/15 13:32, Tomas Strachota wrote: > On 10/06/2015 01:37 PM, Dominic Cleal wrote: >> On 06/10/15 12:31, Lukas Zapletal wrote: >>>> Add it to Redmine's cronjob to sync it >>>> (https://github.com/theforeman/redmine/blob/master/.openshift/cron/hourly/git_repos) >>>> and then once merged, it'll be available within an hour to add under the >>>> Redmine project's settings tab. >>> >>> Thank, no other actions needed afterwards? >> >> No, adding the repo under the project is enough once it exists (thanks >> to cron) - the auto-close settings are defined globally in Redmine. >> > > I wanted to do the same for deployments. I realized the update_repo line > is already present but issues don't get auto-closed. Any idea why it > doesn't work?


Dominic Cleal
dominic@cleal.org

Yes, he's the only one now. I think it would be handy to let Shim and/or
me manage the project too.

T.

··· On 10/06/2015 02:37 PM, Dominic Cleal wrote: > On 06/10/15 13:32, Tomas Strachota wrote: >> On 10/06/2015 01:37 PM, Dominic Cleal wrote: >>> On 06/10/15 12:31, Lukas Zapletal wrote: >>>>> Add it to Redmine's cronjob to sync it >>>>> (https://github.com/theforeman/redmine/blob/master/.openshift/cron/hourly/git_repos) >>>>> and then once merged, it'll be available within an hour to add under the >>>>> Redmine project's settings tab. >>>> >>>> Thank, no other actions needed afterwards? >>> >>> No, adding the repo under the project is enough once it exists (thanks >>> to cron) - the auto-close settings are defined globally in Redmine. >>> >> >> I wanted to do the same for deployments. I realized the update_repo line >> is already present but issues don't get auto-closed. Any idea why it >> doesn't work? > > The repo hadn't been added under the settings tab of the Redmine > project, I've done it now. Ohad is the only Redmine project manager for > it, is that correct? >

You should be able to now.

··· On 06/10/15 13:50, Tomas Strachota wrote: > On 10/06/2015 02:37 PM, Dominic Cleal wrote: >> On 06/10/15 13:32, Tomas Strachota wrote: >>> On 10/06/2015 01:37 PM, Dominic Cleal wrote: >>>> On 06/10/15 12:31, Lukas Zapletal wrote: >>>>>> Add it to Redmine's cronjob to sync it >>>>>> (https://github.com/theforeman/redmine/blob/master/.openshift/cron/hourly/git_repos) >>>>>> and then once merged, it'll be available within an hour to add under the >>>>>> Redmine project's settings tab. >>>>> >>>>> Thank, no other actions needed afterwards? >>>> >>>> No, adding the repo under the project is enough once it exists (thanks >>>> to cron) - the auto-close settings are defined globally in Redmine. >>>> >>> >>> I wanted to do the same for deployments. I realized the update_repo line >>> is already present but issues don't get auto-closed. Any idea why it >>> doesn't work? >> >> The repo hadn't been added under the settings tab of the Redmine >> project, I've done it now. Ohad is the only Redmine project manager for >> it, is that correct? >> > > Yes, he's the only one now. I think it would be handy to let Shim and/or > me manage the project too.


Dominic Cleal
dominic@cleal.org

I am, thanks!

··· On 10/06/2015 02:58 PM, Dominic Cleal wrote: > On 06/10/15 13:50, Tomas Strachota wrote: >> On 10/06/2015 02:37 PM, Dominic Cleal wrote: >>> On 06/10/15 13:32, Tomas Strachota wrote: >>>> On 10/06/2015 01:37 PM, Dominic Cleal wrote: >>>>> On 06/10/15 12:31, Lukas Zapletal wrote: >>>>>>> Add it to Redmine's cronjob to sync it >>>>>>> (https://github.com/theforeman/redmine/blob/master/.openshift/cron/hourly/git_repos) >>>>>>> and then once merged, it'll be available within an hour to add under the >>>>>>> Redmine project's settings tab. >>>>>> >>>>>> Thank, no other actions needed afterwards? >>>>> >>>>> No, adding the repo under the project is enough once it exists (thanks >>>>> to cron) - the auto-close settings are defined globally in Redmine. >>>>> >>>> >>>> I wanted to do the same for deployments. I realized the update_repo line >>>> is already present but issues don't get auto-closed. Any idea why it >>>> doesn't work? >>> >>> The repo hadn't been added under the settings tab of the Redmine >>> project, I've done it now. Ohad is the only Redmine project manager for >>> it, is that correct? >>> >> >> Yes, he's the only one now. I think it would be handy to let Shim and/or >> me manage the project too. > > You should be able to now. >