--
You received this message because you are subscribed to the Google Groups "Nexus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nexus-users...@glists.sonatype.com.
To post to this group, send email to nexus...@glists.sonatype.com.
To view this discussion on the web visit https://groups.google.com/a/glists.sonatype.com/d/msgid/nexus-users/70986f2b-47f3-41b7-95ee-4e25011cb690%40glists.sonatype.com.
For more options, visit https://groups.google.com/a/glists.sonatype.com/d/optout.
This is a way I could see you doing this:Run that script to list all assets in your npm repo and then use curl to download them to a local folder.You can use the npm import script from there to push stuff in I believe.These are community scripts (the second one I wrote), so your mileage may vary, but this might work for you. Let me know how it goes?
On Thu, Sep 14, 2017 at 11:33 AM Raj P <rp0...@gmail.com> wrote:
we have some npm artifacts on a nexus 3 installed server A--we have some npm artifacts and all of the maven artifacts on another server Bwe would like to bring the artifacts on server A to server B.is there a simple way ?i think i remember that the only way suggested was to leave the old server A running and point it as proxy from the server B once the cache gets all the artifacts then safely remove the server A.any help or pointers appreciated.Thank you in advance for your time.
You received this message because you are subscribed to the Google Groups "Nexus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nexus-users+unsubscribe@glists.sonatype.com.
To post to this group, send email to nexus...@glists.sonatype.com.
To view this discussion on the web visit https://groups.google.com/a/glists.sonatype.com/d/msgid/nexus-users/70986f2b-47f3-41b7-95ee-4e25011cb690%40glists.sonatype.com.
For more options, visit https://groups.google.com/a/glists.sonatype.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Nexus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nexus-users+unsubscribe@glists.sonatype.com.
To view this discussion on the web visit https://groups.google.com/a/glists.sonatype.com/d/msgid/nexus-users/CAHpWApe%3DoyZ0hsP1P-6nvAy8NwLSsQKk2iz9Obt_zPFtv%3DKtgA%40mail.gmail.com.
Note that any of these approaches we've discussed are going to have some data changes in terms of publish date, etc., but that shouldn't have any impact on using these packages with npm.Other potential paths forward:- you can set up a proxy of server A on server B and proactively request all content to populate the proxy Repository using the existing (beta) REST api. i.e. Iterate over all npm files exposed from server A through the REST api and then request those same packages from server B so your proxy eventually contains all of the same packages. Details of the REST api are documented at http://{nexus host}:{nexus port}/swagger-ui/#!/assets/getAssets
- haven't tried this, but presumably it works and is easy to use with your existing npm toolchain? https://www.npmjs.com/package/npm-copy
On Thu, Sep 14, 2017 at 11:56 AM, Jeffry Hesse <jhe...@sonatype.com> wrote:
This is a way I could see you doing this:Run that script to list all assets in your npm repo and then use curl to download them to a local folder.You can use the npm import script from there to push stuff in I believe.These are community scripts (the second one I wrote), so your mileage may vary, but this might work for you. Let me know how it goes?
On Thu, Sep 14, 2017 at 11:33 AM Raj P <rp0...@gmail.com> wrote:
we have some npm artifacts on a nexus 3 installed server A--we have some npm artifacts and all of the maven artifacts on another server Bwe would like to bring the artifacts on server A to server B.is there a simple way ?i think i remember that the only way suggested was to leave the old server A running and point it as proxy from the server B once the cache gets all the artifacts then safely remove the server A.any help or pointers appreciated.Thank you in advance for your time.
You received this message because you are subscribed to the Google Groups "Nexus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nexus-users...@glists.sonatype.com.
To post to this group, send email to nexus...@glists.sonatype.com.
To view this discussion on the web visit https://groups.google.com/a/glists.sonatype.com/d/msgid/nexus-users/70986f2b-47f3-41b7-95ee-4e25011cb690%40glists.sonatype.com.
For more options, visit https://groups.google.com/a/glists.sonatype.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Nexus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nexus-users...@glists.sonatype.com.
To unsubscribe from this group and stop receiving emails from it, send an email to nexus-users+unsubscribe@glists.sonatype.com.
To view this discussion on the web visit https://groups.google.com/a/glists.sonatype.com/d/msgid/nexus-users/9c7cdb7c-85dd-4090-bc2e-d0b234ad5afb%40glists.sonatype.com.