]> source.dussan.org Git - jgit.git/log
jgit.git
15 years agoUse a more specific Bugzilla URL 07/107/1
Shawn O. Pearce [Wed, 4 Nov 2009 16:57:29 +0000 (08:57 -0800)]
Use a more specific Bugzilla URL

This URL filters the search results within the entire Eclipse.org
Bugzilla server to only this that are open and pertain to our
project.  It also sets up the "File a new bug" link to send any
new issue in our direction.

Change-Id: I5d50a2e7d0b34efb386492aedfe28f4ae67f92bc
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
15 years agoUse JUnit 3.8.2 under CQ 3589 06/106/1
Shawn O. Pearce [Wed, 4 Nov 2009 16:32:50 +0000 (08:32 -0800)]
Use JUnit 3.8.2 under CQ 3589

CQ 3589 was submitted to request permission to use JUnit 3.8.2
from Orbit.  We don't redistribute JUnit but we compile against it
and do redistribute a test support JAR (org.eclipse.jgit.junit)
that would depend upon it if someone were to develop their own
application code and also wish to write unit tests with JUnit.

Change-Id: I23b1f23e064224363585ec2f5dd62a0b4d28fb5b
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
15 years agoRemove reference to branding plugin 04/104/1
Matthias Sohn [Wed, 4 Nov 2009 00:53:09 +0000 (01:53 +0100)]
Remove reference to branding plugin

JGit does not contribute to the Eclipse UI hence it should not refer
to a branding plugin. See discussion on egit-dev :
http://dev.eclipse.org/mhonarc/lists/egit-dev/msg00304.html until
http://dev.eclipse.org/mhonarc/lists/egit-dev/msg00306.html

Change-Id: I9153dea60d9d1724662ca079f16528a36c295b5d
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
15 years agoMerge changes I057c782c,Idff096ce,Ic9be0280,I07014d1b,Id8a76ee7,I9080f3dd,I8c1a0eb8...
Code Review [Tue, 3 Nov 2009 19:33:09 +0000 (14:33 -0500)]
Merge changes I057c782c,Idff096ce,Ic9be0280,I07014d1b,Id8a76ee7,I9080f3dd,I8c1a0eb8,Ibaf87bb5,I9e1f1f5a,I355e95fa

* changes:
  Prompt for passwords from the console in jgit command line tools
  Move AWT based SSH authenticator to ui bundle
  Refactor the cached Authenticator data out of AwtAuthenticator
  Only import the sample data packs on tests that need them
  Move T0007_Index to exttst
  Refactor RepositoryTestCase to use LocalDiskRepository instead
  Create JUnit test utilities for JGit derived sources
  Delete obsolete JarLinkUtil
  Refactor our Maven build to be modular
  Switch pgm, test to proper plugin projects

15 years agoMerge change Ic1c8969b
Code Review [Tue, 3 Nov 2009 19:19:30 +0000 (14:19 -0500)]
Merge change Ic1c8969b

* changes:
  Use org.eclipse.egit branding plugin

15 years agoPrompt for passwords from the console in jgit command line tools 36/36/3
Shawn O. Pearce [Sun, 1 Nov 2009 02:39:18 +0000 (19:39 -0700)]
Prompt for passwords from the console in jgit command line tools

If we are on a Java 6 JVM we should have the Console class available,
unless the user has redirected /dev/null to stdin.  When there is a
console present we would prefer to use that for command line prompts
as that is what the user expects from a command line tool.

Change-Id: Ibaf87bb5540371d94d96d1b7e94ca002f752e5bd
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
15 years agoMove AWT based SSH authenticator to ui bundle 34/34/3
Shawn O. Pearce [Sun, 1 Nov 2009 02:42:01 +0000 (19:42 -0700)]
Move AWT based SSH authenticator to ui bundle

This way SWT based applications don't wind up loading this AWT
based code when using SSH.

Change-Id: I9080f3dd029c2a087e6b687480018997cc5c5d23
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
15 years agoRefactor the cached Authenticator data out of AwtAuthenticator 35/35/3
Shawn O. Pearce [Sat, 3 Oct 2009 23:52:33 +0000 (16:52 -0700)]
Refactor the cached Authenticator data out of AwtAuthenticator

This makes it easier to swap out authenticator implementations and
yet still rely upon being able to configure at least one Authenticator
instance in the JVM and program it with data obtained from outside
of the user interface.

