Commit graph

3086 commits

Author SHA1 Message Date
Tomas Kopecek
77339cc7a1 unit test 2017-10-11 01:05:41 -04:00
Tomas Kopecek
c7fbf4ec81 move _list_task to client lib 2017-10-11 01:05:41 -04:00
Tomas Kopecek
db37cec5ae watch-logs --mine --follow
Related: https://pagure.io/koji/issue/621
2017-10-11 01:05:41 -04:00
Mike McLean
836f1ee7c4 PR#629: fix wrong mock.patch target
Merges #629
https://pagure.io/koji/pull-request/629

Fixes #627
https://pagure.io/koji/issue/627
2017-10-11 00:40:48 -04:00
Franz Chih-Ping Hsieh
f44dc7d6e8 fix wrong mock.patch target 2017-10-11 00:39:47 -04:00
Mike McLean
fcddf97013 PR#598: kojira: speed up repo dist check
Merges #598
https://pagure.io/koji/pull-request/598

Fixes #626
https://pagure.io/koji/issue/626
2017-10-06 17:24:26 -04:00
Mike McLean
ab547683ce kojira: avoid calling session.repoInfo in tryDelete() 2017-10-06 17:23:46 -04:00
Mike McLean
a155551267 unit test for get_active_repos 2017-10-06 17:23:45 -04:00
Mike McLean
8a81f8e9cd return dist field in getActiveRepos 2017-10-06 17:23:45 -04:00
Mike McLean
a954172d1e adjust krbV check in kojira to avoid redundant import 2017-10-06 17:23:45 -04:00
Mike McLean
070f16f69e PR#622: basic volume policy support
Merges #622
https://pagure.io/koji/pull-request/622

Fixes #556
https://pagure.io/koji/issue/556`
2017-10-06 17:16:50 -04:00
Mike McLean
8c922d0de0 make cg info in policy data more consistent, and honor it in policy_get_cgs 2017-10-06 17:16:04 -04:00
Mike McLean
5cc3896bee drop unused "prebuild" policy data 2017-10-06 17:16:04 -04:00
Mike McLean
d1e303a560 applyVolumePolicy hub call for admins 2017-10-06 17:16:04 -04:00
Mike McLean
e1b984b561 correct docstring 2017-10-06 17:16:03 -04:00
Mike McLean
eb5f74b3c9 add a default option to check_volume_policy 2017-10-06 17:16:03 -04:00
Mike McLean
77d448d4ba test_check_volume_policy.py 2017-10-06 17:16:03 -04:00
Mike McLean
d14d16c6ef make volume policy data more consistent 2017-10-06 17:16:03 -04:00
Mike McLean
9b315ded52 in buildtag policy test, use br data even if build not set 2017-10-06 17:16:03 -04:00
Mike McLean
cf54a7ce3a propagate volume in import_build 2017-10-06 17:16:03 -04:00
Mike McLean
026c1ba6c9 reset volume to default in resetBuild() 2017-10-06 17:16:03 -04:00
Mike McLean
aeb8ba4b12 apply volume_policy in import_build 2017-10-06 17:16:03 -04:00
Mike McLean
d0902f95ed mock volume data in image/maven import tests 2017-10-06 17:16:03 -04:00
Mike McLean
d41d613f7c apply volume policy in completeImageBuild 2017-10-06 17:16:03 -04:00
Mike McLean
d031115b6a apply volume policy in completeWinBuild 2017-10-06 17:16:03 -04:00
Mike McLean
b0ce0b69ba apply volume policy in completeMavenBuild 2017-10-06 17:16:03 -04:00
Mike McLean
9bcce9dc3e pull in core volume policy functions from earlier branches 2017-10-06 17:16:03 -04:00
Mike McLean
df71995320 fix up test_import_image_internal.py 2017-10-06 17:16:03 -04:00
Mike McLean
d50169b7c4 fix up test_complete_maven_build.py 2017-10-06 17:16:03 -04:00
Mike McLean
92bb782581 fix up test_complete_image_build.py 2017-10-06 17:16:03 -04:00
Mike McLean
b84c7df484 importImageInternal: use nextval() and InsertProcessor 2017-10-06 17:16:03 -04:00
Mike McLean
3a638314d8 maven/image import tests from first branch 2017-10-06 17:16:03 -04:00
Mike McLean
bdf04adb23 PR#624: fix formatTime for DateTime
Merges #624
https://pagure.io/koji/pull-request/624

Fixes #623
https://pagure.io/koji/issue/623
2017-10-06 17:11:09 -04:00
Tomas Kopecek
6871f52ce8 ignore concrete timezone in tests 2017-10-06 17:10:12 -04:00
Tomas Kopecek
470addae97 fix formatTime for DateTime
Related: https://pagure.io/koji/issue/623
2017-10-06 17:10:12 -04:00
Mike McLean
bea9a86916 PR#537: messagebus plugin: deferred sending and test mode
Merges #537
https://pagure.io/koji/pull-request/537
2017-10-05 16:16:26 -04:00
Mike McLean
4a35b8a283 don't require an explicit test_mode setting in config 2017-10-05 16:15:23 -04:00
Mike McLean
78162b5543 test mode for messagebus plugin 2017-10-05 16:15:23 -04:00
Mike McLean
2a6c04635f messagebus plugin: avoid duplicate context updates 2017-10-05 16:15:23 -04:00
Mike McLean
261224311c fix config handling 2017-10-05 16:15:23 -04:00
Mike McLean
ac5cbf1682 defer messagebus sync 2017-10-05 16:15:23 -04:00
Mike McLean
42b567b327 clear message cache after sending 2017-10-05 16:15:23 -04:00
Mike McLean
ec53e01547 defer message sending until after commit 2017-10-05 16:15:23 -04:00
Mike McLean
d73a0f256e PR#605: update docstring
Merges #605
https://pagure.io/koji/pull-request/605
2017-10-05 13:02:11 -04:00
Tomas Kopecek
c08377eef5 update docstring 2017-10-05 13:01:16 -04:00
Mike McLean
ea6ad0a554 PR#611: the split_cli.py script is no longer needed
Merges #611
https://pagure.io/koji/pull-request/611
2017-10-05 10:51:23 -04:00
Mike McLean
5a850d72d5 the split_cli.py script is no longer needed 2017-10-05 10:51:06 -04:00
Mike McLean
8f78389ded PR#617: display suid bit in web ui
Merges #617
https://pagure.io/koji/pull-request/617

Fixes #616
https://pagure.io/koji/issue/616
2017-10-05 10:49:45 -04:00
Tomas Kopecek
5ac2a6b8f0 display suid bit in web ui
Related: https://pagure.io/koji/issue/616
2017-10-05 10:38:48 -04:00
Mike McLean
d66b9ed27d PR#619: cleanup unnecessary subdir phony
Merges #619
https://pagure.io/koji/pull-request/619

Fixes #495
https://pagure.io/koji/issue/495
2017-10-05 10:36:40 -04:00