[Starlingx-discuss] Notes from meeting with Dirk about OBS
sgw at linux.intel.com
Tue May 7 14:25:33 UTC 2019
Here are some notes from my meeting with Dirk from Suse.
Dirk Mueller was kind enough to meet with me Saturday morning, he works
on the openstack-rpm-packaging  repo, which contains Jinja2
templates. This repo uses Zuul jobs convert the Jinja2 to Fedora/RHEL
specfile and SUSE-style specfiles and then runs a "spec-cleaner"  job
via tox. There are also some "3rd" Party CI jobs that connect to SUSE
and RDO's CI to actually build packages.
The spec-cleaner process provides a modified specfile if there are
changes, it's not a linter per-se. It also depends on the specfile being
ordered in an "opinionated" fashion, meaning the sections need to be in
a certain order, see the openSUSE Specfile Guidelines .
I had started to create an OBS project , which currently contains 1
"package", stx-fault, a package can contain multiple specfiles. This
package can be branched to test.
There is a CLI called "osc" which can be installed to Fedora  or
Ubuntu . There is also a git_scm service that will generate packages
from a git repo .
I propose that we try to convert a couple of packages to the ordering
that spec-cleaner wants and do a before and after packaging test to
validate the changes, then try running spec-cleaner
I am sure there is more information missing information or details, it
might be useful to have a meeting with Dirk and other OBS folks when we
are further along.
More information about the Starlingx-discuss