sonatype-nexus-community / nexus-repository-apt

A Nexus Repository 3 plugin that allows usage of apt repositories
Eclipse Public License 1.0
105 stars 50 forks source link

Create components for packages rather than just assets #61

Closed DarthHater closed 4 years ago

DarthHater commented 6 years ago

Thanks for creating an issue! Please fill out this form so we can be sure to have all the information we need, and to minimize back and forth.

mpoindexter commented 6 years ago

I think the hardest part would be migrating any existing data that is stored...@DarthHater, any examples of ways to do that in other plugins?

DarthHater commented 6 years ago

You'd want to probably take a look at how npm does this:

https://github.com/sonatype/nexus-public/blob/master/plugins/nexus-repository-npm/src/main/java/org/sonatype/nexus/repository/npm/internal/ComponentDatabaseUpgrade_1_9.java

That's an example of performing an upgrade, and should get someone started.

bhamail commented 4 years ago

APT is now part of Nexus Repository Manager. Version 3.17.0 includes the APT plugin by default. If this is still an issue if using 3.17.0 or later please file an issue at https://issues.sonatype.org/. Links to the new source code location are in the top level README.md