Can Nexus / Artifactory cache RPMs and NPMs?

We value Nexus vs Artifactory as a solution to an artifact store. They can cache remote Maven repositories pretty well. Can one of them cache RPMs and NPMs?

+6
source share
5 answers

Although both of them have support for hosted yum repositories for rpm packages, I think that neither of them supports proxying other repositories.

However, this is a feature that I saw before for the Nexus. Neumus Yum repositories can be wrapped around a Maven repository, although you can have a Maven repository with rpm packages and then exposed as a yum repository.

NPM is a completely different package format (using an internal database) and was requested by Nexus users. You can even implement support for yourself as a Nexus plugin. YUM support for Nexus was originally created as a community contribution.

Update: NPM support is available as part of Nexus Open Source and Professional since the release of version 2.10. More information is available on the blog about this , and documentation is also available.

+7
source

Private NPM local registry support was added to Artifactory in version 3.2.0 http://www.jfrog.com/confluence/display/RTF/Npm+Repositories

+11
source

Nexus (2.10 and later) can proxy NPM:

http://books.sonatype.com/nexus-book/2.10/reference/npm.html

However, the problem is that dependencies of the 2nd and 3rd levels ignore the registry configuration and switch from the default registry to https://registry.npmjs.org . This is a problem with NPM, not with Nexus.

+6
source

Artifactory has excellent RPM support . NPM in the pipe .

+3
source

With the latest version 3.5.3, artifactory pro now officially supports remote YUM repositories (just tried it).

Keep in mind that you can only perform full mirroring / proxy repositions: exceptions / inclusions, and virtual repositories do not work, because the metadata of the remote repository is not recounted.

0
source

Source: https://habr.com/ru/post/953586/


All Articles