Tomas Kopecek
19295bf7da
kojira: drop kojira.sysconfig
...
Fixes: https://pagure.io/koji/issue/2171
2020-06-30 14:48:21 +02:00
Tomas Kopecek
98601ff11a
PR#2320: hub: allow glob matching for listTags
...
Merges #2320
https://pagure.io/koji/pull-request/2320
Fixes : #2086
https://pagure.io/koji/issue/2086
list-tags glob is slow
2020-06-30 14:20:41 +02:00
Tomas Kopecek
03b55bf39e
hub: allow glob matching for listTags
...
server-side filtering would be better than CLI/client side filtering.
Fixes: https://pagure.io/koji/issue/2086
2020-06-30 14:20:32 +02:00
Tomas Kopecek
580577ae8a
PR#2344: runroot: basic docs
...
Merges #2344
https://pagure.io/koji/pull-request/2344
Fixes : #2111
https://pagure.io/koji/issue/2111
runroot tasks end up in default channel
2020-06-30 09:03:53 +02:00
Tomas Kopecek
ae7f686e05
runroot: basic docs
...
Fixes: https://pagure.io/koji/issue/2111
2020-06-30 09:02:55 +02:00
Tomas Kopecek
cfe70c21bd
PR#2345: builder: document plugin callbacks
...
Merges #2345
https://pagure.io/koji/pull-request/2345
Fixes : #2091
https://pagure.io/koji/issue/2091
Document builder plugin callbacks
2020-06-30 08:59:38 +02:00
Tomas Kopecek
db3170da49
builder: document plugin callbacks
...
Fixes: https://pagure.io/koji/issue/2091
2020-06-26 15:10:28 +02:00
Tomas Kopecek
f8d20f6c21
PR#2327: koji-gc: fix py3 compare behaviour for dicts
...
Merges #2327
https://pagure.io/koji/pull-request/2327
Fixes : #2325
https://pagure.io/koji/issue/2325
koji-gc traceback in trash action
2020-06-25 10:47:28 +02:00
Tomas Kopecek
dbf1d13364
koji-gc: check retagged builds correctly
2020-06-25 10:47:20 +02:00
Tomas Kopecek
7c0acaaa10
koji-gc: fix py3 compare behaviour for dicts
...
Fixes: https://pagure.io/koji/issue/2325
2020-06-25 10:47:20 +02:00
Tomas Kopecek
c0b05c0770
PR#2338: hub: fix typo
...
Merges #2338
https://pagure.io/koji/pull-request/2338
Fixes : #1969
https://pagure.io/koji/issue/1969
API getChangelogEntries - typo error message
2020-06-24 15:11:58 +02:00
Tomas Kopecek
76cf735aed
hub: fix typo
...
Fixes: https://pagure.io/koji/issue/1969
2020-06-24 15:10:35 +02:00
Tomas Kopecek
2f4688d55b
PR#2334: hub: fix index so it gets used by planner
...
Merges #2334
https://pagure.io/koji/pull-request/2334
Fixes : #2333
https://pagure.io/koji/issue/2333
hub: unused index sessions_active_and_recent
2020-06-24 15:02:15 +02:00
Tomas Kopecek
6d41344d38
hub: fix index so it gets used by planner
...
Fixes: https://pagure.io/koji/issue/2333
2020-06-24 15:02:05 +02:00
Tomas Kopecek
241bb6f1b6
PR#2137: more debug info for un/tracked tasks in kojira
...
Merges #2137
https://pagure.io/koji/pull-request/2137
Fixes : #2119
https://pagure.io/koji/issue/2119
kojira saying it's reached max tasks when it hasn't
2020-06-24 14:59:57 +02:00
Tomas Kopecek
bc378d1775
more debug info for un/tracked tasks in kojira
...
Relates: https://pagure.io/koji/issue/2119
2020-06-24 14:56:52 +02:00
Tomas Kopecek
5c7a465b70
PR#2161: doc: update documentation for SSLCACertificateFile
...
Merges #2161
https://pagure.io/koji/pull-request/2161
2020-06-24 14:49:44 +02:00
Ken Dreyer
bc129afe12
doc: update documentation for SSLCACertificateFile
...
Be more specific about the exact Apache directive to configure the CA
that will validate client certificates (SSLCACertificateFile).
2020-06-24 14:49:34 +02:00
Tomas Kopecek
3ab5d672f5
PR#2162: hub: remove "GssapiSSLonly Off" option
...
Merges #2162
https://pagure.io/koji/pull-request/2162
2020-06-24 14:49:00 +02:00
Ken Dreyer
9014fac420
hub: remove "GssapiSSLonly Off" option
...
mod_auth_gssapi already defaults "GssapiSSLonly" to "off", and in fact
this is not something we want to recommend to users.
2020-06-24 14:48:51 +02:00
Tomas Kopecek
b93cff4837
PR#2287: doc: rewrite PostgreSQL authorization instructions
...
Merges #2287
https://pagure.io/koji/pull-request/2287
2020-06-24 14:44:51 +02:00
Ken Dreyer
14daa94d82
doc: rewrite PostgreSQL authorization instructions
...
Rewrite the PostgreSQL authorization instructions in the Server HowTo
guide.
Provide two complete examples: the "all-in-one localhost" option, and
the "separate postgres over the network" option. This reduces the
decision trees and makes it easier to copy and paste the entire
pg_hba.conf file. Explain what each mystery setting does and link to the
PostgreSQL documentation.
Only set listen_addresses to "*" if we need it, and turn it off if we
don't.
Simplify the instructions so that the user only restarts the postgresql
daemon once.
Clarify that koji-web does not need DB access, and the hub is the only
service that requires direct DB access.
Remove the example of authorizing the apache system user, because that
implies that the admin must run a series of complicated GRANT
instructions to allow both koji and apache to write to the DB. Just
grant the koji user full trust access for simplicity.
2020-06-24 14:44:44 +02:00
Tomas Kopecek
9887a4f408
PR#2290: vm: clone mac address via xml
...
Merges #2290
https://pagure.io/koji/pull-request/2290
Fixes : #2289
https://pagure.io/koji/issue/2289
vm: new libvirt refuse to clone same mac addr in some cases
2020-06-24 14:43:28 +02:00
Tomas Kopecek
bb0ea0d6d5
vm: clone mac address via xml
...
Fixes: https://pagure.io/koji/issue/2289
2020-06-24 14:43:17 +02:00
Tomas Kopecek
2778b7ac25
PR#2317: md5: try the best to use sha256 instead of md5 and ignore FIPS in other parts
...
Merges #2317
https://pagure.io/koji/pull-request/2317
Fixes : #2291
https://pagure.io/koji/issue/2291
error raised by `hashlib.md5()` on RHEL8.2 (MD5 is disabled by FIPS)
2020-06-24 14:42:11 +02:00
Yu Ming Zhu
1be2064df1
fix flake8 for kojihub.py
2020-06-24 14:42:01 +02:00
Yuming Zhu
65f5b6489b
fix param name for uploadFile
2020-06-24 14:42:01 +02:00
Tomas Kopecek
50bcb6f3bc
replace md5 with sha256
2020-06-24 14:42:01 +02:00
Yu Ming Zhu
a893e8bf2b
a wrapper ignoring FIPS for hashlib.md5
2020-06-24 14:42:00 +02:00
Yu Ming Zhu
0a61104280
web: use sha1 for token generation instead of md5(disabled by FIPS)
...
fixes : #2291
2020-06-24 14:42:00 +02:00
Tomas Kopecek
fc4cb3d37e
PR#2263: improve race condition for getNextRelease / images
...
Merges #2263
https://pagure.io/koji/pull-request/2263
Fixes : #2138
https://pagure.io/koji/issue/2138
Race condition for getNextRelease / images
2020-06-24 13:36:32 +02:00
Tomas Kopecek
ba02c1b977
improve race condition for getNextRelease / images
...
Fixes: https://pagure.io/koji/issue/2138
2020-06-24 13:36:23 +02:00
Tomas Kopecek
9e196264da
PR#2085: hide local --debug options
...
Merges #2085
https://pagure.io/koji/pull-request/2085
Fixes : #2084
https://pagure.io/koji/issue/2084
list-signed has separate --debug option
2020-06-24 10:53:51 +02:00
Tomas Kopecek
5b94c9eb01
hide local --debug options
...
Fixes: https://pagure.io/koji/issue/2084
2020-06-24 10:53:38 +02:00
Tomas Kopecek
6e50120279
PR#2301: avoid redundant clauses and joins in query_buildroots()
...
Merges #2301
https://pagure.io/koji/pull-request/2301
Fixes : #2300
https://pagure.io/koji/issue/2300
query_buildroots can perform redundant joins
2020-06-24 10:40:46 +02:00
Mike McLean
b2dd73fa03
avoid redundant clauses and joins
...
Fixes https://pagure.io/koji/issue/2300
2020-06-24 10:40:36 +02:00
Tomas Kopecek
4675229937
PR#2237: db: use timestamps with timezone
...
Merges #2237
https://pagure.io/koji/pull-request/2237
Fixes : #2160
https://pagure.io/koji/issue/2160
event times subject to postgres timezone setting
2020-06-24 09:45:01 +02:00
Tomas Kopecek
87b8cf718a
db: use timestamps with timezone
...
Fixes: https://pagure.io/koji/issue/2160
2020-06-24 09:44:52 +02:00
Tomas Kopecek
3839e2498c
PR#2329: docs: align "Hub" text in diagram
...
Merges #2329
https://pagure.io/koji/pull-request/2329
2020-06-23 12:44:52 +02:00
Ken Dreyer
ec032a2cfc
docs: align "Hub" text in diagram
...
Prior to this change, Google Chrome's SVG renderer did not display "Hub"
centered in the Koji structure diagram.
Re-do the "Hub" text in the diagram so that it is centered in Inkscape,
Firefox, and Chrome.
2020-06-23 12:44:43 +02:00
Tomas Kopecek
fcca060a05
PR#2330: clean_old option was duplicated on clean_empty
...
Merges #2330
https://pagure.io/koji/pull-request/2330
Fixes #2332
https://pagure.io/koji/issue/2332
2020-06-23 12:33:00 +02:00
Kevin Fenzi
fa8ac96d54
clean_old option was duplicated on clean_empty
...
The --no-old option wouldn't work because the check was checking for
--no-empty, and --no-empty was disabling both checks. :)
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-06-23 12:32:51 +02:00
Tomas Kopecek
b3049b0ebf
PR#2331: hub: document listChannels arguments
...
Merges #2331
https://pagure.io/koji/pull-request/2331
2020-06-23 12:24:12 +02:00
Ken Dreyer
993be46a4c
hub: document listChannels arguments
...
Describe the arguments and return value for the listChannels() method.
2020-06-23 12:24:04 +02:00
Tomas Kopecek
40d205b73f
PR#2318: make mock depsolver policy configurable
...
Merges #2318
https://pagure.io/koji/pull-request/2318
Fixes : #826
https://pagure.io/koji/issue/826
Make mock depsolver policy configurable
2020-06-23 12:21:15 +02:00
Tomas Kopecek
ac38549992
make mock depsolver policy configurable
...
Fixes: https://pagure.io/koji/issue/826
2020-06-23 09:02:15 +02:00
Tomas Kopecek
62998b0885
PR#1932: per-tag settings for mock's sign plugin
...
Merges #1932
https://pagure.io/koji/pull-request/1932
Fixes : #84
https://pagure.io/koji/issue/84
[Feature Request] Allow koji-builder to use Mock's sign plugin to automatically sign package after build
2020-06-19 13:30:07 +02:00
Tomas Kopecek
ae1561876c
flake8 fix
2020-06-19 13:23:59 +02:00
Tomas Kopecek
baa14dd38e
update docs
2020-06-19 13:21:53 +02:00
Tomas Kopecek
8e7b616ca4
fix option names
2020-06-19 13:21:53 +02:00