1.6
msimacek
released this
21 Apr 07:25
·
866 commits
to master
since this release
New features
- Decoupled frontend and backend
- Separate subpackages
- Separate configuration
- Frontend no longer uses koji or fedmsg
- Frontend and backend can be deployed on separate machine
- Split out Fedora specific parts
Improvements
- Using tito for release process
- Automatically cancel builds running for too long
- Running all tests during RPM build (including postgres ones)
- Tests for frontend
- Refactoring of configuration handling (deferred loading, split files)
- Other refactorings
- Documentation for all configuration options
Bugfixes
- Fix compatibility with current version of koji client
Upgrading from 1.5
-
Components were split into subpackages. List of components:
- admin
- koschei-admin script and database migrations
- backend
- backend services. Recommended to run on machine that has recent
versions of libsolv+hawkey stack installed, i.e. on Fedora
- backend services. Recommended to run on machine that has recent
- backend-fedora
- Fedora specific bits of backend - fedmsg watcher service,
fedmsg_publisher plugin, pkgdb plugin
- Fedora specific bits of backend - fedmsg watcher service,
- frontend
- WSGI frontend. Doesn't use fedmsg, koji or depsolver anymore, can be
therefore deployed on less bleeding-edge configurations, such as RHEL 7
- WSGI frontend. Doesn't use fedmsg, koji or depsolver anymore, can be
- frontend-fedora
- Fedora-specific bits for frontend. Currently only pkgdb plugin.
- admin
-
Configuration split - there are separate configuration files for components:
- /etc/koschei/config-backend.cfg
- /etc/koschei/config-frontend.cfg
- /etc/koschei/config-admin.cfg - used by koschei-admin and also alembic migrations
During the upgrade, the central configuration file /etc/koschei/config.cfg
needs to be split into those three. The configuration format and options
didn't change from previous release. Therefore the upgrade can be done by
copying the former config.cfg file to the 3 locations above and removing
configuration options that are irrelevant for each given component. -
Plugins are now turned off by default and have to be explicitly enabled in
plugin
section of the configuration. For example"plugins": ["pkgdb"]
. -
Database migration
- run
alembic -c /usr/share/koschei/alembic.ini upgrade head
while the
services and httpd are stopped
- run