Skip to Content.
Sympa Menu

sm-discuss - Re: [SM-Discuss] public git repos

sm-discuss AT lists.ibiblio.org

Subject: Public SourceMage Discussion List

List archive

Chronological Thread  
  • From: Arwed von Merkatz <v.merkatz AT gmx.net>
  • To: sm-discuss <sm-discuss AT lists.ibiblio.org>
  • Subject: Re: [SM-Discuss] public git repos
  • Date: Fri, 09 Apr 2010 07:40:43 +0200

Excerpts from Robert Figura's message of Thu Apr 08 21:27:17 +0200 2010:
> Jeremy Blosser <jblosser-smgl AT firinn.org> schrieb:
>
> > Most of you have heard me ask that you not encourage external sites or
> > non-devs to pull from our git repos because the primary site has capped
> > bandwidth. Some of you have even listened. ;-P
> >
> > I have been working on public git repos for a while, the main issue has
> > been that not all of our mirror sites will host git://, and I really try
> > to
> > avoid doing protocol one-offs. We haven't always used git, we may not use
> > it forever, though obviously we're pretty invested in it.
> >
> > Anyway, I finally just went ahead and setup git.download.sourcemage.org
> > for
> > those mirrors that can do git. These are readonly and are updated hourly
> > from our scm master. These can be public and used by anybody*.
> >
>
> > git://git.download.sourcemage.org/smgl/grimoire.git
>
> Since i'm only an occasional developer i'd like to always pull from the
> mirrors and post to ssh. This would only make sense when the mirrors
> would be quite recent. What could the expected timeframe be?
>
> And before i look it up and since it might be interesting for others:
> What to put into .git/config to pull and push on different locations.
> Someone already has an example?

git remote add public git://git.download.sourcemage.org/smgl/grimoire.git

and then (assuming you cloned from ssh, which makes the ssh url 'origin'):
git pull public
git push origin
--
Arwed v. Merkatz Source Mage GNU/Linux developer
http://www.sourcemage.org




Archive powered by MHonArc 2.6.24.

Top of Page