Creating a repo


(Dan) #1

NethServer Version: 7.4
Module: ?

As noted in another thread, I’m working on RPMs for automx and nethserver-automx. I’d just as soon get those into an existing repo, but not being sure how to go about that, another option is to run my own, at least as an interim measure. So I see there’s an article on the wiki on the subject. I also notice that (1) it seems to have been mostly taken from SME material, and (2) it’s looking a little old*. So my question is, is this still current? Are there changes or updates I should note?

*one of the “looking a little old” questions is that on Neth 7.4, the yum_repositories db appears to be completely empty. Is that still the preferred method to add a repo?

(Rob Bosch) #2

There are several members that maintain a private repository. Tagging @mrmarkuz and @stephdl
Maybe they can point to some more docs on how to set up a private repository.

(Stéphane de Labrusse) #3

I am the author of the sme server documentation, when I left the project I took my bags.

Two different things now

  • The way to declare your repo, check nethserver-stephdl
  • The documentation states on a ‘7’ folder for example, with the new way to block the minor centos update you must use the 7.0518 (check the official nethserver mirror, i am not sure)

At the end you could ask for a nethforge access and do not bother to maintain a repo.

It is up to you

(Rob Bosch) #4

Have a look here: How to create your own NethServer mirror
Oops, my bad… (as explained by mrmarkuz in his post below)

(Markus Neuberger) #5

Yes, I used the wiki article and it worked.

Be careful not to mix things. This link shows how to create a Nethserver mirror to provide all packages needed for updating Nethserver. It’s not the same as providing a repo for additional dev packages.

(Dan) #6

Is the yum_repositories database no longer used, or is it just more convenient for the user to install an RPM to set up the repo?

(Stéphane de Labrusse) #7

With ns, only by a rpm