[Koha-devel] Git Repository Questions

Mason James mason.loves.sushi at gmail.com
Tue Jan 6 22:53:38 CET 2009


On 2009/01/7, at 10:38 AM, Kyle Hall wrote:

> Hello All,
>   I'm trying to do something that I'm sure is doable with git. I would
> like to set a 'middle-man' git repository that I can push and pull
> from to manage our development and production servers for our
> switchover to koha 3 and future development.
>
> (git.koha.org)  --> (MyKohaGit) <---> (KohaDevServer)
>                                       \------------->  
> (KohaProductionServer)
>
> So MyKohaGit pulls changes from git.koha.org, I pull and push changes
> between MyKohaGit and KohaDevServer, and when I'm satisfied that the
> changes are production ready, I pull the changes from MyKohaGit to
> KohaProductionServer.
>
> I know I could just go straight between KohaDevServer and
> KohaProductionServer, but I'd like to make MyKohaGit public so others
> can track my updates that haven't made it into the official git repo
> yet.
>
> Is it really as simple as cloning git.koha.org and making it available
> via http/ssh?

yep ;)

install gitweb too, so people can browse your repo with ease


> I've tried creating an empty repository and pushing to
> it from a clone of git.koha.org, and it populates it, but I don't seem
> to have a mechanism to update MyKohaGit directly from git.koha.org.


a 'git pull git://git.koha.org/pub/scm/koha.git' should do it



More information about the Koha-devel mailing list