* C# Git Implementation
@ 2008-11-28 13:37 JD Guzman
2008-11-28 13:45 ` Reece Dunn
` (2 more replies)
0 siblings, 3 replies; 8+ messages in thread
From: JD Guzman @ 2008-11-28 13:37 UTC (permalink / raw)
To: git
Hello I am new to the list and if I am not following some kind of list
ettiquite please let me know.
I read in the archives that there was once talk of porting Git over to C#
and was wondering if anything ever came of this? I realize there were some
that didn't see the use for this but as Git is becoming more and more
popular a more native implementation of Git for windows users would be a
good endevour IMHO.
At any rate any info would be greatly appreciated.
Regards,
JD Guzman
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: C# Git Implementation
2008-11-28 13:37 C# Git Implementation JD Guzman
@ 2008-11-28 13:45 ` Reece Dunn
2008-11-29 13:44 ` Andreas Ericsson
2008-11-29 18:08 ` Asheesh Laroia
2 siblings, 0 replies; 8+ messages in thread
From: Reece Dunn @ 2008-11-28 13:45 UTC (permalink / raw)
To: JD Guzman; +Cc: git
2008/11/28 JD Guzman <jd@jdguzman.com>:
> I read in the archives that there was once talk of porting Git over to C#
> and was wondering if anything ever came of this? I realize there were some
> that didn't see the use for this but as Git is becoming more and more
> popular a more native implementation of Git for windows users would be a
> good endevour IMHO.
There were several efforts made, but these have fallen by the wayside.
Since then, the mingw/msys port has made progress to the point where
git will use native calls. Most - if not all of this - has been merged
back into upstream git as of version 1.6.
Git works well on Windows and msysGit even provides a native installer
that installs the necessary companion tools and libraries.
Therefore, there is already a native version of Git for Windows that
is always up-to-date with the latest Git functionality (since it is
the same sourcecode!)
BTW: Kudos to everyone involved in the Windows port.
- Reece
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: C# Git Implementation
2008-11-28 13:37 C# Git Implementation JD Guzman
2008-11-28 13:45 ` Reece Dunn
@ 2008-11-29 13:44 ` Andreas Ericsson
2008-11-29 18:08 ` Asheesh Laroia
2 siblings, 0 replies; 8+ messages in thread
From: Andreas Ericsson @ 2008-11-29 13:44 UTC (permalink / raw)
To: JD Guzman; +Cc: git
JD Guzman wrote:
> Hello I am new to the list and if I am not following some kind of list
> ettiquite please let me know.
>
> I read in the archives that there was once talk of porting Git over to C#
> and was wondering if anything ever came of this?
That depends. I think it's happened at least on three different occasions
that someone wants to port git to C#. The latest is the attempt to write a
libified git (in C) that will be DllImport()'ed from C#, which the devs at
MonoDevelop were sort of interested in. I'm currently working (very slowly)
on libgit2, and it's nowhere near usable today.
> I realize there were some
> that didn't see the use for this but as Git is becoming more and more
> popular a more native implementation of Git for windows users would be a
> good endevour IMHO.
>
Truly. However, a better way forward is to create a portable git library
that any old application can use, no matter what language the application
is written in. That way, GUI-hackers can add all the bells and whistles
they like.
Besides that, msysgit works very well on Windows.
> At any rate any info would be greatly appreciated.
>
libgit2 is available from
http://www.spearce.org/projects/scm/libgit2/libgit2.git
git://git.op5.org/git/libgit2.git
The first URL belongs to Shawn O. Pearce, the initiator of the libgit2
project. The second one is where I stash random stuff that I work on.
Note that git.op5.org is subject to heavy rebasing at the moment, as I'm
basically using it as a patch queue for Shawn (and everyone else who's
interested) to look at when they feel like it. It's not yet interesting
enough to warrant sending everything as patches to git@vger, but a small
bunch of people are helping making the small internal API's reliably
portable (filesystem operations, thread-local error handling) so that
we can nail them down hard to prevent having to change them (and their
hundreds of callers) in the future.
--
Andreas Ericsson andreas.ericsson@op5.se
OP5 AB www.op5.se
Tel: +46 8-230225 Fax: +46 8-230231
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: C# Git Implementation
2008-11-28 13:37 C# Git Implementation JD Guzman
2008-11-28 13:45 ` Reece Dunn
2008-11-29 13:44 ` Andreas Ericsson
@ 2008-11-29 18:08 ` Asheesh Laroia
2008-11-29 19:27 ` Alejandro Riveira
` (2 more replies)
2 siblings, 3 replies; 8+ messages in thread
From: Asheesh Laroia @ 2008-11-29 18:08 UTC (permalink / raw)
To: JD Guzman; +Cc: git
On Fri, 28 Nov 2008, JD Guzman wrote:
> I read in the archives that there was once talk of porting Git over to
> C# and was wondering if anything ever came of this? I realize there
> were some that didn't see the use for this but as Git is becoming more
> and more popular a more native implementation of Git for windows users
> would be a good endevour IMHO.
Is it possible to compile the Java-language jgit with the Common Language
Runtime and access that from a C# application?
-- Asheesh.
--
Your talents will be recognized and suitably rewarded.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: C# Git Implementation
2008-11-29 18:08 ` Asheesh Laroia
@ 2008-11-29 19:27 ` Alejandro Riveira
2008-11-29 19:55 ` Robin Rosenberg
2009-07-11 21:25 ` henon
2 siblings, 0 replies; 8+ messages in thread
From: Alejandro Riveira @ 2008-11-29 19:27 UTC (permalink / raw)
To: git
El Sat, 29 Nov 2008 13:08:58 -0500, Asheesh Laroia escribió:
> On Fri, 28 Nov 2008, JD Guzman wrote:
>
>> I read in the archives that there was once talk of porting Git over to
>> C# and was wondering if anything ever came of this? I realize there
>> were some that didn't see the use for this but as Git is becoming more
>> and more popular a more native implementation of Git for windows users
>> would be a good endevour IMHO.
>
> Is it possible to compile the Java-language jgit with the Common
> Language Runtime and access that from a C# application?
ikvm ?? http://www.ikvm.net/
>
> -- Asheesh.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: C# Git Implementation
2008-11-29 18:08 ` Asheesh Laroia
2008-11-29 19:27 ` Alejandro Riveira
@ 2008-11-29 19:55 ` Robin Rosenberg
2009-07-11 21:25 ` henon
2 siblings, 0 replies; 8+ messages in thread
From: Robin Rosenberg @ 2008-11-29 19:55 UTC (permalink / raw)
To: Asheesh Laroia; +Cc: JD Guzman, git
lördag 29 november 2008 19:08:58 skrev Asheesh Laroia:
> On Fri, 28 Nov 2008, JD Guzman wrote:
>
> > I read in the archives that there was once talk of porting Git over to
> > C# and was wondering if anything ever came of this? I realize there
> > were some that didn't see the use for this but as Git is becoming more
> > and more popular a more native implementation of Git for windows users
> > would be a good endevour IMHO.
>
> Is it possible to compile the Java-language jgit with the Common Language
> Runtime and access that from a C# application?
>
> -- Asheesh.
>
I tried it half a year ago. Recompiling and running was easy, Unfortunately it hung on reading
blobs and the stacktrace showed it was stuck in deflate. It's not very high on my list of priorities,
but I assume fixing the problem is probably not hard if you decide to get your editor dirty.
-- robin
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: C# Git Implementation
2008-11-29 18:08 ` Asheesh Laroia
2008-11-29 19:27 ` Alejandro Riveira
2008-11-29 19:55 ` Robin Rosenberg
@ 2009-07-11 21:25 ` henon
2009-07-13 0:37 ` Frank Li
2 siblings, 1 reply; 8+ messages in thread
From: henon @ 2009-07-11 21:25 UTC (permalink / raw)
To: git
Asheesh Laroia-2 wrote:
>
> On Fri, 28 Nov 2008, JD Guzman wrote:
>
>> I read in the archives that there was once talk of porting Git over to
>> C# and was wondering if anything ever came of this? I realize there
>> were some that didn't see the use for this but as Git is becoming more
>> and more popular a more native implementation of Git for windows users
>> would be a good endevour IMHO.
>
> Is it possible to compile the Java-language jgit with the Common Language
> Runtime and access that from a C# application?
>
> -- Asheesh.
>
Hi,
Just in case some of you are still interested in a git implementation in C#.
I evaluated all of the existing projects and chose the one of them which was
most advanced and had the most promising strategy of getting done soon:
kevin thompsons gitty. gitty is a port of about 6k of ~20k lines of a jgit
snapshot from 2008. The gitty code is mostly not working because it has
never been debugged after porting.
I figured that the easiest way to a pure c# implementation of git is to port
jgit. Automatic porting attempts have not really been successful so I
decided to do it manually. Based on Kevin's very erraneous but yet valuable
work I ported even more substantial parts of jgit and its tests to C# and
got much of the code working as the over 200 passing tests can tell. By now
we have ported about 47% of the jgit source (snapshot from june 2009) and
got reading of repos and writing of trees, blobs and commits to work
already. The project is called Git# now and has already found a few
contributors on github. More info is available at the
http://www.eqqon.com/index.php/GitSharp Git# website.
I know that there have been several attempts by the Mono project to create a
git implementation in C#. They seem inactive and in a very basic state to me
but correct me if I am wrong. I will try to contact the mono folks for
collaboration on the matter.
-- henon
--
View this message in context: http://n2.nabble.com/C--Git-Implementation-tp1589227p3243735.html
Sent from the git mailing list archive at Nabble.com.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: C# Git Implementation
2009-07-11 21:25 ` henon
@ 2009-07-13 0:37 ` Frank Li
0 siblings, 0 replies; 8+ messages in thread
From: Frank Li @ 2009-07-13 0:37 UTC (permalink / raw)
To: henon; +Cc: git
I hope portable git library, which can port to any languadge and platform.
Git itself use such library. So library can be verified at big scope.
2009/7/12 henon <meinrad.recheis@gmail.com>:
>
>
> Asheesh Laroia-2 wrote:
>>
>> On Fri, 28 Nov 2008, JD Guzman wrote:
>>
>>> I read in the archives that there was once talk of porting Git over to
>>> C# and was wondering if anything ever came of this? I realize there
>>> were some that didn't see the use for this but as Git is becoming more
>>> and more popular a more native implementation of Git for windows users
>>> would be a good endevour IMHO.
>>
>> Is it possible to compile the Java-language jgit with the Common Language
>> Runtime and access that from a C# application?
>>
>> -- Asheesh.
>>
>
> Hi,
> Just in case some of you are still interested in a git implementation in C#.
> I evaluated all of the existing projects and chose the one of them which was
> most advanced and had the most promising strategy of getting done soon:
> kevin thompsons gitty. gitty is a port of about 6k of ~20k lines of a jgit
> snapshot from 2008. The gitty code is mostly not working because it has
> never been debugged after porting.
>
> I figured that the easiest way to a pure c# implementation of git is to port
> jgit. Automatic porting attempts have not really been successful so I
> decided to do it manually. Based on Kevin's very erraneous but yet valuable
> work I ported even more substantial parts of jgit and its tests to C# and
> got much of the code working as the over 200 passing tests can tell. By now
> we have ported about 47% of the jgit source (snapshot from june 2009) and
> got reading of repos and writing of trees, blobs and commits to work
> already. The project is called Git# now and has already found a few
> contributors on github. More info is available at the
> http://www.eqqon.com/index.php/GitSharp Git# website.
>
> I know that there have been several attempts by the Mono project to create a
> git implementation in C#. They seem inactive and in a very basic state to me
> but correct me if I am wrong. I will try to contact the mono folks for
> collaboration on the matter.
>
> -- henon
> --
> View this message in context: http://n2.nabble.com/C--Git-Implementation-tp1589227p3243735.html
> Sent from the git mailing list archive at Nabble.com.
> --
> To unsubscribe from this list: send the line "unsubscribe git" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2009-07-13 1:01 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-11-28 13:37 C# Git Implementation JD Guzman
2008-11-28 13:45 ` Reece Dunn
2008-11-29 13:44 ` Andreas Ericsson
2008-11-29 18:08 ` Asheesh Laroia
2008-11-29 19:27 ` Alejandro Riveira
2008-11-29 19:55 ` Robin Rosenberg
2009-07-11 21:25 ` henon
2009-07-13 0:37 ` Frank Li
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).