From: Robin Rosenberg <robin.rosenberg.lists@dewire.com>
To: Grzegorz Kulewski <kangur@polcom.net>
Cc: Shawn Pearce <spearce@spearce.org>, git@vger.kernel.org
Subject: Re: egit/jgit wishlist
Date: Mon, 4 Dec 2006 22:54:42 +0100 [thread overview]
Message-ID: <200612042254.43224.robin.rosenberg.lists@dewire.com> (raw)
In-Reply-To: <Pine.LNX.4.63.0612041841280.14187@alpha.polcom.net>
måndag 04 december 2006 19:16 skrev Grzegorz Kulewski:
> Hi,
>
> I am interested in seeing GIT support in Eclipse.
>
> I think that doing it in 100% pure Java is ok in long run but I wonder if
> you couldn't make "wrapper" plugin for a start (that would call the real C
> git for every operation) and make it usable (with full pure Java SWT UI
> support) and then try to implement feature by feature in pure Java (with
> config options telling what should be called by wrapper and what by pure
> implementation)?
>
> This way we could probably rather fast (basic versions of other GIT UIs
> were created rather fast IIRC) have basic support for GIT (preferably
> with GIT Java wrapper library for other projects) that would be usable for
> most users and this way you could gain more interest in the project. Also
> testing new pure implementation would be a lot easier (changing one line
> in config file to enable some pure Java feature and of course having an
> option to come back to wrapped version of this feature if new pure
> implementation was wrong).
>
> What do you think about it?
>
Calling wrappers on top of C (JNI/exec), bash script, perl script etc etc is
not very easy or quick and requiring all dependencies on whatnot, makes
installation of plugins very complicated. There would go a lot of work into
working with the wrappers, instead of creating a pure Java implementation. As
Shawn knows the Git internals very well, and the datastructures being
documented, implementing a pure java version is the best thing, and maybe the
simplest, to do If an complete C library existed, maybe things would be
different. Most of the git storage access is already there.
Note that many Git tools work with egit too allowing a smooth transition and
the implementation of feature by feature. I use clone, pull, push, Stacked
git, and the CVS tools today just fine in the same working area as egit.
Having a dependency on bash/perl/python etc, etc i EGIT would be counter
productive. I /could/ imaging a C-implementation of the index to make it
fully interoperable with the git tools in the same working area, but that's
about it, because that would have to be C as java's portable API's does not
include lstat.
It is possible though for those that wish to implement a separate plugin that
provides wrapper-implementation of certain features. To eclipse that would
just be yet another plugin that provides some git-related feature. Such
plugins could use egit, jgit if necessary.
prev parent reply other threads:[~2006-12-04 21:52 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-12-04 17:28 egit/jgit wishlist Shawn Pearce
2006-12-04 17:58 ` Steven Grimm
2006-12-04 18:05 ` Shawn Pearce
2006-12-04 18:16 ` Grzegorz Kulewski
2006-12-04 18:29 ` Shawn Pearce
2006-12-04 21:19 ` Steven Grimm
2006-12-04 21:47 ` Grzegorz Kulewski
2006-12-04 22:06 ` Steven Grimm
2006-12-05 8:37 ` Johannes Schindelin
2006-12-04 21:54 ` Robin Rosenberg [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200612042254.43224.robin.rosenberg.lists@dewire.com \
--to=robin.rosenberg.lists@dewire.com \
--cc=git@vger.kernel.org \
--cc=kangur@polcom.net \
--cc=spearce@spearce.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).