Commit graph

341 commits

Author SHA1 Message Date
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
Tomas Kopecek
50335800bd introduce 'host' permission + docs
Fixes: https://pagure.io/koji/issue/1453
2019-06-13 13:43:14 -04:00
Tomas Kopecek
ed7e665894 Fix jenkins config for new python mock
Fixes: https://pagure.io/koji/issue/1412
2019-05-06 11:26:42 -04:00
Mike McLean
7f64d7896f document multicall 2019-05-06 10:23:15 -04:00
Daniel Rodríguez
2f503070c3 Replace references to latest-pkg with latest-build
Replace latest-pkg with latest-build in common commands and
documentation. References to latest-pkg are removed where
latest-build is also present. Also, command description for
latest-build is updated to match the current one.
2019-04-10 17:23:18 -04:00
Tomas Kopecek
2be5449224 update test requirements in jenkins
Fixes: https://pagure.io/koji/issue/1367
2019-04-05 20:06:53 -04:00
Ken Dreyer
52d706aa85 docs: use systemctl enable --now for kojid
Replace the RHEL 6-era command with the systemd equivalent.

Newer versions of systemd (RHEL 7.3+) support the --now flag to start
and enable the service in one command.
2019-04-05 15:29:27 -04:00
Ken Dreyer
b0d42dfd73 docs: use systemctl enable --now for postgres
Newer versions of systemd (RHEL 7.3+) support the --now flag to start
and enable the service in one command.
2019-04-05 15:29:27 -04:00
Mike McLean
2e67147bcd alphabetical options 2019-04-04 17:06:13 -04:00
Mike McLean
6e5cde5431 more updates to kojid.conf docs
- clean up grammar/typos
- pluginpath is colon-separated
- clarify several options a bit more
- pull task_avail_delay text from 1.17 relnotes
- emphasize insecure nature of password auth
- put preferred auth methods first
2019-04-04 17:06:13 -04:00
Mike McLean
f443392c4a blank line to make sphinx happy 2019-04-04 17:06:13 -04:00