Skip to content

1.7

Compare
Choose a tag to compare
@msimacek msimacek released this 20 May 10:59
· 802 commits to master since this release

New features

  • Delegation of authentization to httpd
    • Enables support of more authentication methods (i.e. kerberos)
  • Bugzilla FTBFS report filling was generalized to support multiple collections
  • Admin script can import group contents, which can be used to automatically
    define groups from scripts
  • Added create-group and edit-group admin commands

Improvements

  • Links to other applications are now more configurable and flexible
  • Added multiple database constraints
  • Cached repos can be processed with dnf repoquery

Bugfixes

  • Watcher not registering real builds of packages with no prior build
  • Polling registering too old real builds
  • Fixed missing repo_id of real builds
  • Pkgdb plugin throwing TypeError when branch not configured or no data
    returned from pkgdb
  • Fixed tests failing on non-x86_64 arches

Other

  • Vagrantfile added

Upgrading from 1.6.1

  • Reconfigure authentization:
    • Old openid configuration section was removed

    • New auth configuration section of config-frontend was added. See the
      documentation in /usr/share/koschei/config.cfg.

    • Configure httpd's authentication in /etc/httpd/config.d/koschei.conf.
      Example snippet for Fedora OpenID provider (needs mod_auth_openid installed):

      <Location /login>
          Require valid-user
          AuthType OpenID
          AuthOpenIDSingleIdP https://id.fedoraproject.org/
          AuthOpenIDServerName https://apps.fedoraproject.org
          AuthOpenIDTrustRoot https://apps.fedoraproject.org/koschei/
          AuthOpenIDUseCookie off
      </Location>
      
  • Reconfigure bugzilla template and collection to get FTBFS bugreport functionality
    • "bugreport" key was updated to include more keys in the template,
      see the default configuration for the documentation and example
    • Collections gained two new fields - bugzilla_product and
      bugzilla_version. They need to be set in order for bugreporting to be
      available. They can be set via koschei-admin edit-collection.
  • If you altered some of the application links, you'll need to chnage them to
    new, more general format. See default configuration for documentation and
    examples
  • Database migration
    • Run alembic -c /usr/share/koschei/alembic.ini upgrade head while the
      backend services and httpd are stopped
    • Some of the old existing build data may not comply with new constraints.
      You'll need to manually sanitize those.