Project

General

Profile

Add a new distribution to OBS » History » Revision 12

Revision 11 (osmith, 04/12/2024 08:40 AM) → Revision 12/13 (osmith, 04/15/2024 08:09 AM)

h1. Add a new distribution to OBS 

 This article explains how to add a new distribution to the Osmocom OBS, after it became available in the openSUSE OBS. The "Osmocom_OBS_check_new_distros":https://jenkins.osmocom.org/jenkins/view/OBS/job/Osmocom_OBS_check_new_distros/ jenkins job points to this wiki page, when it finds a new distribution that we probably want to add according to the [[Linux Distributions]] article. 

 * Add the new distribution to <code>DISTROS</code> in "osmocom-obs-sync.yml":https://gitea.osmocom.org/osmocom/osmo-ci/src/branch/master/jobs/osmocom-obs-sync.yml 
 * Deploy the changes to this jenkins job 
 * Run "Osmocom_OBS_sync":https://jenkins.osmocom.org/jenkins/view/OBS/job/Osmocom_OBS_sync, it will create a new project in OBS: 
 <pre> 
 openSUSE.org-mirror:Ubuntu:23.10: is outdated (not in destination OBS) 
 Ubuntu:23.10: rewriting prjconf for openSUSE.org-mirror:Ubuntu:23.10 
 Ubuntu:23.10: rewriting meta for openSUSE.org-mirror:Ubuntu:23.10 
 ... 
 </pre> 
 * Adjust the meta config of osmocom: projects to build for the new distribution. Use the same arches as in entries for previous versions. 
 ** "latest":https://obs.osmocom.org/projects/osmocom:latest/meta 
 ** "nightly":https://obs.osmocom.org/projects/osmocom:nightly/meta 
 ** "master":https://obs.osmocom.org/projects/osmocom:master/meta (Debian only) 
 ** "wireshark":https://obs.osmocom.org/projects/osmocom:wireshark/meta (Debian, Ubuntu only) 
 * Add the new release to [[Linux Distributions]] 
 * Submit a patch to extrepo ("latest":https://salsa.debian.org/extrepo-team/extrepo-data/-/blob/master/repos/debian/osmocom-latest.yaml, "nightly":https://salsa.debian.org/extrepo-team/extrepo-data/-/blob/master/repos/debian/osmocom-nightly.yaml) (Debian only) 
 * Write a news post ("example":https://osmocom.org/news/254) 

 h2. Removing distributions 

 After adding the new distributions, check whether there are old releases that we don't need to build for anymore. For example, EOL releases of Ubuntu. 

 Process for removing distributions: 
 * Make sure it is okay to remove them according to the rules in [[Linux Distributions]] before proceeding! 
 * Remove the distribution from meta configs (see links above) 
 * Remove the distribution from <code>DISTROS</code> in "osmocom-obs-sync.yml":https://gitea.osmocom.org/osmocom/osmo-ci/src/branch/master/jobs/osmocom-obs-sync.yml 
 * Delete the OBS project, e.g. <code>openSUSE.org-mirror:Ubuntu:18.04</code> 
 * Remove the release from [[Linux Distributions]] 
 * Write a news post 

 h2. See also 

 * [[Linux Distributions]] 
 * [[Binary Packages]]
Add picture from clipboard (Maximum size: 48.8 MB)