Rainer -

You could setup a directory that is a clone of the Github with a remote added 
for the destination the use a bash script that is setup as a cron job that does 
something along the lines of:

#!/bin/bash

REPODIR=/path/to/clone

cd ${REPODIR}
for branch in `git branch | cut -c 3-` 
  do
    git checkout ${branch}
    git pull origin ${branch}
    git push adiscon ${branch}
done 

It's not glamorous, but it would keep things pulling from the Github and 
pushing to the remote. The only time it would break is if you were deleting or 
resetting the repo that its pulling from. Just a thought. I'm sure there are 
better git commands that you could run in the for loop that would be cleaner.

-- James 

-----Original Message-----
From: [email protected] 
[mailto:[email protected]] On Behalf Of Rainer Gerhards
Sent: Tuesday, January 14, 2014 2:24 AM
To: rsyslog-users
Subject: Re: [rsyslog] prime repositroy location for repos with multiple 
comittors

OK, I have now manually synced the two repos. Need to check how to do a cron 
job for that (with the bare repo being the target...). That's something to 
think about. along those lines, I don't think we necessarily need to duplicate 
new repositories, as obviously nobody could yet use them on the Adiscon server. 
Just FYI.

Rainer


On Mon, Jan 13, 2014 at 8:28 PM, David Lang <[email protected]> wrote:

> On Mon, 13 Jan 2014, Rainer Gerhards wrote:
>
>  Makes sense. Thx. Any other concerns?
>>
>
> no, as long as we don't break any existing configs (by keeping the 
> current repos up to date), it's going to be pretty trivial to change 
> which of the identical repos are the 'official master'
>
> David Lang
>
>
>  Rainer
>>
>> Sent from phone, thus brief.
>> Am 13.01.2014 20:12 schrieb "David Lang" <[email protected]>:
>>
>>  On Mon, 13 Jan 2014, Rainer Gerhards wrote:
>>>
>>>  Consequently, I will not create a rsyslog-doc repository on the 
>>> adiscon
>>>
>>>> server and I will remove the librelp repo from the Adiscon server, 
>>>> making the github repo the only official one for the time being.
>>>>
>>>>
>>> Please don't remove the existing repos, people who have cloned them 
>>> in the past will now miss any updates.
>>>
>>> Instead just setup a cron to pull from the github repo reasonably 
>>> frequently and forget it.
>>>
>>> David Lang
>>> _______________________________________________
>>> rsyslog mailing list
>>> http://lists.adiscon.net/mailman/listinfo/rsyslog
>>> http://www.rsyslog.com/professional-services/
>>> What's up with rsyslog? Follow https://twitter.com/rgerhards NOTE 
>>> WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad 
>>> of sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if 
>>> you DON'T LIKE THAT.
>>>
>>>  _______________________________________________
>> rsyslog mailing list
>> http://lists.adiscon.net/mailman/listinfo/rsyslog
>> http://www.rsyslog.com/professional-services/
>> What's up with rsyslog? Follow https://twitter.com/rgerhards NOTE 
>> WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad 
>> of sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if 
>> you DON'T LIKE THAT.
>>
>>  _______________________________________________
> rsyslog mailing list
> http://lists.adiscon.net/mailman/listinfo/rsyslog
> http://www.rsyslog.com/professional-services/
> What's up with rsyslog? Follow https://twitter.com/rgerhards NOTE 
> WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad of 
> sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you 
> DON'T LIKE THAT.
>
_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com/professional-services/
What's up with rsyslog? Follow https://twitter.com/rgerhards NOTE WELL: This is 
a PUBLIC mailing list, posts are ARCHIVED by a myriad of sites beyond our 
control. PLEASE UNSUBSCRIBE and DO NOT POST if you DON'T LIKE THAT.
_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com/professional-services/
What's up with rsyslog? Follow https://twitter.com/rgerhards
NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad of 
sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you DON'T LIKE 
THAT.

Reply via email to