Commit graph

4466 commits

Author SHA1 Message Date
Tomas Kopecek
b1db812e47 check options for list-signed
Fixes: https://pagure.io/koji/issue/1552
2019-10-10 11:45:24 +02:00
Mike McLean
79921c8922 PR#1688: clarify fixed/affected versions in cve announcement
Merges #1688
https://pagure.io/koji/pull-request/1688
2019-10-09 10:59:01 -04:00
Mike McLean
db75522ec7 clarify fixed/affected versions 2019-10-09 10:54:57 -04:00
Mike McLean
cdd3483b80 PR#1687: Docs updates for CVE-2019-17109
Merges #1687
https://pagure.io/koji/pull-request/1687
2019-10-09 10:45:31 -04:00
Mike McLean
af66445883 bump version to match most recent release 2019-10-09 10:42:17 -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
Mike McLean
91d6f0b607 PR#1686: Fix for CVE-2019-17109
Merges #1686
https://pagure.io/koji/pull-request/1686
2019-10-09 10:23:15 -04:00
Mike McLean
a9f3afdef7 whitespace: adjust indentations 2019-10-09 08:41:15 -04:00
Mike McLean
e5b36d8f21 hub plugins: use joinpath instead of os.path.join 2019-10-09 08:41:15 -04:00
Mike McLean
c49660be33 hub: use joinpath instead of os.path.join 2019-10-09 08:41:15 -04:00
Mike McLean
f0cdeaab07 tests for joinpath 2019-10-09 08:41:15 -04:00
Mike McLean
3354da7024 joinpath function 2019-10-09 08:41:15 -04:00
Tomas Kopecek
3a4a30034e PR#1680: drop unused host.repoAddRPM call
Merges #1680
https://pagure.io/koji/pull-request/1680

Fixes: #1655
https://pagure.io/koji/issue/1655
Drop host.repoAddRPM call
2019-10-09 09:17:24 +02:00
Tomas Kopecek
873a159e08 drop unused host.repoAddRPM call
Fixes: https://pagure.io/koji/issue/1655
2019-10-09 09:17:20 +02:00
Tomas Kopecek
93b3deda85 PR#1666: Fix typo preventing vm builds
Merges #1666
https://pagure.io/koji/pull-request/1666

Fixes: #1665
https://pagure.io/koji/issue/1665
Typo prevents vm builds
2019-10-09 09:15:18 +02:00
Tomas Kopecek
63648170df Fix typo preventing vm builds
Bug introduced in PR #967 prevents vm builds to work. There is an
additional option to method verifyChecksum.

Fixes: https://pagure.io/koji/issue/1665
2019-10-09 09:15:14 +02:00
Tomas Kopecek
60f2b4f7d4 PR#1677: docs for build.extra.source
Merges #1677
https://pagure.io/koji/pull-request/1677

Fixes: #1673
https://pagure.io/koji/issue/1673
Document extra.source.original_url
2019-10-09 09:14:08 +02:00
Tomas Kopecek
b8017bfff5 docs for build.extra.source
Fixes: https://pagure.io/koji/issue/1673
2019-10-09 09:14:04 +02:00
Tomas Kopecek
c4a6f7daa1 PR#1675: Subselect gives better performance
Merges #1675
https://pagure.io/koji/pull-request/1675

Fixes: #1671
https://pagure.io/koji/issue/1671
koji-gc: handle_trash takes years
2019-10-09 09:12:50 +02:00
Tomas Kopecek
ff57615460 Subselect gives better performance
Original query based on JOINs is 1000x slower in better cases. Sub-query
helps a lot here.

Fixes: https://pagure.io/koji/issue/1674
2019-10-09 09:12:47 +02:00
Tomas Kopecek
9d2faca407 PR#1642: Handle sys.exc_clear in Python 3
Merges #1642
https://pagure.io/koji/pull-request/1642

Fixes: https://pagure.io/koji/issue/1641
2019-10-08 14:38:12 +02:00
Brendan Reilly
8eea824490 Handle sys.exc_clear in Python 3
Fixes: #1641
2019-10-08 14:38:09 +02:00
Tomas Kopecek
acd51ea2bc PR#1157: cli: [make-task] raise readable error when no args
Merges #1157
https://pagure.io/koji/pull-request/1157
2019-10-08 10:40:07 +02:00
Yuming Zhu
90d3447e44 cli: [make-task] raise readable error when no args 2019-10-08 10:40:03 +02:00
Tomas Kopecek
f7fda34982 PR#1678: swapped values in message
Merges #1678
https://pagure.io/koji/pull-request/1678

