Matthias Sohn
73a4325149
JGit v4.6.0.201612231935-r
...
Change-Id: Iaa88fe1b195dfe6be99a7b4cb064684e75563715
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
8 years ago
Zhen Chen
8803718493
dump HTTP: Avoid being confused by Content-Length of a gzipped stream
...
TransportHttp sets 'Accept-Encoding: gzip' to allow the server to
compress HTTP responses. When fetching a loose object over HTTP, it
uses the following code to read the response:
InputStream in = openInputStream(c);
int len = c.getContentLength();
return new FileStream(in, len);
If the content is gzipped, openInputStream decompresses it and produces
the correct content for the object. Unfortunately the Content-Length
header contains the length of the compressed stream instead of the
actual content length. Use a length of -1 instead since we don't know
the actual length.
Loose objects are already compressed, so the gzip encoding typically
produces a longer compressed payload. The value from the Content-Length
is too high, producing EOFException: Short read of block.
Change-Id: I8d5284dad608e3abd8217823da2b365e8cd998b0
Signed-off-by: Zhen Chen <czhen@google.com>
Helped-by: Jonathan Nieder <jrn@google.com>
8 years ago
David Pursehouse
a45cfee7a3
Organize imports
...
Change-Id: I7c545d06b1bced678c020fab9af1382bc4416b6e
Signed-off-by: David Pursehouse <david.pursehouse@gmail.com>
8 years ago
David Pursehouse
b3b728d52c
WrappedRequest: Don't use deprecated ServletRequestWrapper#realPath
...
Change-Id: I268e66d2299a1a12f7ae44b67a6b947339038245
Signed-off-by: David Pursehouse <david.pursehouse@gmail.com>
8 years ago
Matthias Sohn
cb617e7ffc
Prepare 4.5.1-SNAPSHOT builds
...
Change-Id: I3305e8a09a3fb06f25a316cff2bdbb551d3ade68
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
8 years ago
Matthias Sohn
e7142a3937
JGit v4.5.0.201609210915-r
...
Change-Id: Idc02a1a1d74f84605d764c239803f0cfbad94eb7
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
8 years ago
Matthias Sohn
ab79ce91c1
Change JGit minimum execution environment to JavaSE-1.8
...
Bug: 500059
Change-Id: I47f3f6749a67da52029f84e002d9b155ed56d2b7
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
8 years ago
Matthias Sohn
9d4ffcc1ab
Prepare 4.6.0-SNAPSHOT builds
...
Change-Id: Id2eafc331ee32c332c2a9b867b05c260beb0d10f
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
8 years ago
Masaya Suzuki
c4e209b20f
Add HTTP status code to ServiceMayNotContinueException
...
The exception can be thrown in a various reason, and sometimes 403
Forbidden is not appropriate. Make the HTTP status code customizable.
Change-Id: If2ef6f454f7479158a4e28a12909837db483521c
Signed-off-by: Masaya Suzuki <masayasuzuki@google.com>
8 years ago
David Pursehouse
4528d5f56d
Ignore 'The value of exception parameter is not used' warning
...
Change-Id: I50407e4a33e35b718ca40503fdd436f1f9f70fba
Signed-off-by: David Pursehouse <david.pursehouse@gmail.com>
8 years ago
Matthias Sohn
df479df176
JGit v4.4.1.201607150455-r
...
Change-Id: I61dbc29a962c8185fb356fe1ca30a1e673166d47
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
8 years ago
Matthias Sohn
0900dc08f5
Prepare 4.4.1-SNAPSHOT builds
...
Change-Id: I4fe1c84b1418126f5b245b8a4f72bb7e37f48eae
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
9 years ago
Matthias Sohn
399d2929ee
JGit v4.4.0.201606070830-r
...
Change-Id: I5c771a62ac0420424a655a4025c62a4bc28dc44e
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
9 years ago
Matthias Sohn
75b3301939
Prepare 4.5.0-SNAPSHOT builds
...
Change-Id: I572fe9fea0e5ca0bec4648c916ae95a5b1ccf125
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
9 years ago
Matthias Sohn
831c811f61
Prepare 4.4.0-SNAPSHOT builds
...
Change-Id: Ib41dfe4103f013ba87a1ce62ee24bc9e10300eff
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
9 years ago
Matthias Sohn
f3b8653021
JGit v4.4.0.201606011500-rc2
...
Change-Id: Ifd7b7baba7d676a630e2f742d369c4186ea450a6
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
9 years ago
Matthias Sohn
9720f9e249
Prepare 4.4.0-SNAPSHOT builds
...
Change-Id: Iba6e423294d3315465648d19087a674a73b5ef28
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
9 years ago
Matthias Sohn
f2c58503d7
JGit v4.4.0.201605250940-rc1
...
Change-Id: Idd8e1664730b979cfbd9a2196081a48a1efa3330
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
9 years ago
Matthias Sohn
4641c43a98
Prepare 4.3.2-SNAPSHOT builds
...
Change-Id: I71997a8be83841765111cb7b55506bd8edd8adad
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
9 years ago
Matthias Sohn
41b194c718
JGit v4.3.1.201605051710-r
...
Change-Id: I25fb72cc17d7a27b0b69746d907dac9ccd4d7997
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
9 years ago
Matthias Sohn
b4c6a41adc
Prepare 4.4.0-SNAPSHOT builds
...
Change-Id: Ib95be1300b1b95cc7e8153170d509282bdc4e328
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
9 years ago
Matthias Sohn
1447159b92
JGit v4.4.0.201605041135-m1
...
Change-Id: Ic9b6d7dae293887c3ac3a11f92e153501abad1dc
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
9 years ago
Matthias Sohn
ccf8363693
Prepare 4.4.0-SNAPSHOT builds
...
Change-Id: If3162f4cc4ae6319b9f1e3293549485b039cfe7f
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
9 years ago
Matthias Sohn
ac5d1bc37b
Prepare 4.3.1-SNAPSHOT versions
...
Change-Id: I985828fd379e4596ae7f1c30a87e55df06a7924e
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
9 years ago
Matthias Sohn
f2ee537d55
Prepare 4.3.1-SNAPSHOT versions
...
Change-Id: I52c98ba8fb3a303269a1f9380af114b6dd8c5009
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
9 years ago
Matthias Sohn
4f0daa3bb2
JGit v4.3.0.201604071810-r
...
Change-Id: I902cdf1ff92ce8c6e9d80c4965d8d5bd8b9ac6c1
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
9 years ago
Matthias Sohn
57e6274bcf
JGit v4.3.0.201604071045-r
...
Change-Id: Iafab78d6be34d31a13f979b7be67611135c0f8bd
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
9 years ago
Matthias Sohn
46bef2bcb6
Prepare 4.3-SNAPSHOT builds
...
Change-Id: Ib831f8870938113bd5338763f90a07d5c108b1de
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
9 years ago
Matthias Sohn
bf32c9102f
JGit v4.3.0.201603230630-rc1
...
Change-Id: I10835e5aa3618e5033424595942cc1649152cb24
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
9 years ago
Matthias Sohn
29159f1171
JGit v4.1.2.201602141800-r
...
Change-Id: If0721109f389835a3a00b1a97559fd8f8c156556
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
9 years ago
Matthias Sohn
fc4d117511
Prepare 4.2.1-SNAPSHOT builds
...
Change-Id: Ic9eac53b10ac97b2038b334d388ae3d21393f993
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
9 years ago
Matthias Sohn
20c2079f70
JGit v4.2.0.201601211800-r
...
Change-Id: I89f33b0da81ff499315baa5311f95f31724fa510
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
9 years ago
Matthias Sohn
b30917ce21
Prepare 4.3.0-SNAPSHOT builds
...
Change-Id: Idcf0479529693b023042becd96698f9afd344bd4
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
9 years ago
Matthias Sohn
20f272a71c
Prepare 4.2.0-SNAPSHOT builds
...
Change-Id: Ibe38a95bf36db0c0ed948280b28c416943ec0329
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
9 years ago
David Ostrovsky
13502fef8f
Implement Buck driven build
...
Today there are plenty of modern build tool systems available in the
wild (in no particular order):
* http://bazel.io
* https://pantsbuild.github.io
* http://shakebuild.com
* https://ninja-build.org
* https://buckbuild.com
The attributes, that all these build tools have in common, are:
* reliable
* correct
* very fast
* reproducible
It must not always be the other build tool, this project is currently
using. Or, quoting Gerrit Code Review maintainer here:
"Friends, don't let friends use <the other build tool system>!"
This change is non-complete implementation of JGit build in Buck,
needed by Gerrit Code Review to replace its dependency with standlone
JGit cell. This is very useful when a developer is working on both
projects and is trying to integrate changes made in JGit in Gerrit.
The supported workflow is:
$ cd jgit
$ emacs <hack>
$ cd ../gerrit
$ buck build --config repositories.jgit=../jgit gerrit
With --config repositories.jgit=../jgit jgit cell is routed through
JGit development tree.
To build jgit, issue:
$ buck build //:jgit
[-] PROCESSING BUCK FILES...FINISHED 0,0s
Yes, you can't measure no-op build time, given that Buck daemon is
used.
Change-Id: I301a71b19fba35a5093d8cc64d4ba970c2877a44
Signed-off-by: David Ostrovsky <david@ostrovsky.org>
9 years ago
Matthias Sohn
d2044aed4f
JGit v4.2.0.201512141825-rc1
...
Change-Id: Id725ea888acd23793d37de2864ec0727160a2eaf
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
9 years ago
Matthias Sohn
3e2aff196e
Prepare 4.1.2-SNAPSHOT builds
...
Change-Id: I1d1c4d918f2260c866c4392c1abea1e40a1de962
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
9 years ago
Matthias Sohn
3cb5f11398
JGit v4.1.1.201511131810-r
...
Change-Id: If0246daab39fa279c30874549b198e7aa917bc62
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
9 years ago
Matthias Sohn
35109dc66c
Prepare post 4.2-m1 builds
...
Change-Id: I20e5eadc243ea375948ceca8c99441605c45ad95
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
9 years ago
Matthias Sohn
3a93c8bdca
JGit v4.2.0.201511101648-m1
...
Change-Id: I659e9e95a96797f78f23669cfc5946c6b2d9c088
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
9 years ago
Matthias Sohn
100179a101
Use japicmp instead of clirr to detect API changes
...
Clirr doesn't support Java 8 hence use japicmp instead.
See https://github.com/siom79/japicmp
Change-Id: If4b30a6d6aa849b4d6b3b0c900558c609822840c
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
9 years ago
Matthias Sohn
6664bc6f1c
Prepare 4.2.0-SNAPSHOT builds
...
Change-Id: If559d3565b1f84c93a533e1ce18d5293605d1950
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
9 years ago
Matthias Sohn
729f085ac2
Prepare 4.1.1-SNAPSHOT builds
...
Change-Id: I035f3a8d0f0de86e8b8f00e668be5ce008402e82
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
9 years ago
Matthias Sohn
fdfd6e2872
JGit v4.1.0.201509280440-r
...
Change-Id: I9a536870b9f5c1247c52d6c976a954115982fa1c
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
9 years ago
Matthias Sohn
116d26d121
Prepare 4.0.3-SNAPSHOT builds
...
Change-Id: Ic5ab059bee460c76c6ff3e08141ce351a559691c
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
9 years ago
Matthias Sohn
264c782b77
JGit v4.0.2.201509141540-r
...
Change-Id: I766d95aa282c92dcbd2846145ee52e9cc62dd1f8
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
9 years ago
Dave Borowitz
6e4e34bb9e
Report PackProtocolExceptions to client during receive-pack
...
We have done this since forever with the "wanted old new ref" error,
so let's do it for other such errors thrown in the same block as well.
Change-Id: Ib3b1c7f05e31a5b3e40e85eb07b16736920a033b
9 years ago
Matthias Sohn
176c4b4d5e
Prepare 4.0.2-SNAPSHOT builds
...
Change-Id: I645cacfdde21aa28aa2e17c10dec0576b170ed0e
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
10 years ago
Matthias Sohn
90f36e5002
JGit v4.0.1.201506240215-r
...
Change-Id: Ib7713b657e7812b0debd72bb4eece0daa187e80d
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
10 years ago
Matthias Sohn
2dd4dc149c
Prepare 4.0.1-SNAPSHOT builds
...
Change-Id: I51d03d1a47d1e3cd453701e397750749867028a2
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
10 years ago