About setting up official git & bzr mirrors.

Time ago when the svn server was crawling due to massive hammering from
people mirroring the repo, someone said that after the 2.6 release we
could discuss creating official mirrors for those who work with svn
clients based on distributed VCSs such as git and bazaar.

Such mirrors increase productivity (facilitating experimentation and
parallel tasks, allowing off-line work) and even lessens the workload of
the svn server, as lots of expensive operations (log, annotate,
bisecting, etc) are performed locally.

There is a git mirror that works quite well, but there is no bazaar
mirror and it is impossible to create one due to the measures taken for
preventing svn server abuse.

I'm not going to start a technical discussion (aka flamewar) comparing
git and bzr. I hope it is enough to say that some of us prefer bzr to
git and mostly want to avoid using git on Windows.

So I'm asking to the powers that be some collaboration, either for
mirroring themselves the llvm repos (llvm, clang, maybe gcc too), or for
whitelisting some machine that would hold the master bzr mirror.

We have new LLVM server that is being set up (delayed because I was working on 2.6). I'd like to postpone this discussion until that is finished (which I don't have an ETA, but hopefully over the next few weeks).

Thanks,
Tanya

Due to a current need to have a git mirror for LLVM, I'm resurrecting this old thread.

I'm aware that there exist already LLVM git mirrors at git://repo.or.cz/llvm.git and git://github.com/earl/llvm-mirror.git However, these repositories only mirror the current SVN trunk and do no provide any branch and tag information, which would be very convenient for creating experimental branches that arise from a particular LLVM release. Also, the collaborative features of repositories like github would allow to easily share changes.

As Oscar mentioned in his post, it no longer possible for ordinary users to create such a mirror via git-svn, due to the measures take for protecting the SVN server from these kind of actions (probably through mod_dontdothat).

Is there any plans to provide an official git mirror for LLVM which does not only track the SVN trunk but provides also the branch and tag information from SVN.

It's probably not very useful to have the whole SVN history since revision 1, for my purposes, having the history from LLVM 2.5 onwards would be sufficient.

Regards,
Christian

But I wasn't--thanks. I'm not doing anything with LLVM that needs it, but if I do I'll find that a big help. I find git to be such a useful productivity tool that if I was actually working with the LLVM codebase and can't clone the svn repo I'd have to download with svn and then manually create local git repos for actual work.

Dustin

I pushed release branches (release_2[0-6]) to my mirror at
http://github.com/earl/llvm-mirror and also tagged the latest commit on
each branch accordingly (RELEASE_2[0-6]). If anyone encounters something
odd-looking on those branches, please let me know.

Hope that helps.

Hi Anton,

Could you provide branch and tag information in your clang mirror at git://repo.or.cz/clang.git?

Thanks,
Victor

Launchpad already maintains bzr mirrors:
http://code.launchpad.net/llvm

The mirrors are the lp:~vcs-import branches (a specific launchpad user used for automatically mirroring branches).

Baptiste.

2009/10/28 Óscar Fuentes <ofv@wanadoo.es>

Baptiste Lepilleur <baptiste.lepilleur@gmail.com> writes:

Launchpad already maintains bzr mirrors:
http://code.launchpad.net/llvm

The mirrors are the lp:~vcs-import branches (a specific launchpad user used
for automatically mirroring branches).

Those mirrors are outdated by several months, plus they have a
relatively short part of the history (for LLVM, starts on May 2009)

I always had the impression that for git-svn to work the whole history
is required. This is why I use the http://github.com/earl repository for
my git work.

To make work with git effective everybody should have the same base
repository. This is why it does not make a lot of sense to have
different repositories starting at different commits. The advantage of
an official llvm git repository would be that there is a know base
repository for all of us.

Tobi

Hello, Tobias

To make work with git effective everybody should have the same base
repository. This is why it does not make a lot of sense to have
different repositories starting at different commits. The advantage of
an official llvm git repository would be that there is a know base
repository for all of us.

Correct. I won't care about adding additional stuff to git mirror (at
repo.or.cz) of llvm repository until the new server for llvm will be
operational.
After that it's planned to have all sorts of interesting stuff like
automatic mirroring, etc.

Unfortunately, I don't have any time information on the hands.