D-Installer packages are available in the YaST:Head project in OBS. This document summarizes the process we follow to build those packages.
You can check the current package in YaST:Head/rubygem-d-installer. At this point, D-Installer has not been released as a Rubygem yet, so you need to do an extra step.
The process to release a new version can be summarized in these steps:
- Bump the version in the
d-installer.gemspec
file. - Build the
gem
by runninggem build d-installer.gemspec
- Add an entry in the changes file.
- Branch the OBS package and copy the
gem
and thechanges
files. - Commit the changes.
If you need to modify the spec
file, please, use the gem2rpm
tool. The configuration is included
in the repository. To regenerate the spec, just type:
gem2rpm --config gem2rpm.yml d-installer-0.1.gem > rubygem-d-installer.spec
The current package is YaST:Head/d-installer-web. You can figure out most details by checking the _service file. It might happen that you get out of RAM when building the package, so in this case, it is better to branch the package and try to build it remotely.
The process to update the package is:
- Bump the version in the
package/_service
file. - Add an entry in the changes file.
- Branch the OBS package and copy
package/*
andpackage-lock.json
files. - In your package checkout, run
osc service manualrun
. It will update D-Installer sources and its dependencies (node_modules
). - Commit the changes.
You can read more about the overall approach of this package in the following article: Git work flows in the upcoming 2.7 release.