Re: [Haskell-cafe] [ANNOUNCE] git-darcs-import 0.1

2008-06-04 Thread John Goerzen
Loup Vaillant wrote:
> 2008/6/3 Darrin Thompson <[EMAIL PROTECTED]>:
>> On Sun, Jun 1, 2008 at 2:44 PM, Bertram Felgenhauer
>> <[EMAIL PROTECTED]> wrote:
>>> Hi,
>>>
>>> I'm pleased to announce yet another tool for importing darcs repositories
>>> to git. Unlike darcs2git [1] and darcs-to-git [2], it's written in
>>> Haskell, on top of the darcs2 source code. The result is a much faster
>>> program - it can convert the complete ghc 6.9 branch (without libraries)
>>> in less than 15 minutes on my slightly dated machine (Athlon XP 2500+),
>>> which is quite fast [3]. Incremental updates work, too.
>>>
>> What's the appeal of this? I personally love git, but I thought all
>> the cool kids at this school used darcs and that was that.
> 
> Disclaimer: I'm no expert, this is what I've heard. Anyone please
> confirm or deny the following?

I've never been a cool kid at school, but I switched from Darcs to Git
recently.  I have not regretted it.  Git has quite a few features Darcs
doesn't by now, and there is a little bit (but not much) in the other
direction.  That and the lack of the indempotent merge bug.

Git's interface has really cleaned up in the last year, and it seems to
be well on the way to becoming the defacto DVCS of choice.  Maybe next
week, when it's picked up the last of the superdelegates, we can say for
sure, but of course bzr won't conceed anything at this point

(OK, so we've had mind-numbing election coverage here in the US for too
long)

I've blogged about this.  http://changelog.complete.org/plugin/tag/git
will get you most of the relevant posts.

-- John
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] [ANNOUNCE] git-darcs-import 0.1

2008-06-03 Thread Bertram Felgenhauer
Darrin Thompson wrote:
> On Sun, Jun 1, 2008 at 2:44 PM, Bertram Felgenhauer
> <[EMAIL PROTECTED]> wrote:
> > I'm pleased to announce yet another tool for importing darcs repositories
> > to git. [...]
>
> What's the appeal of this? I personally love git, but I thought all
> the cool kids at this school used darcs and that was that.

For myself, git-darcs-import itself is an opportunity to learn more
about both darcs and git. It wasn't meant to be argument in the git
vs. darcs discussion, although it was inevitable that it would be
seen as such.

I really like darcs' concepts, but in my opinion, darcs doesn't get
enough power out of the theory of patches to really shine so far.

This is a hard problem, and I can't offer solutions. Ideally, you'd have
semantic patches which just commute with virtually all other patches
because they "know" what they are about. The only thing that darcs
offers in that direction - besides handling conflicts, mergers and
undos gracefully, which is quite useful in itself - is a keyword
substitution patch type.

In the meantime, I prefer git to darcs, mainly because I'm sort of
attached to seeing the development history, i.e. I prefer to think of
patches as (partially) ordered instead of being a cloud of patches
that darcs uses as a model.

Bertram
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] [ANNOUNCE] git-darcs-import 0.1

2008-06-03 Thread Loup Vaillant
2008/6/3 Darrin Thompson <[EMAIL PROTECTED]>:
> On Sun, Jun 1, 2008 at 2:44 PM, Bertram Felgenhauer
> <[EMAIL PROTECTED]> wrote:
>> Hi,
>>
>> I'm pleased to announce yet another tool for importing darcs repositories
>> to git. Unlike darcs2git [1] and darcs-to-git [2], it's written in
>> Haskell, on top of the darcs2 source code. The result is a much faster
>> program - it can convert the complete ghc 6.9 branch (without libraries)
>> in less than 15 minutes on my slightly dated machine (Athlon XP 2500+),
>> which is quite fast [3]. Incremental updates work, too.
>>
>
> What's the appeal of this? I personally love git, but I thought all
> the cool kids at this school used darcs and that was that.

Disclaimer: I'm no expert, this is what I've heard. Anyone please
confirm or deny the following?

Basically, git is waaay faster than Darcs on a number of use cases.
So, maybe the point of using this converter is when you just cannot
use Darcs any more (too old/big project, merging huge branch with
loads of conflicts, I don't know).

Another point may be "broadcast-ability": It is possible to expose two
repositories: one Darcs, one Git. If I use Git and not Darcs (please
don't sue me), it will be simpler for me to get the source from the
Git snapshot, provided there is one. Well, if I want to contribute
back... maybe I should switch.

I think the True Heresy (and most useful, if practical) would be to
convert back and forth between the two version control systems,
accepting patches from both :-)

Loup
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] [ANNOUNCE] git-darcs-import 0.1

2008-06-03 Thread Darrin Thompson
On Sun, Jun 1, 2008 at 2:44 PM, Bertram Felgenhauer
<[EMAIL PROTECTED]> wrote:
> Hi,
>
> I'm pleased to announce yet another tool for importing darcs repositories
> to git. Unlike darcs2git [1] and darcs-to-git [2], it's written in
> Haskell, on top of the darcs2 source code. The result is a much faster
> program - it can convert the complete ghc 6.9 branch (without libraries)
> in less than 15 minutes on my slightly dated machine (Athlon XP 2500+),
> which is quite fast [3]. Incremental updates work, too.
>

What's the appeal of this? I personally love git, but I thought all
the cool kids at this school used darcs and that was that.

--
Darrin
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] [ANNOUNCE] git-darcs-import 0.1

2008-06-02 Thread Bertram Felgenhauer
Thomas Schilling wrote:
>
> On 1 jun 2008, at 20.44, Bertram Felgenhauer wrote:
[git-darcs-import]
>
> Nice!  Do you happen to also have a darcs (or Git) repository somewhere?

I've uploaded my (git) repo to repo.or.cz, see
http://repo.or.cz/w/git-darcs-import.git

Patches are welcome.

enjoy,

Bertram
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] [ANNOUNCE] git-darcs-import 0.1

2008-06-02 Thread Thomas Schilling


On 1 jun 2008, at 20.44, Bertram Felgenhauer wrote:


Hi,

I'm pleased to announce yet another tool for importing darcs  
repositories

to git. Unlike darcs2git [1] and darcs-to-git [2], it's written in
Haskell, on top of the darcs2 source code. The result is a much faster
program - it can convert the complete ghc 6.9 branch (without  
libraries)
in less than 15 minutes on my slightly dated machine (Athlon XP 2500 
+),

which is quite fast [3]. Incremental updates work, too.


Nice!  Do you happen to also have a darcs (or Git) repository somewhere?

/ Thomas
--
Monkey killing monkey killing monkey over pieces of the ground.
Silly monkeys give them thumbs they forge a blade
And where there's one they're bound to divide it
Right in two



PGP.sig
Description: This is a digitally signed message part
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe