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

Add Dependency Snippet to Browse UI #7

Open
DarthHater opened this issue Feb 26, 2019 · 0 comments
Open

Add Dependency Snippet to Browse UI #7

DarthHater opened this issue Feb 26, 2019 · 0 comments

Comments

@DarthHater
Copy link
Member

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.

  • What are you trying to do?

Nexus Repository let's you add handy dependency snippets, so why not add one for Cargo!

  • What feature or behavior is this required for?

Just makes things easier for someone trying to bring in a dependency

  • How could we solve this issue? (Not knowing is okay!)

You can look at how it's done with Maven:

https://github.com/sonatype/nexus-public/blob/1c67b2d4679ee58aa77ee24509a3421a7fa7d5ae/plugins/nexus-repository-maven/src/main/resources/static/rapture/NX/maven/app/PluginConfig.js

https://github.com/sonatype/nexus-public/blob/1c67b2d4679ee58aa77ee24509a3421a7fa7d5ae/plugins/nexus-repository-maven/src/main/resources/static/rapture/NX/maven/controller/MavenDependencySnippetController.js

Tests too!

https://github.com/sonatype/nexus-public/blob/9cd1a389aaa0f23fd6d89c17f2faf53d2a70e025/plugins/nexus-repository-maven/src/test/resources/jasmine/NX/maven/controller/MavenDependencySnippetController-spec.js

  • Anything else?

Have a blast!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant