Skip to content

YUM repositories and mirrors

Giacomo Sanchietti edited this page May 4, 2018 · 10 revisions

Mirror

RPM publication on YUM repositories is organized into 2 phases:

  1. the package is uploaded to the master mirror
  2. at regular intervals, the mirrors are synced with master mirrors

There are 2 master mirrors:

  • packages.nethserver.org: Community master mirror
  • packages.nethesis.it: Enterprise master mirror

Access to master mirrors is strictly regulated. See:

Community repositories

RPMs are published to packages.nethserver.org and are instantly accessible to anyone.

As exception, the nethserver-testing is not mirrored.

How to create a mirror: http://community.nethserver.org/t/how-to-create-your-own-nethserver-mirror/344

HTTP access: http://packages.nethserver.org/nethserver/

Enterprise repositories

RPMs are published to packages.nethesis.it and are directly accessible only from Nethesis (see below). The public mirror is synced overnight, once a day

HTTP access: http://packages.nethesis.it/nethserver/enterprise/

Access to Enterprise master mirror

Enterprise repositories are directly accessible only to Nethesis network without using server registration key.

cat > /etc/yum.repos.d/neth_install.repo << EOF

[nethesis-updates]
name=Nethesis - updates
baseurl=http://packages.nethesis.it/nethserver/enterprise/\$releasever/nethesis-updates/\$basearch
gpgcheck=0
enablegroups=1
enabled=1
http_caching=none

[nethesis-upgrades]
name=Nethesis - upgrades
baseurl=http://packages.nethesis.it/nethserver/enterprise/\$releasever/nethesis-upgrades/\$basearch
gpgcheck=0
enablegroups=1
enabled=1
http_caching=none

[nethesis-testing]
name=Nethesis - testing
baseurl=http://packages.nethesis.it/nethserver/enterprise/\$releasever/nethesis-testing/\$basearch
gpgcheck=0
enablegroups=0
enabled=1
http_caching=none

EOF

Calendar of weekly automatic updates

tier day coverage
base Tue 5%
t1 Wed 15%
t2 Thu 30%
t3 Fri 50%

More info available at packages.nethesis.it.

FAQ

A. Se uno sviluppatore pubblica un pacchetto su nethserver-testing (community) quando è disponibile per il cliente?

R. Subito direttamente da packages.nethserver.org, abilitando esplicitamente il repository nethserver-testing.


A. Se uno sviluppatore pubblica un pacchetto su nethserver-updates (community) quando è disponibile per il cliente?

R. Subito dai mirror community, abilitando esplicitamente il repository nethserver-updates; altrimenti dalla settimana successiva, secondo il calendario settimanale.


A. Se uno sviluppatore pubblica un pacchetto su un repository enterprise (testing, updates, upgrades) quando è disponibile per il cliente come aggiornamento manuale?

R. Il giorno dopo, da update.nethesis.it.


A. Se uno sviluppatore pubblica un aggiornamento su nethesis-upgrades, quando sarà disponibile come aggiornamento automatico per il cliente?

R. Se spostato (manualmente) in nethesis-updates durante il lunedì, l'aggiornamento sarà disponibile a partire da martedì notte in modo progressivo fino a venerdì notte, secondo il calendario settimanale.

Processo di rilascio

Il processo di rilascio vale per tutti i progetti.

Golden rules:

  • NON si rilascia nulla senza documentazione
  • Quando si rilasciano minor release di un software, non si possono eliminare feature

Leggere il manuale dello sviluppatore: http://docs.nethserver.org/projects/nethserver-devel/en/latest/ (particolare attenzione al capitolo sul processo). Se qualcosa non è presente nel manuale, chiedere a Davide P, Filippo o Giacomo.

Quando i pacchetti sono stati verificati e la documentazione è pronta:

  • lo sviluppatore scrive le release notes ed invia una mail a tecnici@nethesis.it (opzionale)
  • l'incaricato della newsletter si occupa di preparare la newsletter
  • i pacchetti vengono rilasciati insieme alla newsletter, nel frattempo restano su testing o su upgrades
  • il responsabile del progetto ha il compito di revisionare la documentazione per i rivenditori
  • bugfix e release minori sono esclusi da questo processo

Clone this wiki locally