Commit graph

351 commits

Author SHA1 Message Date
Brendan Reilly
6a57c7db21 Updated migration doc 2019-10-30 09:12:24 -04:00
Brendan Reilly
fc566e4b31 1.19 release 2019-10-30 09:12:24 -04:00
Tomas Kopecek
5bbdc5d539 backward-compatible db conversion
PG <= 9.4 doesn't support INSERT INTO ... ON CONFLICT ... syntax

Fixes: https://pagure.io/koji/issue/1718
2019-10-30 10:52:47 +01:00
Tomas Kopecek
22dc480b18 add all used permissions to db
Fixes: https://pagure.io/koji/issue/1637
2019-10-16 10:01:43 +02:00
Yu Ming Zhu
353fe2c510 doc: change user creating sql for kerberos auth
a follow-up of PR #1648
2019-10-15 13:07:20 +02:00
Tomas Kopecek
ba54425854 clean build_reservations table 2019-10-15 09:00:22 +02:00
Tomas Kopecek
54d6630345 Add vaccum to sessions cleanup 2019-10-15 09:00:22 +02:00
Tomas Kopecek
2da8d92bae improve docs 2019-10-15 09:00:22 +02:00
Tomas Kopecek
f68eeb6cc0 bundle db maintenance script to hub
Fixes: https://pagure.io/koji/issue/1478
2019-10-15 09:00:22 +02:00
Brendan Reilly
32bdc10d16 Updated docs for tag permission 2019-10-14 10:25:39 +02:00
Ken Dreyer
f5a845be14 enforce unique content generator names in database
Set a uniqueness constraint on the content generator name in the
database.

Prior to this change, we were only enforcing this in the hub application
layer. Configure this in postgres for safety.
2019-10-14 10:07:41 +02:00
Yuming Zhu
f47d630acd update schema with new table - user_krb_principals 2019-10-10 16:37:56 +02:00
Mike McLean
db75522ec7 clarify fixed/affected versions 2019-10-09 10:54:57 -04:00
Mike McLean
dd09e81411 bump docs version 2019-10-09 10:39:57 -04:00
Mike McLean
e76aa3d1d2 release notes for 1.18.1 2019-10-09 10:39:57 -04:00
Mike McLean
f2f3d19998 CVE-2019-17109 announcement text 2019-10-09 10:39:57 -04:00
Steve Milner
a1a90570c9 docs/schema.sql: update for changes in schema-upgrade-1.18-1.19.sql 2019-09-26 17:36:39 +02:00
Ben Howard
971b82a9e5 docs/schema-upgrade-1.18-1.19.sql: additional CoreOS artifact types. 2019-09-26 17:36:39 +02:00
Yuming Zhu
417d230277 fix schema.sql introduced by moving owner from tag_packages to another table
related: https://pagure.io/koji/pull-request/1473

fixes: https://pagure.io/koji/issue/956
2019-09-26 17:21:31 +02:00
Tomas Kopecek
3de3f61fbb move tag/package owners to separate table
Changing owner is triggering repo regeneration in kojira. As it is
something which doesn't have any effect on repodata, let's put it to
separate table and let kojira ignore these changes.

Fixes: https://pagure.io/koji/issue/956
2019-08-29 15:44:24 +02:00
Tomas Kopecek
0375e27626 update jenkins setup
Some libraries dropped py2.6 support, so put there version limits for
pip in CI. Update documentation for requests-mock.
2019-08-14 14:21:43 -04:00
Mike McLean
57ebae64e6 include a few more PRs in release notes 2019-08-09 10:12:31 -04:00
Mike McLean
5d8037c934 typo 2019-08-09 10:12:31 -04:00
Mike McLean
257d3a1a7b migration note about permissions
Fixes: https://pagure.io/koji/issue/1548
2019-08-09 10:12:31 -04:00
Mike McLean
87033e6980 cleanup 2019-08-09 10:12:31 -04:00
Mike McLean
2754228818 more relnotes updates 2019-08-09 10:12:31 -04:00
Mike McLean
01199c00dd initial release notes 2019-08-09 10:12:31 -04:00
Mike McLean
a5eb5a3da4 bump version, add changelog 2019-08-09 10:12:31 -04:00
Mike McLean
949e17f279 migration doc 2019-08-09 10:12:31 -04:00
Mike McLean
b9c1af4b7a add new indexes in schema upgrade 2019-08-09 10:12:31 -04:00
Tomas Kopecek
f1d2ebc85c move cg_id to build table 2019-07-16 10:11:55 -04:00
Tomas Kopecek
ca54688645 docs for CG reservation API 2019-07-16 10:11:55 -04:00
Tomas Kopecek
f6a845c870 restrict to cg_id 2019-07-16 10:11:55 -04:00
Tomas Kopecek
48255d08c2 migration for build_reservations 2019-07-16 10:11:54 -04:00
Tomas Kopecek
f2647a687b use token for reservation 2019-07-16 10:11:54 -04:00
Tomas Kopecek
c775031e9d few more useful indices on tag_packages 2019-07-11 15:22:33 -04:00
Tomas Kopecek
e39d92164f Create db index for listTagged
Fixes: https://pagure.io/koji/issue/1352
2019-07-11 15:22:33 -04:00
Ken Dreyer
b250308e74 docs: add architecture diagram
koji_structure1.svg comes from an earlier version of Mike's SVG.
2019-07-11 15:21:32 -04:00
Tomas Kopecek
e14d60b78f update migration for notification optouts 2019-07-09 13:34:36 -04:00
Mike McLean
7a302ce6ad new table for notification blocks 2019-07-09 13:34:36 -04:00
Mike McLean
97f8f829ae change moved to 1.18, so adjust schema upgrade scripts 2019-06-26 16:08:04 -04:00
Ben Howard
8d0624bf2f Add raw-gz and compressed QCOW2 archive types. 2019-06-26 16:06:59 -04:00
Mikolaj Izdebski
de161628b0 Allow hub policy to match version and release
Fixes https://pagure.io/koji/issue/1134

Based on work from https://pagure.io/koji/pull-request/1135
2019-06-26 11:44:23 -04:00
Mike McLean
19bb507b5e fix typo 2019-06-17 10:19:12 -04:00
Mike McLean
71c4146638 update multicall docs 2019-06-17 10:19:12 -04:00
Tomas Kopecek
b0f0c3ff45 New 'buildtype' test for policies
Fixes: https://pagure.io/koji/issue/1225
2019-06-14 15:54:42 -04:00
Tomas Kopecek
03bf5554c5 use better index for sessions
Fixes: https://pagure.io/koji/issue/1372
2019-06-13 16:15:40 -04:00
Mike McLean
c788a57b4e clean up doc 2019-06-13 13:43:14 -04:00
Tomas Kopecek
4c156f4840 add 'target' permission 2019-06-13 13:43:14 -04:00
Tomas Kopecek
271249c833 add "tag" permission 2019-06-13 13:43:14 -04:00