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
Matthias Sohn
4f22185455
JGit v4.0.0.201506090130-r
...
Change-Id: I01ad84fc74555656c42934cd62a85269a7030557
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
10 years ago
Jonathan Nieder
cc4f4f2fe1
Use message from ServiceNotAuthorizedException, ServiceNotEnabledException
...
When sending an error response due to ServiceNotAuthorizedException or
ServiceNotEnabledException, usually we send a default message. In the
ServiceNotEnabledException case, we use
403 Git access forbidden
except in a dumb-HTTP-specific filter where we use the servlet
container's default 403 response:
403 Forbidden
In the ServiceNotAuthorizedException case, we use the servlet
container's default 401 response:
401 Unauthorized
There is one exception: a ServiceNotEnabledException when handling a
smart HTTP /info/refs request uses the message from the exception:
403 Service not enabled
Be more consistent by always using the message from the exception. This
way, authors of a RepositoryResolver, UploadPackFactory, or
ReceivePackFactory can provide a more detailed message when appropriate.
The defaults are
401 Unauthorized
403 Service not enabled
Change-Id: Id1fe1c2042fb96487c3671c1965c8a65c4b8e1b8
Signed-off-by: Jonathan Nieder <jrn@google.com>
10 years ago
Jonathan Nieder
761e61f1ed
dumb HTTP: Clarify AsIsFilter by introducing req and res locals
...
No functional change.
Change-Id: I945ba18879c360f433e026aa125ef3f9f6a75793
Signed-off-by: Jonathan Nieder <jrn@google.com>
10 years ago
Matthias Sohn
a79168bcbb
Prepare 4.1.0-SNAPSHOT builds
...
Change-Id: I03d08b8e2d3400d4b5cdb4ab541b312870776843
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
10 years ago
Matthias Sohn
72ecb5c8c7
Prepare post 4.0-RC3 builds
...
Change-Id: I74469f1243503098fb05b5ddec3fa609132debab
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
10 years ago
Matthias Sohn
d59fafc7ca
JGit v4.0.0.201506020755-rc3
...
Change-Id: I31c6177d19cba228aa67b2b5c3e0d82c38395cda
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
10 years ago
Matthias Sohn
ce8baa3715
Update dependencies to the versions used in target platform
...
- update com.jcraft.jsch to 0.1.51
- update javax.servlet to 3.1.0
Change-Id: Ie536182d1efc6dcc3abd03f8a9acd013adcbf2a8
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
10 years ago
Matthias Sohn
74009ba3ef
Prepare post 4.0.0-rc2 builds
...
Change-Id: I3ba1bb0d7f220f88eb768a3137493f737aadf466
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
10 years ago