Fixes: #1090
https://pagure.io/koji/issue/1090
groupListRemove API should return GenericError for remove group which not has specific tag name
2019-10-08 10:36:59 +02:00
Tomas Kopecek
bf0f66b0f9 PR#1676: Made difference between Builds and Tags sections more clear
Merges #1676
https://pagure.io/koji/pull-request/1676
2019-10-08 09:45:51 +02:00
Brendan Reilly
63ffb48f9c Made difference between Builds and Tags sections more clear 2019-10-08 09:45:48 +02:00
Tomas Kopecek
0d6d9a51a6 swapped values in message
Related: https://pagure.io/koji/issue/1090
2019-10-03 16:03:03 +02:00
Tomas Kopecek
fa7c20767f PR#1173: hub: [groupListRemove] raise Error when no group for tag
Merges #1173
https://pagure.io/koji/pull-request/1173
2019-09-30 15:48:08 +02:00
Tomas Kopecek
ca802b6e93 fix sql order in test 2019-09-30 15:47:56 +02:00
Yu Ming Zhu
2e8611254c fix unavailable id column 2019-09-30 15:47:56 +02:00
Yu Ming Zhu
24afeca663 hub: [groupListRemove] raise Error when no group for tag
Fixes: https://pagure.io/koji/issue/1090
2019-09-30 15:47:45 +02:00
Tomas Kopecek
bff03c2221 PR#1197: [lib] ensuredir: normalize directory and don't throw error when dir exists
Merges #1197
https://pagure.io/koji/pull-request/1197
2019-09-30 15:33:08 +02:00
Yuming Zhu
2956319c39 update docstr and do not swallow other errno 2019-09-30 15:33:01 +02:00
Yu Ming Zhu
589eb2dc9c [lib] ensuredir: normalize directory and don't throw error when dir exists 2019-09-30 15:33:01 +02:00
Tomas Kopecek
9b893acfc6 PR#1244: hub: add missing package list check
Merges #1244
https://pagure.io/koji/pull-request/1244
2019-09-30 15:22:59 +02:00
Pat Riehecky
f3ace6b400 hub: add missing package list check 2019-09-30 15:22:54 +02:00
Tomas Kopecek
89cc90a062 PR#1523: builder: log insufficent disk space location
Merges #1523
https://pagure.io/koji/pull-request/1523
2019-09-26 17:42:14 +02:00
Ken Dreyer
95fcac7ca5 builder: log insufficent disk space location
When creating a builder with the default settings and a small root
partition "/", kojid will fail to come up because /var/lib/mock is on
the root partition.

Prior to this change, kojid would log a messages to the systemd journal
about the insufficent disk space, but it did not make it obvious which
directory should have more disk space. Add the buildroot location to
this log message, so the administrator can more easily understand what
to change.
2019-09-26 17:42:09 +02:00
Tomas Kopecek
d1b40ae939 PR#1616: docs/schema-upgrade-1.18-1.19.sql/schema.sql: additional CoreOS artifact types.
Merges #1616
https://pagure.io/koji/pull-request/1616
2019-09-26 17:39:26 +02: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
Tomas Kopecek
3dcc1939bf PR#1643: fix schema.sql introduced by moving owner from tag_packages to another table
Merges #1643
https://pagure.io/koji/pull-request/1643
2019-09-26 17:21:34 +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
bf624f5699 PR#1589: query builds per chunks in prune-signed-builds
Merges #1589
https://pagure.io/koji/pull-request/1589

Fixes: #1587
https://pagure.io/koji/issue/1587
prune-signed-builds run out of memory
2019-09-26 16:00:12 +02:00
Tomas Kopecek
0b4f0fb3a1 query builds per chunks in prune-signed-builds
For bigger installations query all builds can run out of memory on hub
side. Query these in 50k chunks.

Fixes: https://pagure.io/koji/issue/1587
2019-09-26 16:00:08 +02:00
Mike McLean
a5af69c94b PR#1653: Allow ClientSession objects to get cleaned up by the garbage collector
Merges #1653
https://pagure.io/koji/pull-request/1653

Fixes: #1652
https://pagure.io/koji/issue/1652
Requests sessions stay around after a koji.ClientSession object is out of scope
2019-09-23 09:58:55 -04:00
mprahl
a552a248db Allow ClientSession objects to get cleaned up by the garbage collector
Fixes #1652
2019-09-20 11:51:44 -04:00