Giter VIP home page Giter VIP logo

nexus-ruby-support's Introduction

This repository has moved!

New place is https://github.com/sonatype/nexus-ruby-support


Nexus Ruby Support

This repository contains components and Nexus plugins to enhance Nexus with Ruby support. Stay tuned!

This plugin is powered with JRuby.

What we currently convert to Gem

  • Maven2 artifacts with packaging "jar" -- plain libraries
  • Maven2 artifacts with packaging "pom" -- usually needed as metadata source (like dependency-grouping, or parent POMs)

Other artifacts (WARs, EARs, etc) are currently left out completely, since we still don't know how to make them usable in Ruby-world.

Problems to solve:

  • Maven Version to Ruby Gems Version convert (hard)
  • Currently, we do Gems from Java. Maybe reuse Ruby Gems to do that?
  • Indexing should be enhanced. Ruby Gems indexer does publish proper indexes downstream, but no Nexus integration is added yet (Gems are not searchable).
  • Enhance the embedded Ruby class in Gems created out of Jar, resolve: conflicts, better naming, etc.

Biggest challenges (unsolved)

  • Enhance embedded ruby stub script.

  • Using effective POMs in MavenArtifact to Gem conversion. This is currently unclear, since this would need embedding Maven into Nexus, but that is completely different story.

  • Improve indexing (gem indexing). Currently, I see some problems since indexing is unable to deduce is "update" enough or full indexing is needed (right now, on our "lab server" indexing fails, since it would need full reindex, but update is tried).

  • Integrate Gem indexing with Nexus Indexing.

Biggest challenges (solved)

  • The Versioning scheme, it is currently the blocker. My initial "scratch" idea is following:

  • will soon extract all the "unique versions" from Maven central (and will put it here as file)

  • we should come up with some good heuristics to process them at least up to 95%

  • the rest would be a "human input", the version converter component should have some input file, where to find "exceptions" (or something alike this)

DONE. (mkristian)

Have fun!
t

nexus-ruby-support's People

Contributors

cstamas avatar mkristian avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.