Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Investigate using a local lightweight proxy rather than Torquebox #364

Closed
15 tasks done
ysb33r opened this issue May 30, 2019 · 1 comment
Closed
15 tasks done

Investigate using a local lightweight proxy rather than Torquebox #364

ysb33r opened this issue May 30, 2019 · 1 comment

Comments

@ysb33r
Copy link
Contributor

ysb33r commented May 30, 2019

Investigate the possibility of using a lightweight local proxy inside Gradle rather than Tortquebox or going through the maven-wagon protocol. The idea is that if succesfull, this should displace the following defects:

Consider doing the following:

  • Run a lightweight proxy server inside Gradle using Ratpack or Micronaut.
  • Cache lookups in Gradle cache.
  • Resolve metadata for a dependency with transitive dependencies and cache locally.
  • Implement direct access to the Rubygems REST API (v1 & v2).
  • Implement Gem to Ivy.xml transformation.
  • Implement /{group}/{module}/{revision}/ivy.xml.
  • Implement /{group}/{module}.
  • Embed only such server per full project (not per subproject)
  • Use an Ivy proxy rather than Maven as it is easier to split lookups between servers. In this way we can lookup up an ivy.xml via the local proxy but retrieve the GEM directly from rubygems.org (or another server).
  • Ensure that caching is safe between Gradle instances
  • Ensure that caching is safe between threads within the same Gradle instance
  • Allow --refresh-dependencies to redo the lookups
  • Expire ivy.xml caches after a set period of time.
  • Implement debug logging mode.
  • Add a RepositoryHandler extension.
@ysb33r ysb33r added this to the 2.0.0 - Stuttgart milestone May 30, 2019
@ysb33r ysb33r self-assigned this May 30, 2019
@rtyler
Copy link
Member

rtyler commented May 31, 2019

@ysb33r everything is checked here does that mean your experiments have been successful 😹

ysb33r added a commit to ysb33r/jruby-gradle-plugin that referenced this issue Jun 1, 2019
- Resolve dependencies with transitive dependencies.
- Added a repository handler extension for defining rubygems.
- Protect ivy.xml file creation against concurrent access from threads of multiple processes.
- Support all known GEM version requirement formats
ysb33r added a commit to ysb33r/jruby-gradle-plugin that referenced this issue Jun 1, 2019
ysb33r added a commit to ysb33r/jruby-gradle-plugin that referenced this issue Jun 1, 2019
- Resolve dependencies with transitive dependencies.
- Added a repository handler extension for defining rubygems.
- Protect ivy.xml file creation against concurrent access from threads of multiple processes.
- Support all known GEM version requirement formats
ysb33r added a commit to ysb33r/jruby-gradle-plugin that referenced this issue Jun 1, 2019
ysb33r added a commit to ysb33r/jruby-gradle-plugin that referenced this issue Jun 1, 2019
ysb33r added a commit to ysb33r/jruby-gradle-plugin that referenced this issue Jun 1, 2019
ysb33r added a commit to ysb33r/jruby-gradle-plugin that referenced this issue Jun 5, 2019
ysb33r added a commit to ysb33r/jruby-gradle-plugin that referenced this issue Jun 5, 2019
ysb33r added a commit to ysb33r/jruby-gradle-plugin that referenced this issue Jun 5, 2019
ysb33r added a commit to ysb33r/jruby-gradle-plugin that referenced this issue Jun 6, 2019
ysb33r added a commit to ysb33r/jruby-gradle-plugin that referenced this issue Jun 6, 2019
ysb33r added a commit to ysb33r/jruby-gradle-plugin that referenced this issue Jun 6, 2019
ysb33r added a commit to ysb33r/jruby-gradle-plugin that referenced this issue Jun 8, 2019
ysb33r added a commit to ysb33r/jruby-gradle-plugin that referenced this issue Jun 8, 2019
@ysb33r ysb33r added the core label Jun 9, 2019
ysb33r added a commit that referenced this issue Jun 15, 2019
Improve GEM handling and resolving (#364, #366, #370)
ysb33r added a commit to ysb33r/jruby-gradle-plugin that referenced this issue Jun 15, 2019
@ysb33r ysb33r closed this as completed Jun 16, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

2 participants