Change-Id: I8c1a0eb8acee1d306f4c3b40a790b7fa0c3abb70
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
15 years agoOnly import the sample data packs on tests that need them 22/22/3
Shawn O. Pearce [Sat, 3 Oct 2009 01:58:22 +0000 (18:58 -0700)]
Only import the sample data packs on tests that need them

Not all of our test cases really require the sample data packs,
and we are better off not using them because its hard to see exactly
what condition a test is testing when looking only at the Java code.
Clarify the dependency by only making the packs available when
there is a real need for it.

Change-Id: Id8a76ee7ee1f7efba585be4bed19a8fb5b3b3585
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
15 years agoMove T0007_Index to exttst 20/20/3
Shawn O. Pearce [Sat, 3 Oct 2009 01:07:24 +0000 (18:07 -0700)]
Move T0007_Index to exttst

This test depends upon the external git binary, and this isn't
really a pure Java test like our module tries to claim itself is.
So we move it out to exttst with other tests that require additional
external resources and/or executable code.

Change-Id: Ic9be0280c8bb50a5768336c64de794eb0a492b3d
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
15 years agoRefactor RepositoryTestCase to use LocalDiskRepository instead 21/21/3
Shawn O. Pearce [Mon, 5 Oct 2009 18:25:43 +0000 (11:25 -0700)]
Refactor RepositoryTestCase to use LocalDiskRepository instead

Change-Id: I07014d1b8cc2fab0761d644a12e4ae04f0adf3ef
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
15 years agoCreate JUnit test utilities for JGit derived sources 19/19/3
Shawn O. Pearce [Sat, 3 Oct 2009 01:08:56 +0000 (18:08 -0700)]
Create JUnit test utilities for JGit derived sources

The LocalDiskRepositoryTestCase class is derived from the current
RepositoryTestCase code and is meant for application (or our own)
tests to subclass and access temporary repositories on the local
client disk.

Change-Id: Idff096cea40a7b2b56a90fb5de179ba61ea3a0eb
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
15 years agoDelete obsolete JarLinkUtil 14/14/3
Shawn O. Pearce [Sat, 3 Oct 2009 00:12:37 +0000 (17:12 -0700)]
Delete obsolete JarLinkUtil

Since we are now using the maven-shade-plugin to flatten out our
dependencies into a single stand-alone JAR we no longer need to
use our own command line utility.

Change-Id: I057c782cc66c44f11ed2ff2b4b4ca9cc82c7426a
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
15 years agoRefactor our Maven build to be modular 03/103/2
Shawn O. Pearce [Sun, 1 Nov 2009 01:07:26 +0000 (18:07 -0700)]
Refactor our Maven build to be modular

Drop our simple and stupid jgit.sh and instead rely upon Maven
for the command line based build.  Maven is relatively simple to
download and install, and doesn't require the entire Eclipse IDE.

To avoid too much refactoring of the current code we reuse the
existing src/ directory within each plugin, and treat each of
the existing OSGI bundles as one Maven artifact.

The command line wrapper jgit.sh no longer works in the uncompiled
state, as we don't know where to obtain our JSch or args4j from.
Developers will now need to compile it with `mvn package`, or run
our Main class from within an IDE which has the proper classpath.

Bug: 291265
Change-Id: I355e95fa92fa7502651091d2b651be6917a26805
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
15 years agoSwitch pgm, test to proper plugin projects 02/102/2
Shawn O. Pearce [Sun, 1 Nov 2009 01:47:16 +0000 (18:47 -0700)]
Switch pgm, test to proper plugin projects

This way we depend upon the MANIFEST.MF to define our classpath
and our build will act more like any other OSGI bundle build.

Change-Id: I9e1f1f5a0bccb0ab0e39e49b75fb400fea446619
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
15 years agoCorrect location of AmazonS3 command line client 01/101/1
Shawn O. Pearce [Sun, 1 Nov 2009 00:11:29 +0000 (17:11 -0700)]
Correct location of AmazonS3 command line client

This code belongs inside of the org.eclipse.jgit.pgm bundle
so it is executable from the command line.

In af5cb5ced938 ("Move AmazonS3 command line utility to jgit-pgm")
I accidentally moved this class into the wrong directory, probably
during some sort of rebase when I tried to pull this commit out of
its original position in an abanonded Maven refactoring series.

