Shawn Pearce
36144e12d8
Fix hardcoded use of target/trash in LocalDiskRepositoryTestCase
...
`pwd`/target is only valid in Maven Reactor builds where Maven
has moved into the project directory and created a target for
the build output. Most other build systems do not use "target"
and may not even perform a directory change between test suites.
Rewrite LocalDiskRepositoryTestCase's temporary directory code
to use the system specified location and create new unique names.
This prevents fixes between concurrently running tests and allows
the caller to specify the root using java.io.tmpdir.
Update the surefire command lines to use target within each project as
the system temporary directory during unit testing, preventing JGit's
own test suite from writing to /tmp or somewhere like C:\tmp.
Change-Id: I9e8431f6ddfc16fee89f677bcce67c99cfb56782
12 years ago
Robin Rosenberg
526b6266a5
Remove some unnecessary dependencies on FileRepostory
...
Change-Id: Ib6ee3a2874a7e2240aa68f4ac32d00c4d1fab5ae
Signed-off-by: Chris Aniszczyk <zx@twitter.com>
12 years ago
Matthias Sohn
135a78cfcb
Remove unused dependencies
...
Change-Id: I3cd161ac360a2e2635bffe309725a41c9527694e
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
12 years ago
Shawn Pearce
f32b861243
JGit 3.0: move internal classes into an internal subpackage
...
This breaks all existing callers once. Applications are not supposed
to build against the internal storage API unless they can accept API
churn and make necessary updates as versions change.
Change-Id: I2ab1327c202ef2003565e1b0770a583970e432e9
12 years ago
Matthias Sohn
49ec6c1b3b
Prepare 2.3.2-SNAPSHOT builds
...
Change-Id: I51a8a53194928416b1aef1f3fce0ce66aadceca4
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
12 years ago
Matthias Sohn
63dceceb0e
JGit v2.3.1.201302201838-r
...
Change-Id: I0d79873137ad4042ecc2a0210fe1f6305608b851
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
12 years ago
Matthias Sohn
ba6ae0c7ec
Prepare 2.4.0-SNAPSHOT builds
...
Change-Id: I4ab2baeb5d598d40d5dadfccdfe75152a1b9b7bf
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
12 years ago
Matthias Sohn
9a5f4b46cc
Prepare post 2.3.0.201302130906 builds
...
Change-Id: Ia11b4000557d0cf235c4e33cda4539cab25fef47
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
12 years ago
Matthias Sohn
19d6cadeff
JGit v2.3.0.201302130906
...
Change-Id: If2e5fcbc01c2a7f058ef13d60b0bba5f77300d52
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
12 years ago
Matthias Sohn
e9cf705c6e
Prepare post 2.3rc1 builds
...
Change-Id: I5c7daa5a735bfc2ecb9adc11c392b94d235102b6
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
12 years ago
Matthias Sohn
ea060dd8e7
JGit v2.3.0.201302060400-rc1
...
Change-Id: Id1f1d174375f7399cee4c2eb23368d4dbb4c384a
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
12 years ago
Tomasz Zarna
96dc4207ef
Align execution environment with JRE on the classpath in jgit.ant.test
...
Change-Id: Ic11ddce81dbcc7d703742c7e86941d2f43668617
12 years ago
Matthias Sohn
706f8eb9fc
Prepare 2.3.0 builds
...
Change-Id: I0ca539e8cfe444f96c64dc56d1f0ef33b66e0cff
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
12 years ago
Matthias Sohn
2d78a8da97
Prepare post 2.2.0.201212191850-r builds
...
Change-Id: I1a0fe51c71551fcfc98f5dd435eb283fd661b77a
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
12 years ago
Matthias Sohn
aa357c2a9f
JGit v2.2.0.201212191850-r
...
Change-Id: Idc49f17d03886b6a1e61a94ff81e32625c8675d9
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
12 years ago
Robin Rosenberg
57333a8e93
Harmonize the JDT settings within JGit
...
Note the the settings are slightly less restrictive for test bundles.
-Also cleanup a couple of malformed javadocs
-Update compiler warnings/errors to include default values from Juno
-We now flag diagnosed null dereference as error. We didn't do that
earlier because of some false positives.
Change-Id: I58386d63164e65d3d8d1998da3390d99bdc7381a
Signed-off-by: Chris Aniszczyk <zx@twitter.com>
12 years ago
Matthias Sohn
4b3c0f8aba
Prepare 2.2.0 builds
...
Change-Id: I386ba70541d644e58661d26713b309371e0f9257
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
12 years ago
Matthias Sohn
54c4eb69ac
Prepare for 2.1 maintenance changes
...
Change-Id: I436f36a7c6dc86916eb4cde038b27f9fb183465a
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
12 years ago
Matthias Sohn
c466bc2ddf
JGit v2.1.0.201209190230-r
...
Change-Id: I9f94bce9a25644575a068c8fa459f74e06b02030
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
12 years ago
Matthias Sohn
9000351909
Prepare 2.1.0 builds
...
Change-Id: I4aad3efdd435d8d5eb53c84a8d38132acce97c25
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
13 years ago
Matthias Sohn
2f27d5ae12
Prepare post v2.0.0.201206130900-r builds
...
Change-Id: I51b1bbed35288c5285b3d6860efba97d58de5a1c
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
13 years ago
Matthias Sohn
aacd4f721b
JGit v2.0.0.201206130900-r
...
Change-Id: I685e09b3e37d68614df1b5cc5f687a65cd6eb82d
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
13 years ago
Matthias Sohn
f2d9a5ed31
Prepare next 2.0.0-SNAPSHOT builds
...
Change-Id: I0d55b390502b3da139ab0d15a6cf3d05774d8ad9
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
13 years ago
Matthias Sohn
1cb135ebfb
JGit v2.0.0.201206060730-rc3
...
Change-Id: I12f8800b74228e71c77f0fb82c250c154d06369f
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
13 years ago
Matthias Sohn
9bd9d9a698
Prepare next 2.0.0-SNAPSHOT builds
...
Change-Id: Iffc57d6b25dafb72272d1957116c19ab45ba2c54
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
13 years ago
Matthias Sohn
4aa550f7cc
JGit v2.0.0.201205301645-rc2
...
Change-Id: Ic4f84f1a11c93863c229c0089f2e4edc7c7a36b7
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
13 years ago
Matthias Sohn
ee90d6afba
Fix tests for Ant task "git-clone"
...
If project.init() isn't called GitCloneTaskTest fails when started from
Eclipse, according to [1] calling init() is necessary to properly
initialize the Ant project programmatically.
Always set the destination folder in order to ensure that all test
resources are created under the project's target folder and do not
pollute the project's source tree with test data.
[1]
http://ant.1045680.n5.nabble.com/project-createTask-not-working-with-ant-1-8-2-td3385716.html
Change-Id: Icbeb62680b018a92673faa58828b5e850564c7a8
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
13 years ago
Matthias Sohn
755dfdb409
Prepare 2.0.0-SNAPSHOT builds
...
Change-Id: I946e315af04227727ac937ebe9d70ae1ea4e8936
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
13 years ago
Matthias Sohn
f70b24a601
Prepare post 1.3.0.201202151440-r build
...
Change-Id: I4d695273e3151c22f2df9a58725cc7ba21ab6043
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
13 years ago
Matthias Sohn
e4ee677dea
JGit 1.3.0.201202151440-r
...
Change-Id: I663208919f297836a9c16bf458e4a43ffaca4c12
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
13 years ago
Matthias Sohn
3b358ce514
Prepare post 1.3.0.201202121842-rc4 builds
...
Change-Id: I50e0e6c2bccab5f3da62cbfe976f065169426906
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
13 years ago
Matthias Sohn
53917539f8
JGit 1.3.0.201202121842-rc4
...
Change-Id: I82c6c0c175ab6fb4e2113101f36c8d2ddf4a13c1
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
13 years ago
Matthias Sohn
a069e90fa9
JGit v1.2.0.201112221803-r
...
Change-Id: Icc0b09324f205d93929af8cf522a99ad00cf7591
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
13 years ago
Robin Rosenberg
0ca105a502
Enforce the use of Java5 API:s only (with a few exceptions)
...
This only works with Eclipse 3.6 and newer and requires installation
of new package. Documentation is not very good, but there is a blog
about it here:
http://eclipseandjazz.blogspot.com/2011/10/of-invalid-references-to-system.html
API checking is especially useful on OS X where Java5 is not readily
available.
Change-Id: I3c0ad460874a21c073f5ac047146cbf5d31992b4
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
13 years ago
Matthias Sohn
7fded4d14f
Prepare 1.3.0 builds
...
Change-Id: I7a1ae73783c95041b59f047a7330e62e7f642149
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
13 years ago
Matthias Sohn
19a366d532
Prepare 1.2.0 builds
...
Change-Id: I9ec247135d93ef28d732e94f18d0ec1d0e2e6d44
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
13 years ago
Matthias Sohn
57d6585522
Prepare post v1.1.0.201109151100-r build
...
Change-Id: Ib099ec93d8243b238641d79328216874532ab5eb
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
13 years ago
Matthias Sohn
1cb0510cee
JGit v1.1.0.201109151100-r
...
Change-Id: Iadcec7e5973600e005cbdeb837fa197d3ae2ea86
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
13 years ago
Matthias Sohn
b09d21b6eb
Prepare post v1.1.0.201109071825-rc3 builds
...
Change-Id: I1244f6639263d156a6f9e4530167e5eb1826a535
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
13 years ago
Matthias Sohn
75611a8314
JGit v1.1.0.201109071825-rc3
...
Change-Id: I1b989d3101272632eacabe25a0b111ad0ff5bb3b
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
13 years ago
Matthias Sohn
cfdb09e9db
Use commit message best practices for Mylyn Commit template
...
We should use a template for Mylyn commit messages that matches with our
guidelines for commit messages.
http://wiki.eclipse.org/EGit/Contributor_Guide#Commit_message_guidelines
Bug: 337401
Change-Id: I05812abf0eb0651d22c439142640f173fc2f2ba0
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
13 years ago
Matthias Sohn
df117d3da9
Prepare post-v1.1.0.201109011030-rc2 builds
...
Change-Id: I8dda83cdbe88beba4a480df9846848bf3aceb9e2
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
13 years ago
Matthias Sohn
384ffa7ee9
JGit v1.1.0.201109011030-rc2
...
Change-Id: Ie6d65fe45ad92c813ce3a227729aa43681922249
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
13 years ago
Matthias Sohn
6646c72d17
Prepare post JGit v1.0.0.201106090707-r builds
...
Change-Id: I35292f9f6fb5ebc591308fdd2d069203413e189d
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
14 years ago
Matthias Sohn
b26ff6ebd6
JGit v1.0.0.201106090707-r
...
Change-Id: Iba44e71b6441a0e39122ca8666b51989e605f25f
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
14 years ago
Matthias Sohn
22df55c8b3
Prepare post v1.0.0.201106081625-r builds
...
Change-Id: I5e6994844405f7839ad3b3439f98bcadb59d329b
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
14 years ago
Matthias Sohn
eacd7104a2
JGit v1.0.0.201106081625-r
...
Change-Id: I629990189083bab4737938ad712080fba7917582
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
14 years ago
Matthias Sohn
9c67a391f1
Prepare post v1.0.0.201106071701-r builds
...
Change-Id: I67ee2912ef54462cf860dc4ec0a6334e9c619384
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
14 years ago
Matthias Sohn
ac71f9045a
JGit v1.0.0.201106071701-r
...
Change-Id: Ic8f49336ba96c8dcf4bab2f74c0f1efc1ab55131
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
14 years ago
Matthias Sohn
f1713abcdc
Prepare 1.1.0 builds
...
Change-Id: I4cf017cd567543846839612ab3ace6d26233e01d
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
14 years ago