Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Introduce a ExecutionScopeServices between BuildSession and Build scopes

- This isn't wired into anything, so no services actually work yet.

    • -14
    • +2
    ./sftp/SftpResourcesPluginServiceRegistry.java
  1. … 30 more files in changeset.
Stop all sftp clients when the factory is stopped

...rather than only released clients.

  1. … 1 more file in changeset.
Check that an existing sftp connection is still connected before reuse

  1. … 3 more files 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. … 24 more files in changeset.
Merged internal `ResourceException` into public `ResourceException`.

  1. … 33 more files in changeset.
Fixed SFTP upload for change to common-io version.

Removed duplicate PasswordCredentials

  1. … 5 more files in changeset.
Normalize authentication package names

+review REVIEW-5569

  1. … 44 more files in changeset.
Resource transport credentials refactoring. - Authentication objects are now passed thru to ResourceConnectionFactory - Connectors now use credentials on Authentication objects for configuration - Removed some usages of duplicate PasswordCredentials class in resources project

+review REVIEW-5569

  1. … 26 more files in changeset.
Initial work for authentication types story. - Add support for configuring authentication schemes for repositories - Update Http transport factory to only enable configured authentication schemes

+review REVIEW-5569

  1. … 31 more files in changeset.
Adding build session scope to PluginServiceRegistry

+review REVIEW-5510

    • -0
    • +3
    ./sftp/SftpResourcesPluginServiceRegistry.java
  1. … 34 more files in changeset.
Added LocalResource which is supplied for uploading a local file to an external repository

+review REVIEW-5403

  1. … 16 more files in changeset.
Changed ExternalResourceAccessor to return an ExternalResourceReadResponse instead of ExternalResource.

  1. … 16 more files in changeset.
Added ExternalResourceMetaData.contentType and use this to do content listing of HTTP resources instead of bolting directly on to the HTTP response.

  1. … 11 more files in changeset.
Busted up S3Resource and SftpResource to use composition instead of inheritance.

  1. … 6 more files in changeset.
Use a consistent error message when something goes wrong getting or putting an external resource.

  1. … 6 more files in changeset.
Added a resource location to `ResourceException` and subtypes. Use `ResourceException` instead of `IOException` when something goes wrong fetching a resource's content or meta-data.

  1. … 22 more files in changeset.
Use ResourceException instead of IOException when retrieving a resource.

  1. … 17 more files in changeset.
Moved handling of locating, downloading and parsing of a `.sha1` file up out of the ExternalResource abstractions up into the dependency resolution layer.

This means using the `.sha1` file to short-circuit a download when we have some local candidates now works for all transports.

  1. … 12 more files in changeset.
Removed unused method.

Extract creation of compilation state cache from IncrementalNativeCompiler to a gradle scoped factory service to avoid multiple creations of the cache which resulted in a file handle leak.

+review REVIEW-5440

    • -0
    • +3
    ./sftp/SftpResourcesPluginServiceRegistry.java
  1. … 29 more files in changeset.
Switched on strict compile for the `resources` projects.

  1. … 3 more files in changeset.
Attempt to load all registered ResourceConnectorFactory instances

    • -2
    • +2
    ./sftp/SftpResourcesPluginServiceRegistry.java
  1. … 2 more files in changeset.
Removed compile-time dependency of core dependency management on resources-sftp

- Register the ResourceConnectorFactory in resources-sftp

- Consume the registered factory in dependency-management

- Now to register and consume http & s3 as well

    • -0
    • +44
    ./sftp/SftpResourcesPluginServiceRegistry.java
  1. … 5 more files in changeset.
Moved resource connector APIs into ‘resources’ subproject

- Also moved SftpResourceConnector in to ‘resources-sftp’ project

    • -0
    • +48
    ./sftp/SftpConnectorFactory.java
  1. … 10 more files in changeset.
extract sftp resource into separate project

+review REVIEW-5361

    • -0
    • +25
    ./sftp/LockableSftpClient.java
    • -0
    • +169
    ./sftp/SftpClientFactory.java
    • -0
    • +23
    ./sftp/SftpException.java
    • -0
    • +92
    ./sftp/SftpHost.java
    • -0
    • +76
    ./sftp/SftpResource.java
    • -0
    • +78
    ./sftp/SftpResourceAccessor.java
    • -0
    • +57
    ./sftp/SftpResourceLister.java
    • -0
    • +80
    ./sftp/SftpResourceUploader.java
  1. … 23 more files in changeset.