--
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/83e76d2c-fe19-4ee4-a306-3bbe41ee3bb7%40glists.sonatype.com.
For more options, visit https://groups.google.com/a/glists.sonatype.com/d/optout.
Hi Sverre,You are correct in that the Yum hosted implementation is not designed to generate metadata at multiple depths. I think to solve it you would only need distinct repositories per depth? i.e. in the above example a depth 2, a depth 3 and a depth 4 repository which would essentially be repository-master, repository-work, repository-feature. I know that changes the client setup but that will become easier once Yum Group is available.Another workaround would be to artificially pad the repositories to all be at depth 4, i.e. make /testingrepo/master/opensuse42.3 into /testingrepo/1/2/master/opensuse42.3.Let us know how you get on,Joe
On Wed, Feb 7, 2018 at 5:03 AM, Sverre Moe <sverr...@gmail.com> wrote:
Finally Nexus now supports hosted yum repositories.Have tried this out, but am finding a problem with Repodata depth.dept=2: /testingrepo/master/opensuse42.3dept=3: /testingrepo/user/work/opensuse42.3dept=4: /testingrepo/user/featureA/work/opensuse42.3Minimum depth is 2 for any Yum repository we have, but if I set to this value then the repo will be created in wrong place if I place the RPMS at a lower depth./testingrepo/master/opensuse42.3 CORRECT/testingrepo/user/work/ WRONG, should be at /testingrepo/user/work/opensuse42.3/testingrepo/user/featureA/ WRONG, should be at /testingrepo/user/featureA/work/opensuse42.3The only way I see to avoid this would be to create several distinct hosted yum repositories for each BRANCH/OS,However then we will have a problem when a new branch is created, or a new OS added. I would have to manually create the nexus hosted yum for it before Jenkins can start building and publish the artifacts there. If I could automatically create a Yum repository if it does not exist through remote API in my Jenkins build pipeline script, then it could work.Though we have hundreds of Yum repositories. For branch master we have 6 OS repositories, and there a lot of branches. It will be a massive list on Nexus.
--
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/83e76d2c-fe19-4ee4-a306-3bbe41ee3bb7%40glists.sonatype.com.
For more options, visit https://groups.google.com/a/glists.sonatype.com/d/optout.
--Joseph Stephens



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/50dd3c52-71ce-4d31-8fc9-d2cbd9b56e3e%40glists.sonatype.com.
To view this discussion on the web visit https://groups.google.com/a/glists.sonatype.com/d/msgid/nexus-users/50dd3c52-71ce-4d31-8fc9-d2cbd9b56e3e%40glists.sonatype.com.
--Joseph Stephens
Perhaps Yum Repository Group to combine two repositoriesNot sure how as the documentation is not quite specific:I have not fiddled with comps.xml before. Need to read up about it.
Archiving:Archiving old RPMs when transferring new RPMs to repository. If there was possible to move files out of the Nexus repository and into an archive raw repository.
I don't quite like that users need to know which depth testing repository they need to use.

--
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/12446f3a-2022-4f77-9842-3e80f3438d62%40glists.sonatype.com.
Hi Sverre,Perhaps Yum Repository Group to combine two repositoriesNot sure how as the documentation is not quite specific:I have not fiddled with comps.xml before. Need to read up about it.This will not solve your problem. Comps.xml allows you to create "sets" of RPMs that you can install with a single command (e.g. yum groupinstall all-rpms-required-for-development). It's unfortunate that yum uses the term group which clashes with NXRMs definition of group.
Archiving:Archiving old RPMs when transferring new RPMs to repository. If there was possible to move files out of the Nexus repository and into an archive raw repository.There is a PRO-only feature in development that would allow you to achieve this once it is released. I'm sure someone else would be willing to talk to you about this further if you are interested.
I don't quite like that users need to know which depth testing repository they need to use.This problem will be partially solved, once Yum Group is released. It will allow reads to be done from a single repository and will look like the screenshot below
This still won't solve the problem of your users having to know where to upload their RPMs and sadly I don't have a solution for that yet. Feel free to file an improvement ticket at https://issues.sonatype.org which will allow us to track interest.
torsdag 15. februar 2018 12.30.12 UTC+1 skrev Joseph Stephens følgende:Hi Sverre,Perhaps Yum Repository Group to combine two repositoriesNot sure how as the documentation is not quite specific:I have not fiddled with comps.xml before. Need to read up about it.This will not solve your problem. Comps.xml allows you to create "sets" of RPMs that you can install with a single command (e.g. yum groupinstall all-rpms-required-for-development). It's unfortunate that yum uses the term group which clashes with NXRMs definition of group.That's too bad. Only solution then would be to copy the third party RPMs into all release repositories.
This could also be solved with Yum Group. Is it planned for Nexus 3.9.0
Will this come in OSS later?
However, a yum repository without a depth configuration would solve this and the group problem.If there could be a way to tell Nexus where the repodata should be generated. Perhaps by uploading a file nexus.conf.
--
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/266eee18-a377-479a-a344-178a3a1bece8%40glists.sonatype.com.
This could also be solved with Yum Group. Is it planned for Nexus 3.9.0That's correct, once Yum Group is released you could create a third-party repository and group that together with the releases repository. It won't be in 3.9.0 and I don't have an exact date for you but we are making good progress.