Packaging Datovka on OBS
CZ.NIC Laboratories maintain the home:CZ-NIC project group.
datovka-latest: Contains latest stable release of
datovka. We encourage all users to use this repository.
datovka-devel: Contains development builds of
For other useful information see notes about Knot Resolver packaging.
Pushing into OBS
There are currently two scripts needed to build and push package sources into OBS.
Push only tested packages that have been released into the 'latest' repositories.
./scripts/build_distrofiles.sh -p libisds ./scripts/build_distrofiles.sh -p datovka
prepare package sources for
datovka. In order to change the VERSION and RELEASE numbers you need to edit the script.
The following command
./scripts/build_in_obs.sh --devel -p datovka
pushes prepared package sources of
datovka onto OBS.
--help parameter on both scripts to get full listing of supported options.
The 'devel' repository contains development builds of the application. The application may be unstable in some circumstances.
./scripts/build_git_archive.sh -b develop
will build a datovka archive (e.g.
datovka-184.108.40.20699.20180625.131554.fe5193ec8d647f62.tar.xz). The version string contains:
- the last stable release from which the branch is derived from (4.10.2),
- UTC date and time which the archive has been created at (2018-06-25T13:15:54+00:00),
- last commit identifier (fe5193ec should be HEAD of branch 'develop').
The script generates text output to inform the user about the progress. The last generated line contains the name of the newly created archive.
Use the version string (from the archive name) to prepare the package into OBS:
./scripts/build_distrofiles.sh -p datovka -v 220.127.116.1199.20180625.131554.fe5193ec8d647f62
After the package has been prepared you can upload it into OBS:
./scripts/build_in_obs.sh -p datovka --devel -v 18.104.22.16899.20180625.131554.fe5193ec8d647f62