Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Modified the changes to conform with pull request changes request

Signed-off-by: Jakub Strzyżewski <github@jeikobu.net>

  1. … 1 more file in changeset.
Added a nullcheck for username and an appropriate exception to avoid a NullPointerException when username is null

Signed-off-by: Jakub Strzyżewski <github@jeikobu.net>

  1. … 1 more file in changeset.
Support HTTP header based authentication for Maven repositories

Now it's possible to use a custom HTTP header to authorize access to

Maven repositories. This enables Gradle to access private GitLab and TFS

repositories used as Maven repositories or any OAuth2 protected Maven

repository.

Resolves #5571.

    • -3
    • +29
    ./transport/http/HttpClientConfigurerTest.groovy
    • -0
    • +31
    ./transport/http/HttpClientHttpHeaderCredentialsTest.groovy
    • -0
    • +54
    ./transport/http/HttpHeaderAuthSchemeTest.groovy
  1. … 28 more files in changeset.
Use canonical URL for Maven Central repository shortcut method (#3464)

    • -1
    • +1
    ./transport/http/ApacheDirectoryListingParserTest.groovy
  1. … 3 more files in changeset.
Updated references of Maven Central URL to new default URL

    • -1
    • +1
    ./transport/http/ApacheDirectoryListingParserTest.groovy
  1. … 2 more files in changeset.
Gradle should fail resolution from subsequent repositories on critical errors (#3412)

    • -0
    • +44
    ./transport/http/HttpErrorStatusCodeExceptionTest.groovy
  1. … 15 more files in changeset.
Revert "Revert "Introduce HTTP timeout (#3041)""

This reverts commit 14711361a0cb6beb3a57766804c109ba6f3f87c0.

    • -0
    • +16
    ./transport/http/HttpClientConfigurerTest.groovy
    • -0
    • +86
    ./transport/http/HttpClientHelperTimeoutTest.groovy
    • -0
    • +68
    ./transport/http/JavaSystemPropertiesHttpTimeoutSettingsTest.groovy
  1. … 10 more files in changeset.
Revert "Introduce HTTP timeout (#3041)"

This reverts commit 59153d58c906341cfe3b5bebbedf289e3def1e09.

    • -16
    • +0
    ./transport/http/HttpClientConfigurerTest.groovy
    • -86
    • +0
    ./transport/http/HttpClientHelperTimeoutTest.groovy
    • -68
    • +0
    ./transport/http/JavaSystemPropertiesHttpTimeoutSettingsTest.groovy
  1. … 10 more files in changeset.
Introduce HTTP timeout (#3041)

Introduce HTTP connection and socket timeout

Fix https://github.com/gradle/gradle/issues/868

    • -0
    • +16
    ./transport/http/HttpClientConfigurerTest.groovy
    • -0
    • +86
    ./transport/http/HttpClientHelperTimeoutTest.groovy
    • -0
    • +68
    ./transport/http/JavaSystemPropertiesHttpTimeoutSettingsTest.groovy
  1. … 10 more files in changeset.
Introduce HTTP connection and socket timeout

    • -0
    • +16
    ./transport/http/HttpClientConfigurerTest.groovy
    • -0
    • +86
    ./transport/http/HttpClientHelperTimeoutTest.groovy
    • -0
    • +68
    ./transport/http/JavaSystemPropertiesHttpTimeoutSettingsTest.groovy
  1. … 15 more files in changeset.
Revert Http socket/connection timeouts for the release (#2879)

    • -16
    • +0
    ./transport/http/HttpClientConfigurerTest.groovy
    • -85
    • +0
    ./transport/http/HttpClientHelperTimeoutTest.groovy
    • -68
    • +0
    ./transport/http/JavaSystemPropertiesHttpTimeoutSettingsTest.groovy
  1. … 16 more files in changeset.
Defines default HTTP connection and socket timeouts (#2757)

    • -0
    • +16
    ./transport/http/HttpClientConfigurerTest.groovy
    • -0
    • +85
    ./transport/http/HttpClientHelperTimeoutTest.groovy
    • -0
    • +68
    ./transport/http/JavaSystemPropertiesHttpTimeoutSettingsTest.groovy
  1. … 16 more files in changeset.
Renamed a class.

    • -2
    • +2
    ./transport/http/HttpResourceUploaderTest.groovy
  1. … 26 more files in changeset.
Moved a class to remove package cycle.

    • -1
    • +1
    ./transport/http/HttpResourceUploaderTest.groovy
  1. … 22 more files in changeset.
Add tests reproducing issue #732

+review REVIEW-6323

    • -0
    • +37
    ./transport/http/HttpResourceAccessorTest.groovy
  1. … 2 more files in changeset.
Fixed failing integration tests due to `null` being returned instead of a proper http response

    • -1
    • +1
    ./transport/http/AbstractHttpClientTest.groovy
    • -1
    • +1
    ./transport/http/HttpClientHelperTest.groovy
  1. … 3 more files in changeset.
Merge branch 'max-age' of https://github.com/DanielThomas/gradle into DanielThomas-max-age

    • -1
    • +17
    ./transport/http/HttpClientHelperTest.groovy
  1. … 8 more files in changeset.
Do not require password for truststore (#697)

Because it throws an apache http SSLInitializationException it was

misleading as to what was really the cause of a password being

required for the use of a custom truststore.

+review REVIEW-6256

    • -0
    • +156
    ./transport/http/DefaultSslContextFactoryTest.groovy
  1. … 1 more file in changeset.
Extract common logic for checking correct closing of response

GRADLE-3518

+review REVIEW-6201

    • -0
    • +56
    ./transport/http/AbstractHttpClientTest.groovy
    • -15
    • +6
    ./transport/http/HttpClientHelperTest.groovy
    • -17
    • +6
    ./transport/http/HttpResourceUploaderTest.groovy
    • -9
    • +5
    ./transport/http/HttpResponseResourceTest.groovy
Add tests for correct usage of CloseableHttpResponse

GRADLE-3518

+review REVIEW-6201

    • -0
    • +25
    ./transport/http/HttpClientHelperTest.groovy
    • -0
    • +51
    ./transport/http/HttpResourceUploaderTest.groovy
    • -0
    • +16
    ./transport/http/HttpResponseResourceTest.groovy
Close responses from httpclient

Since Apache HttpClient 4.3 `(Closable)HttpResponse`s

need to be closed. Gradle has not been doing that after

the upgrade to HttpClient 4.4. This probably caused some

resource problems.

GRADLE-3518

    • -2
    • +2
    ./transport/http/AlwaysRedirectRedirectStrategyTest.groovy
    • -2
    • +2
    ./transport/http/HttpClientHelperTest.groovy
    • -3
    • +3
    ./transport/http/HttpResponseResourceTest.groovy
  1. … 4 more files in changeset.
Refine ApacheDirectoryListingParserTest

Some test cases were not testing what was intended.

    • -6
    • +6
    ./transport/http/ApacheDirectoryListingParserTest.groovy
GRADLE-3424 Enable default httpclient retry handler

* GRADLE-3424 Enable default httpclient retry handler

    • -1
    • +1
    ./transport/http/HttpClientConfigurerTest.groovy
  1. … 1 more file in changeset.
GRADLE-3424 Enable default httpclient retry handler

* GRADLE-3424 Enable default httpclient retry handler

    • -1
    • +1
    ./transport/http/HttpClientConfigurerTest.groovy
  1. … 1 more file in changeset.
Add ability to revalidate external resource requests

The argument allows Cache-Control: max-age=0 to be added in cases where it's desirable for artifact repositories or caching proxies to revalidate requests:

- Listing version metadata

- Resource has exceeded it's cache lifetime on disk, such as dynamic/snapshot dependencies or when --refresh-dependencies is specified

    • -1
    • +17
    ./transport/http/HttpClientHelperTest.groovy
    • -2
    • +2
    ./transport/http/HttpResourceListerTest.groovy
  1. … 23 more files in changeset.
Merged internal `ResourceException` into public `ResourceException`.

    • -1
    • +1
    ./transport/http/ApacheDirectoryListingParserTest.groovy
  1. … 37 more files in changeset.
Renamed `o.g.internal.resource.Resource` to `TextResource`.

    • -2
    • +2
    ./transport/http/HttpClientConfigurerTest.groovy
  1. … 35 more files in changeset.
Add caching of ssl contexts

+review REVIEW-5736

    • -5
    • +2
    ./transport/http/HttpClientConfigurerTest.groovy
    • -3
    • +2
    ./transport/http/HttpClientHelperTest.groovy
  1. … 8 more files in changeset.
Add back removed test

+review REVIEW-5736

    • -0
    • +13
    ./transport/http/HttpClientConfigurerTest.groovy
Fix unit tests

+review REVIEW-5736

    • -4
    • +5
    ./transport/http/HttpClientConfigurerTest.groovy
    • -3
    • +2
    ./transport/http/HttpClientHelperTest.groovy