Sonatype Nexus as IPM repository?
It's not supported at the moment but is it possible to implement the Sonatype Nexus (or JFrog Artifactory) support based on the current (or upcoming) IPM version?
In repo command help I see there is a support for filesystem repositories (which I have not yet tried) and my current (hopefully not far-fetched) interpretation is the IPM is designed to be able to support different repositories:
zpm:IPMTEST1>help repo
[...]
■ Filesystem repository:
∙ -filesystem, -f, -fs : Create/update a filesystem repository
∙ -depth, -d <value> : For filesystem repositories, specifies the depth (number of folders underneath the root) to search for files named module.xml
∙ -path, -p <value> : For filesystem repositories, specifies the path to the root directory
[...]
■ Examples
∙ repo -name LocalFiles -snapshots 1 -fs -depth 2 -path C:\MyWorkspace\RootModuleDir\
Create a repository pointing to the filesystem with name LocalFiles, accepting snapshots, looking for files named module.xml up to 2 directories deep in C:\MyWorkspace\RootModuleDir\The motivation: we already have a repository implementation used for Java and Docker builds and we would like to reuse that instead introducing a new component. I believe we're not the only ones here with this setup.
Comments
Just noticed https://github.com/intersystems/ipm/pull/541 that is bringing in OCI support.
I know nothing about OCI/ORAS except what I just read from here: https://oras.land/docs/
Do I conclude correctly this will enable Nexus/Artifactory support?
that is correct ... Artifactory will be supported with this release.
Confirmed - OCI/ORAS will be supported in the next major release after v0.9 and getting this wrapped up is our top priority.
Re: Nexus, I don't see it listed here (https://oras.land/adopters/) but it's possible that it could be supported anyway. From an IPM perspective there isn't anything too registry-provider-specific (hooray standards!)
Nexus is not listed in https://oras.land/adopters/ but OCI support is mentioned e.g. here: https://www.sonatype.com/blog/sonatype-nexus-repository-as-a-container-…