Am 17.07.2012 18:53, schrieb Daniel Cassidy:
> Hi all,
>
> I created automated Git mirrors of various Haxe projects for my own
> use, and I thought I might as well put them where other people can see
> them:
https://github.com/haxe-mirrors
>
> I realise this is largely redundant work as there are existing Git
> mirrors for most of these projects, but I wasn�t satisfied with the
> mirrors I could find for various reasons. I�ve tried to get my mirrors
> into as good a state as possible, so that they would be suitable for
> use immediately should any of these projects decide to switch to git,
> hint hint ;).
>
>
> The mirror for Haxe itself is at
https://github.com/haxe-mirrors/haxe
>
> This is very similar to Philipp Klose�s (TheHippo) mirror, in that it
> tracks not only Haxe itself but also ocamllibs and the
install.ml
> script, and merges them all into a single repository that should allow
> anyone to build out-of-the-box (provided that they have installed git
> and OCaml and a C compiler and, for non-Windows platforms, zlib).
>
> I did try to use Philipp�s mirror but his
install.ml didn�t work on
> Windows, and his ocamllibs was still tracking CVS, and missing some
> files required on Windows that he seems to have gitignored by mistake.
> I tried to get it into working order, but he has checked in
install.ml
> and ocamllibs pre-modified, so I found it hard to distinguish
> intentional changes from differences in the version he started with.
> In the end I gave up and started from scratch. That�s probably more my
> fault than his.
>
> My mirror tracks the complete, unmodified history of its component
> parts in separate branches so you can always do a diff to see what
> I�ve changed compared to vanilla (just
install.ml, README.md and
> .gitignore).
>
> You should be able to clone it and compile out-of-the-box with ocaml
>
install.ml. I�ve tested it on Windows and Ubuntu. I will test it on
> OSX shortly.
>
> The README contains building instructions that I think are more
> up-to-date and certainly more straightforward than the ones on the
> Haxe wiki, so I will update the Haxe wiki with similar instructions
> for SVN users unless someone thinks I�ve got it wrong.
>
>
> My other mirrors just track their respective SVN repositories with no
> special changes.
>
> For all of the mirrors I�ve tried to match up SVN usernames with
> developer�s real names and email addresses so that all git commits are
> properly attributed, and match up to developer�s GitHub accounts where
> they exist. I�ve only done that where developers are clearly publicly
> associated with the project, though (e.g. they�ve clearly identified
> themselves on corresponding mailing lists, or they commit to SVN using
> their real names or email addresses as an SVN username). I�m not in
> the business of invading people�s privacy, so where developers have
> made a clear effort to remain anonymous or pseudonymous, I�ve
> respected that.
>
> I�ve also noticed that some of the existing mirrors update annoyingly
> infrequently. Mine update every hour. It did occur to me that this
> might be to avoid hammering the SVN servers, but then the amount of
> data transferred is the same either way, and so far all of these
> repositories are on Google Code, which can certainly handle it :).
>
>
> Anyway, if you think this is useful, or useless, or something is
> broken, or someone would like me to add more mirrors, or anyone is
> particularly offended by what I�m doing, let me know.
On that note I would like to mention that haxelib supports git now, so
you can for example do
haxelib git tink
https://github.com/back2dos/tinkerbell src
in order to install a tink library which draws its sources from the
given github project (+ src subdirectory).
Example for the hxformat mirror:
haxelib git format
https://github.com/haxe-mirrors/hxformat
haxelib upgrade will also check git repositories and automatically pull
newer versions if available.
Simon