Hi guys,
I’m not used to post but I recently discovered a software that helped me a lot to manage Linux repositories so I told myself that it may be worth to share it !

https://github.com/lbr38/repomanager

Introducing Repomanager :
Main features

  • Create deb or rpm mirror repositories
  • Sign repo with GPG
  • Upload packages into repositories
  • Create environments (eg. preprod, prod…) and make mirrors available only for specific envs.
  • Manage hosts packages updates
  • Plan tasks

I try it in pre-production in my company right now, it looks promising !

  • RadiantTangerine4898@alien.topB
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    From what you are promoting, I think you might be interested in repository management which allows you to have everything in one place. I can recommend you taking a look at Pulp. It is free and you can run the whole application inside one container to see if it suits your needs (https://pulpproject.org/pulp-in-one-container/).

    With Pulp, you can mirror, sign, and distribute Debian or RPM packages (and many other formats, see https://www.youtube.com/watch?v=grDXPtnJu4U). Furthermore, you can push private packages to it as needed.

  • MacGyver4711@alien.topB
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    I’m giving it a shot as well. Tried mirroring Debian 11 and 12, and it works great. We also use Oracle Linux at work, but I cannot seem to figure out how to mirror that repo. I created it with the URL https://yum.oracle.com/repo/OracleLinux/OL7/latest/x86_64 and added the URL for the GPG key as well.

    From the logs I see the following

    Getting <b>primary.xml.gz</b> from https://yum.oracle.com/repo/OracleLinux/OL7/latest/x86_64/repodata/762bc5fcb0018de11ca573c5d0abba3d9141a77f-primary.xml.gz ... <span>OK</span>

    - Retrieving packages list from /home/repo/download-mirror-ol7-1698140614/primary.xml.gz ...

    and from there nothing happens. It does get the repodata (primary.xml, primary.xml.gz and repodata.xml), but does not download any packages. Tried on two differnet installs and locations, but the result is the same. I tried changing the URL to https://yum.oracle.com/repo/OracleLinux/OL$releasever/latest/$basearch but that did not make any difference.

    Anyone facing the same issue and manage to figure it out?

    • yugohug0@alien.topOPB
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 year ago

      I have no idea what cause this to happen but I can only recommend to send a github issue ! The developer is super quick to answer and fix bugs