Commit graph

3515 commits

Author SHA1 Message Date
Mike McLean
f9d3a73edd PR#869: also forget requests session in _forget()
Merges #869
https://pagure.io/koji/pull-request/869
2018-04-30 16:58:22 -04:00
Mike McLean
024782eacc also forget requests session in _forget() 2018-04-30 16:56:11 -04:00
Mike McLean
535dd5e338 PR#874: Update URL for Open Science Grid Koji instance
Merges #874
https://pagure.io/koji/pull-request/874
2018-04-30 16:55:18 -04:00
Matyas Selmeci
f6189528b9 Changed Open Science Grid instance URL to use http since their CA isn't commonly trusted 2018-04-30 16:55:15 -04:00
Matyas Selmeci
6e64fc599b Update URL for Open Science Grid Koji instance 2018-04-30 16:55:15 -04:00
Mike McLean
11eb38eafb PR#883: Doc: add repos-dist to koji filesystem skeleton
Merges #883
https://pagure.io/koji/pull-request/883
2018-04-30 16:53:14 -04:00
Alex Iribarren
92219abf3a Doc: add repos-dist to koji filesystem skeleton 2018-04-30 16:53:08 -04:00
Mike McLean
ce82faba46 PR#894: tests for download_logs
Merges #894
https://pagure.io/koji/pull-request/894
2018-04-30 16:11:11 -04:00
Tomas Kopecek
815713fed3 tests for download_logs 2018-04-30 16:11:07 -04:00
Mike McLean
72d49b8e57 PR#909: Docs for CVE-2018-1002150
Merges #909
https://pagure.io/koji/pull-request/909
2018-04-30 16:03:32 -04:00
Mike McLean
478a603fd3 Docs for CVE-2018-1002150 2018-04-30 16:02:22 -04:00
Mike McLean
65d699099f PR#778: add history to edit_host
Merges #778
https://pagure.io/koji/pull-request/778

Fixes: #638
https://pagure.io/koji/issue/638
koji list-history does not support getting host history
2018-04-30 11:35:44 -04:00
Mike McLean
8af24dd57e fix unit tests 2018-04-30 11:35:25 -04:00
Mike McLean
d71b176f55 fix fields in set_host_enabled 2018-04-30 11:35:25 -04:00
Mike McLean
88b3876b2a support querying history by host and channel 2018-04-30 11:35:25 -04:00
Mike McLean
5ec9e2379c schema fixes 2018-04-30 11:35:25 -04:00
Tomas Kopecek
50a8254df8 tests for host_channels 2018-04-30 11:35:25 -04:00
Tomas Kopecek
b50479abb0 host_channels history 2018-04-30 11:35:25 -04:00
Tomas Kopecek
ef66d15b2e Fix for host_config 2018-04-30 11:35:25 -04:00
Tomas Kopecek
41edab7fa2 host history tests 2018-04-30 11:35:25 -04:00
Tomas Kopecek
671d5da44c update version in comment 2018-04-30 11:35:25 -04:00
Tomas Kopecek
0f8238dd33 add index 2018-04-30 11:35:25 -04:00
Tomas Kopecek
a72d9a200b JOIN fixes for host_config 2018-04-30 11:35:25 -04:00
Tomas Kopecek
a5b713e438 update schema.sql for host_config 2018-04-30 11:35:25 -04:00
Tomas Kopecek
dfd097b440 add history to edit_host
Hosts now have history.

host table was split to host (containing ephemereal and non-editable
data (load, activity, name, user_id)) and host_config containing
data changeable by admins (archs, capacity, ...). This table is
versioned and searchable via queryHistory.

Fixes: https://pagure.io/koji/issue/638
2018-04-30 11:35:25 -04:00
Mike McLean
7b559a0f02 PR#774: Cache rpmdiff results and don't spawn special process
Merges #774
https://pagure.io/koji/pull-request/774

Fixes: #715
https://pagure.io/koji/issue/715
Noarch RPM check can last so long the database transaction gets terminated
2018-04-27 11:54:06 -04:00
Mike McLean
79a59c9d47 account for ignored self-provides in rpmdiff hash 2018-04-27 11:53:37 -04:00
Tomas Kopecek
c67dcee3ad erase ignored fields 2018-04-27 11:53:37 -04:00
Tomas Kopecek
119e23d315 remove duplicate ignore 2018-04-27 11:53:37 -04:00
Tomas Kopecek
72d619929e use 'ignore' in hash computation 2018-04-27 11:53:37 -04:00
Tomas Kopecek
71d5bdc02d make rpmdiff.py lib only
Original sript-like behaviour is moved to koji-tools
https://pagure.io/koji-tools/pull-request/6
2018-04-27 11:53:37 -04:00
Tomas Kopecek
0468971594 fix tests for rpmdiff 2018-04-27 11:53:37 -04:00
Mike McLean
2248b03406 TEST: add sanity check to rpmdiff main 2018-04-27 11:53:37 -04:00
Tomas Kopecek
af5f110d37 check for empty header 2018-04-27 11:53:37 -04:00
Tomas Kopecek
cb03d3ec9c typo 2018-04-27 11:53:37 -04:00
Tomas Kopecek
54e52e469e move rpmdiff to koji lib 2018-04-27 11:53:37 -04:00
Tomas Kopecek
fa9183a18a cache rpmdiff results 2018-04-27 11:53:37 -04:00
Tomas Kopecek
fb0ba44a3c don't spawn process for rpmdiff
Speed improvement by using bundled rpmdiff library instead of spawning
special process.

Related: https://pagure.io/koji/issue/715
2018-04-27 11:53:37 -04:00
Mike McLean
22cab9615d PR#908: Fix typo in deleted mount check
Merges #908
https://pagure.io/koji/pull-request/908

Fixes: #387
https://pagure.io/koji/issue/387
kojid errors when kernel shows deleted mounts in chroot
2018-04-27 11:40:51 -04:00
Mike McLean
b0ee84f062 fix unit test deleted mounts data 2018-04-24 17:20:37 -04:00
Mike McLean
ed5ef6458c Fix typo in deleted mount check
Follow up to PR #402
Fixes #387
2018-04-24 17:20:37 -04:00
Mike McLean
ec791b120a PR#770: print debug and error messages to stderr
Merges #770
https://pagure.io/koji/pull-request/770

Fixes: #671
https://pagure.io/koji/issue/671
rfe: print error and warning messages to stderr in cli
2018-04-24 17:02:02 -04:00
Tomas Kopecek
1b07d95ccf print debug and error messages to stderr
Fixes: https://pagure.io/koji/issue/671
2018-04-24 17:01:51 -04:00
Mike McLean
04af97063e PR#688: CLI commands for notifications
Merges #688
https://pagure.io/koji/pull-request/688

Fixes: #680
https://pagure.io/koji/issue/680
[RFE] Notification can be managed only via web
2018-04-24 16:54:38 -04:00
Mike McLean
3498ac40a7 remove unused vars 2018-04-24 16:54:08 -04:00
Tomas Kopecek
1548781346 added test 2018-04-24 16:54:08 -04:00
Tomas Kopecek
252c9e1c20 CLI commands for notifications
Fixes: https://pagure.io/koji/issue/680
2018-04-24 16:54:08 -04:00
Mike McLean
c228806e9e PR#901: Add more path info to volume documentation
Merges #901
https://pagure.io/koji/pull-request/901
2018-04-24 15:18:12 -04:00
Mike McLean
6a8fa4ed3d also document the symlinks 2018-04-24 15:18:02 -04:00
Mike McLean
54f992e73f document volume path construction 2018-04-24 15:18:02 -04:00