connexta / osg-eyes

1 stars 3 forks source link

Ability to pull and index dependency data from the Maven M2 directory to remove the need for building the version of source you want to analyze #10

Open Lambeaux opened 4 years ago

Lambeaux commented 4 years ago

Issue summary & value proposition

One key piece of insight is how dependency graphs change across released versions or as part of a pull request. By moving indexing to the M2 instead of the cloned repository:

Proposed solution

This is the next crucial feature that will make osg-eyes more useful to more engineers. Several things need to happen:

While still a valid filter syntax, the canonical data model used to represent nodes is changing from just <repo>/<bundle-symbolic-name> to full maven coordinates.

(Optional) Standalone but related improvements worth doing if repo indexing is here to stay:

(Optional) (Related) Support index metadata

Lambeaux commented 3 years ago

Bumping this in priority. Instead of making the full UI jump, will consider tackling that later and will wrap up the maven functionality to be used on the same JVM just like how the CLI works today. That should be sufficient for reporting on DDF's dependencies and backlogging next steps.

Indexing example proved successful on the mvn-indexing branch. Going to move it to a new branch, nuke the UI commits, and rework things so Clojure queries my custom indexer instead of the filesystem directly.

No need to create connectors or manually traverse an m2 as of yet. Index Creators will be the solution for now.