Change-Id: I19adafa87b70586dd44040e9dfce30f3d482ed28
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
15 years agoMove AWT UI code to new org.eclipse.jgit.ui bundle 73/73/2
Mykola Nikishov [Fri, 9 Oct 2009 18:57:59 +0000 (21:57 +0300)]
Move AWT UI code to new org.eclipse.jgit.ui bundle

This new UI bundle contains the org.eclipse.jgit.awtui package,
which was moved out of the org.eclipse.jgit bundle.

org.eclipse.jgit.pgm depends on org.eclipse.jgit.ui, so we need
to update the classpath and make_jgit.sh to include it.

This move takes the awtui classes out of the Maven build, which
means we are no longer able to distribute these classes to our
downstream Maven customers.  The entire Maven package structure
needs to be overhauled so that Eclipse bundle matches 1:1 with the
Maven artifact.

Bug: https://bugs.eclipse.org/291124
Change-Id: Ibf1a9968387e3d11fdce54592f710ec4cc7f1ddb
Signed-off-by: Mykola Nikishov <mn@mn.com.ua>
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
15 years agoDon't create .git/remotes folders on init 98/98/2
Sasa Zivkov [Fri, 9 Oct 2009 12:43:45 +0000 (14:43 +0200)]
Don't create .git/remotes folders on init

For historical reasons JGit was creating .git/remotes folder when
initialization an empty repository.  However, this folder is never
used and the new Git repository format doesn't contain them.

