Re: [PATCH] archimport improvements
- From
Martin Langhoff <martin.langhoff@gmail.com>
- Date
- Nov 17, 2005, 09:26 UTC
- Message-ID
- <46a038f90511170126l5f04f4e0ta578fc2cb375db68@mail.gmail.com>
- In-Reply-To
- <20051112092336.GA16218@Muzzle>
Eric,
I've merged and pushed out to http://locke.catalyst.net.nz/git/git-martinlanghoff.git/#tojunio
[PATCH 1/5] remove shellquote usage for tags [PATCH 2/5] archimport: don't die on merge-base failure [PATCH 3/5] Disambiguate the term 'branch' in Arch vs git [PATCH 1/2] archimport: allow for old style branch and public tag names
That last one had a small edit to rebase it to the top of the head -- will probably have a small conflict for you on the usage line and getopts() line.
What is pending is...
* [PATCH 4/5] Overhaul of changeset application
I am testing it right now. Finding it rather slow on an idle linux workstation with fast IDE disks, no X.org loaded and 1GB or RAM. iowait is pegged at 90%. Wonder what will happen on a system with slow disk access. tla/baz are unusable under any OS where the fs stack is not _that_ polished (OSX and friends).
The early versions of the import also used $TLA for all ops, and I was forced to change it to get my repos transformed in a reasonable time.
Can you send me a patch that makes it optional, so users can choose fast or correct? I don't want to force glacial imports on anyone, specially me. Testing an import of a reasonably sized repo must be a quick operation or I won't do it ;-) And I do work on OSX too.
On the other hand, I might just implement renamed directories tracking separately, specially if someone can point me to a public repo with some interesting cases of renamed directories.
These patches seem to hang from 4/5 so will need rebasing after a reworked. The first one seems to be 3 or 4 patches in one. It'd be good to break it up.
* [ PATCH 5/5] -D <depth> option to recurse into merged branches * Re: [PATCH 5/5] -D <depth> option to recurse into merged branches * [PATCH 2/2] archimport: sync_to_ps() messages for tracking tla methods
If you want to see the repos I'm testing with, register arch-eduforge@catalyst.net.nz--2004 http://nzvle.eduforge.org/arch-mirror/ and try:
~/local/git/git-archimport.perl -v \
arch-eduforge@catalyst.net.nz--2004/moodle-org--moodle \
arch-eduforge@catalyst.net.nz--2004/moodle--local \
arch-eduforge@catalyst.net.nz--2004/moodle--local-forum-types \
arch-eduforge@catalyst.net.nz--2004/moodle--local-lock-content \
arch-eduforge@catalyst.net.nz--2004/moodle--nmit \
arch-eduforge@catalyst.net.nz--2004/moodle--topnzcheers,
martin