Removed the unnecessary remotes folder creation, it was removed from
C Git in 75c384efb52d ("Do not create $GIT_DIR/remotes/ directory
anymore") by Junio C Hamano on Dec 19 2006.  C Git hasn't made it
for almost 3 years.

Change-Id: I5473f3676a3642afdf9aaac44b7e6319c6e170b9
Signed-off-by: Sasa Zivkov <sasa.zivkov@sap.com>
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
15 years agoMove pure IO utility functions to a utility class of its own. 96/96/3
Robin Rosenberg [Sat, 24 Oct 2009 09:48:04 +0000 (11:48 +0200)]
Move pure IO utility functions to a utility class of its own.

According the javadoc, and implied by the name of the class, NB
is about network byte order. The purpose of moving the IO only,
and non-byte order related functions to another class is to
make it easier for new contributors to understand that they
can use these functions in general and it's also makes it easier
to understand where to put new IO related utility functions

Change-Id: I4a9f6b39d5564bc8a694b366e7ff3cc758c5181b
Signed-off-by: Robin Rosenberg <robin.rosenberg@dewire.com>
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
15 years agoEclipse IDE: Automatically remove trailing whitespace on save 99/99/1
Shawn O. Pearce [Sat, 31 Oct 2009 21:53:29 +0000 (14:53 -0700)]
Eclipse IDE: Automatically remove trailing whitespace on save

Our project coding conventions do not want trailing whitespace at
the end of a source code line.  Configure Eclipse to automatically
remove them when saving any Java source file.

Change-Id: I9701366b3b1240879761b30556e6ff416e969e1d
Reviewed-by: Mykola Nikishov <mn@mn.com.ua>
Reviewed-by: Alex Blewitt <alex.blewitt@gmail.com>
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
15 years agoRemove trailing whitespace at end of line 86/86/2
Alex Blewitt [Mon, 19 Oct 2009 08:48:00 +0000 (09:48 +0100)]
Remove trailing whitespace at end of line

As discussed on the egit-dev mailing list, we prefer not to have
trailing whitespace in our source code.  Correct all currently
offending lines by trimming them.

Change-Id: I002b1d1980071084c0bc53242c8f5900970e6845
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
15 years agoCorrecting explanation of EDL 97/97/1
Matthias Sohn [Wed, 28 Oct 2009 12:57:32 +0000 (13:57 +0100)]
Correcting explanation of EDL

Change-Id: I2f65022df4e6fe9b1db87eb29e9b079543984298
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
15 years agoUse org.eclipse.egit branding plugin 90/90/1
Matthias Sohn [Mon, 19 Oct 2009 22:53:57 +0000 (00:53 +0200)]
Use org.eclipse.egit branding plugin

We do not need two branding plugins for two related features
and org.eclipse.jgit is not a branding plugin.

Change-Id: Ic1c8969bbed89f693c7e11108d6baba013f71711
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
15 years agoAdd gitignore to constants 67/67/2
Mykola Nikishov [Thu, 15 Oct 2009 08:41:21 +0000 (09:41 +0100)]
Add gitignore to constants

Bug: 291133
Change-Id: I24272d029cff446ffc80063870478577d628f338
Reviewed-by: Alex Blewitt <alex.blewitt@gmail.com>
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
15 years agoRefactor org.eclipse.jgit.test to be a bundle 64/64/2
Chris Aniszczyk [Tue, 13 Oct 2009 20:53:55 +0000 (15:53 -0500)]
Refactor org.eclipse.jgit.test to be a bundle

This way dependencies are described by the MANIFEST.MF,
and the same build tools can be used to compile the tests.

Change-Id: I4dc926148410ecbadcf71b9474aeeb509691aa32

15 years agoFix classpath to use jsch and args4j from orbit 61/61/2
Matthias Sohn [Mon, 12 Oct 2009 20:25:05 +0000 (22:25 +0200)]
Fix classpath to use jsch and args4j from orbit

All 3rd party dependencies must come from orbit to comply
with Eclipse development process.

Change-Id: Ia43892ab6d0169f8335c1a41b37e8c12e94cafe2
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
15 years agoMake the default encoding when reading commits UTF-8
Constantine Plotnikov [Thu, 8 Oct 2009 16:12:08 +0000 (20:12 +0400)]
Make the default encoding when reading commits UTF-8

When reading commits the system default encoding was used if no
encoding was specified in the commit. The patch modifies the test
to add a check that commit message was encoded correctly (the
test fails on old implementation if system encoding is not UTF-8)
and fixes Commit.decode() method to use UTF-8 if encoding is not
specified in the commit object.

Change-Id: I27101da3c2eb6edd0c4a9e4c0523e48b286e3cd5
Signed-off-by: Constantine Plotnikov <constantine.plotnikov@gmail.com>
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
15 years agoRemove a duplicate test from T0003_Basic 51/51/1
Robin Rosenberg [Wed, 7 Oct 2009 21:45:31 +0000 (23:45 +0200)]
Remove a duplicate test from T0003_Basic

In the pre-historic commit 6d87484b4dee5671a38e64a8e4990dff40a4874f
two tests became identical. Remove one of them.

Change-Id: I6182ecd4db0162d87a5f4577005b2bf4d5e8c89f

Signed-off-by: Robin Rosenberg <robin.rosenberg@dewire.com>
15 years agoMerge changes I282ee1c6,I5700ca48,Ic243544a,Ia2cce34d,I2fd81be2
Code Review [Mon, 5 Oct 2009 21:29:56 +0000 (17:29 -0400)]
Merge changes I282ee1c6,I5700ca48,Ic243544a,Ia2cce34d,I2fd81be2

* changes:
  Move HttpSupport's configureHttpProxy to jgit-pgm
  Move AmazonS3 command line utility to jgit-pgm
  Move setupReflog test function to only test that cares
  Remove useless test005_todopack test
  Standardize the source code formatter for Eclipse

15 years agoMark JGit plugin as 0.6
Shawn O. Pearce [Mon, 5 Oct 2009 21:17:16 +0000 (14:17 -0700)]
Mark JGit plugin as 0.6

Our project plan calls for us to build 0.6 as the next version,
but I forgot to also update the MANIFEST.MF for the plugin when
I edited the Maven pom.

Change-Id: Ic1a6c64374a4384a65a3dd0306adddfc73adac52
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
15 years agoAdd org.eclipse.jgit-feature
Mykola Nikishov [Fri, 2 Oct 2009 09:18:15 +0000 (12:18 +0300)]
Add org.eclipse.jgit-feature

[sp: Externalized all strings for translation]

Change-Id: Ib3f6e58e9e1cbcbc41705b6e1be37a89ca38f1a9
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
15 years agoMove HttpSupport's configureHttpProxy to jgit-pgm 33/33/3
Shawn O. Pearce [Sat, 3 Oct 2009 22:53:24 +0000 (15:53 -0700)]
Move HttpSupport's configureHttpProxy to jgit-pgm

This is the last chunk of code in jgit-core which references the awtui
package.  Moving it to the only consumer in jgit-pgm allows us to move
the awtui package over to the jgit-awtui module.

Change-Id: I2fd81be2076117b2f2c5f8ed45de7f29272af6cf
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
15 years agoMove AmazonS3 command line utility to jgit-pgm 32/32/3
Shawn O. Pearce [Sat, 3 Oct 2009 22:43:34 +0000 (15:43 -0700)]
Move AmazonS3 command line utility to jgit-pgm

This removes one of the few remaining dependencies on AWTAuthenticator
from the core library.  For the most part the interface is identical to
the prior main method.  The jgit-pgm Main class already sets up the
HTTP proxy and authenticator for us, so we don't need to do that in
our new run method.

Change-Id: Ia2cce34d34c97b88214a8bd8f2cc542845e19032
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
15 years agoMove setupReflog test function to only test that cares 18/18/3
Shawn O. Pearce [Sat, 3 Oct 2009 01:54:20 +0000 (18:54 -0700)]
Move setupReflog test function to only test that cares

Only one test class actually needs this function, so instead of
us inheriting it down into every test, move it to that one class.

Change-Id: I5700ca48df4177153f2b3861dec7c538c621e775
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
15 years agoRemove useless test005_todopack test 17/17/3
Shawn O. Pearce [Sat, 3 Oct 2009 02:01:04 +0000 (19:01 -0700)]
Remove useless test005_todopack test

This test doesn't work because it requires a pack file which we have
lost to the ages.  We couldn't include it because the pack was actually
a copy of the GPL'd C git.git project, and was there to test some sort
of corner case that the test never documented properly.

Change-Id: I282ee1c6a637a8654df93a3847507a6c60e4cfab
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
15 years agoStandardize the source code formatter for Eclipse 23/23/3
Shawn O. Pearce [Mon, 5 Oct 2009 18:43:01 +0000 (11:43 -0700)]
Standardize the source code formatter for Eclipse

We now supply an exported format description for anyone to import
into their own workbench, and all projects reference this style in
a consistent way.

Change-Id: Ic243544a761ef2db29025a89ba6bb932a3a3ce34
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
15 years agoMerge change I11dc6200
Code Review [Mon, 5 Oct 2009 19:13:57 +0000 (15:13 -0400)]
Merge change I11dc6200

* changes:
  Mark the next version as 0.6

15 years agoMark the next version as 0.6 24/24/2
Shawn O. Pearce [Mon, 5 Oct 2009 18:45:56 +0000 (11:45 -0700)]
Mark the next version as 0.6

Our project plan calls for us to build 0.6 as the next version.

Change-Id: I11dc620009d83e5715f7f2c17bbc658cc6e49f20
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
15 years agoMerge change I908e4c77
Code Review [Mon, 5 Oct 2009 14:06:24 +0000 (10:06 -0400)]
Merge change I908e4c77

* changes:
  Add support for logAllRefUpdates configuration parameter

15 years agoAdd support for logAllRefUpdates configuration parameter 03/3/2
Christian Halstrick [Thu, 1 Oct 2009 14:13:09 +0000 (16:13 +0200)]
Add support for logAllRefUpdates configuration parameter

Honor the configuration parameter core.logAllRefUpdates when writing
reflogs.  Instead of writing reflog entries always only write
reflogs if this parameter is set to true or if the corresponding
file in the <git-dir>/logs directory already exists. In other words:
if you are updating a ref and this parameter is set to false and
there is no file corresponding to your ref in the <git-dir>/logs
folder then no reflog will be written.

This is a fix for the issue http://code.google.com/p/egit/issues/detail?id=4

Change-Id: I908e4c77e3630dc3223b2d2a47cb4534dbe4ed42
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
Signed-off-by: Christian Halstrick <christian.halstrick@sap.com>
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
15 years agoRemove TODO file and move to bugzilla
Shawn O. Pearce [Fri, 2 Oct 2009 16:54:31 +0000 (09:54 -0700)]
Remove TODO file and move to bugzilla

There is no longer any value in keeping track of things we need to
implement in a file in the top level of the source code.  Time has
proven we don't keep it current, as some of these features are
already implemented, and some are still being worked on.

Worse, many of these items were for the EGit plugin, which has no
relationship to JGit.

Change-Id: Iaa83491819518a1293810aafb566354bdc4b5e28
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
15 years agoFix SUBMITTING_PATCHES to follow the Eclipse IP process
Shawn O. Pearce [Fri, 2 Oct 2009 16:50:48 +0000 (09:50 -0700)]
Fix SUBMITTING_PATCHES to follow the Eclipse IP process

I somehow missed that SUBMITTING_PATCHES referenced the older "send
to git mailing list by email" patch process we used for the first
few years of the JGit project's life.  Now that we are hosted under
the Eclipse Foundation umbrella we need to follow their IP process
for all contributions.

Change-Id: Ia29b31746826ca5b914e0a1d108c2166ff64d268
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
15 years agoFix tabs-to-spaces in SUBMITTING_PATCHES
Shawn O. Pearce [Fri, 2 Oct 2009 16:47:04 +0000 (09:47 -0700)]
Fix tabs-to-spaces in SUBMITTING_PATCHES

Change-Id: I1cf5b4355a147c39107c8b97e56108f482c96d8d
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
15 years agoUpdate SUBMITTING_PATCHES to point to Contributor Guide
Shawn O. Pearce [Fri, 2 Oct 2009 16:42:44 +0000 (09:42 -0700)]
Update SUBMITTING_PATCHES to point to Contributor Guide

The process is likely to change as we experiment with Gerrit Code
Review and learn the Eclipse IP process.  Lets point the potential
contributor at a wiki that we can more easily keep up-to-date.

Change-Id: I99f7cb9edadd0f23024f59ec139dd1e35f5fbd3f
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
15 years agoDocument protected members of RevObjectList
Shawn O. Pearce [Fri, 2 Oct 2009 16:27:42 +0000 (09:27 -0700)]
Document protected members of RevObjectList

Recently Eclipse started complaining about undocumented protected
members here, so lets document them to make the errors go away.

Change-Id: Ia3bc9fa69854953db5dc9a982821a2f3abe8d05a
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
15 years agoMake it possible to clear a PlotCommitList 05/5/2
Jonas Fonseca [Sun, 20 Sep 2009 13:34:37 +0000 (09:34 -0400)]
Make it possible to clear a PlotCommitList

This allows SwingGraphPanes to be reused by simply clearing and
re-filling. Requires RevObjectList initialization to not call clear()
from its constructor, because this will lead PlotCommitList.clear()
to be called before all variables have been initialized.

Change-Id: I14a07124441b58cd88c67da088ba52ef9c30b043
Signed-off-by: Jonas Fonseca <fonseca@diku.dk>
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
15 years agoInclude description for missing bundle prereqs 04/4/1
Sasa Zivkov [Tue, 29 Sep 2009 14:03:40 +0000 (16:03 +0200)]
Include description for missing bundle prereqs

When throwing MissingBundlePrerequisiteException we
also include the short description, if available, of
each missing object.

This is the fix for the following issue:
http://code.google.com/p/egit/issues/detail?id=25

Change-Id: I5d45aec7873af76a12170d9a500626a7264f2c42
Signed-off-by: Sasa Zivkov <sasa.zivkov@sap.com>
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
15 years agoCleanup MANIFEST.MF in JGit
Chris Aniszczyk [Thu, 1 Oct 2009 21:12:50 +0000 (14:12 -0700)]
Cleanup MANIFEST.MF in JGit

- We shouldn't be re-exporting bundles, JSch in this case.
  Instead used a Import-Package clause.

- Some packages weren't exported.  In Eclipse we have a policy to
  export all the packages in a bundle

- Exporting version numbers on the export packages.

Bug: 291108
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
15 years agoMark our one Eclipse plugin as in incubation status
Shawn O. Pearce [Wed, 30 Sep 2009 01:03:31 +0000 (18:03 -0700)]
Mark our one Eclipse plugin as in incubation status

Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
15 years agoUtility to graft old JGit history onto repository
Shawn O. Pearce [Wed, 30 Sep 2009 00:00:29 +0000 (17:00 -0700)]
Utility to graft old JGit history onto repository

This script can be executed by a developer to download and graft
on the old JGit history, from before we moved the project to the
eclipse.org namespace and the Eclipse Foundation servers.

Executing this script is only necessary if you need to run log or
blame past the migration boundary, and isn't always recommended when
it comes to pushing objects to a remote server.  As mentioned in the
script, it is best to use a specialized repository with this graft,
not your main work repository.

Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
15 years agoInitial JGit contribution to eclipse.org
Git Development Community [Tue, 29 Sep 2009 23:47:03 +0000 (16:47 -0700)]
Initial JGit contribution to eclipse.org

Per CQ 3448 this is the initial contribution of the JGit project
to eclipse.org.  It is derived from the historical JGit repository
at commit 3a2dd9921c8a08740a9e02c421469e5b1a9e47cb.

Signed-off-by: Shawn O. Pearce <spearce@spearce.org>