Mike McLean
826f8637d9
trigger auto refusals in make_task
2024-08-15 11:50:50 +02:00
Mike McLean
8894fcbca3
auto_arch_refuse()
2024-08-15 11:50:50 +02:00
Tomas Kopecek
0823802908
PR#4164: better default handling for getMultiArchInfo
...
Merges #4164
https://pagure.io/koji/pull-request/4164
Fixes : #4161
https://pagure.io/koji/issue/4161
api test is depending on used architecture
2024-08-15 09:05:43 +02:00
Mike McLean
23495b773b
better default handling for getMultiArchInfo
...
Fixes https://pagure.io/koji/issue/4161
2024-08-15 09:05:36 +02:00
Tomas Kopecek
69dd65b01e
PR#4083: refuse image tasks when required deps are missing
...
Merges #4083
https://pagure.io/koji/pull-request/4083
Fixes #4105
https://pagure.io/koji/issue/4105
2024-08-15 09:03:53 +02:00
Mike McLean
4cf8edd6a4
refuse image tasks when required deps are missing
2024-08-15 09:03:46 +02:00
Tomas Kopecek
abfe1f20be
PR#4158: Fix asserts in unit tests
...
Merges #4158
https://pagure.io/koji/pull-request/4158
2024-08-13 12:44:08 +02:00
Mike McLean
b91a40c0fc
restore test
2024-08-13 12:44:01 +02:00
Mike McLean
9b9a207206
fix test name
2024-08-13 12:44:01 +02:00
Jana Librova
8eb2078a4c
Fix asserts in unit tests
2024-08-13 12:44:01 +02:00
Tomas Kopecek
3dd7665269
PR#3912: anonymous getGroupMembers and getUserGroups
...
Merges #3912
https://pagure.io/koji/pull-request/3912
Relates: #3900
https://pagure.io/koji/issue/3900
RFE: anonymous getGroupMembers and getUserGroups
2024-08-13 12:41:50 +02:00
Christopher O'Brien
a5f4b24c37
undoing api json changes
2024-08-13 12:41:42 +02:00
Christopher O'Brien
cb6da5074c
change return type to list of dicts
2024-08-13 12:41:42 +02:00
Christopher O'Brien
a3f4ea5d44
make the API tests pass
2024-08-13 12:41:42 +02:00
Christopher O'Brien
0bd816c689
Make getGroupMembers anonymous and add getUserGroups
2024-08-13 12:41:42 +02:00
Tomas Kopecek
d982b5ac4f
PR#4100: setup.py: Fix version retrieval on Python 3.13+
...
Merges #4100
https://pagure.io/koji/pull-request/4100
Fixes : #4101
https://pagure.io/koji/issue/4101
setup.py: Fix version retrieval on Python 3.13+
2024-07-24 09:45:23 +02:00
Miro Hrončok
7dd9a83612
setup.py: Fix version retrieval on Python 3.13+
...
Accessing __version__ from locals() no longer works.
This was reported to Python in https://github.com/python/cpython/issues/118888
but according to Python developers, it:
- is an intended change of behavior described in PEP 667
- was an illegal usage that happens to work in a favored way to begin with
2024-07-24 09:45:04 +02:00
Tomas Kopecek
2bf10c7010
PR#4075: taskinfo CLI and webUI info message why output is not in the list
...
Merges #4075
https://pagure.io/koji/pull-request/4075
Fixes : #4074
https://pagure.io/koji/issue/4074
add note that files are cleared when getTaskResults returns some results but listTaskOutput returns an empty result
2024-07-24 09:29:18 +02:00
Jana Cupova
3725053b33
taskinfo CLI and webUI info message why output is not in the list
...
Fixes: https://pagure.io/koji/issue/4074
2024-07-24 09:29:04 +02:00
Tomas Kopecek
bf6f1f4a16
PR#4133: more missing tearDowns
...
Merges #4133
https://pagure.io/koji/pull-request/4133
Fixes : #4020
https://pagure.io/koji/issue/4020
Parallelize tests
2024-07-18 14:22:52 +02:00
Mike McLean
5cfc290675
more coverage filters
2024-07-18 14:22:43 +02:00
Mike McLean
6fb91c040a
also use venv coverage
2024-07-18 14:22:43 +02:00
Mike McLean
44c16b8c68
use venv pytest, stop using ancient mock version
...
dropping mock from the py3 reqs entirely so we use python's lib
2024-07-18 14:22:43 +02:00
Mike McLean
c444cd5eb5
use pytest-dist for make test3
2024-07-18 14:22:43 +02:00
Mike McLean
6002373ff9
avoid leaving stray temp files
2024-07-18 14:22:43 +02:00
Mike McLean
8d8274a35e
fix context mocking
2024-07-18 14:22:43 +02:00
Mike McLean
1c3b430e02
drop stray tearDown
2024-07-18 14:22:43 +02:00
Tomas Kopecek
d7bbc037f5
more mocks related to context
2024-07-18 14:22:43 +02:00
Mike McLean
117164ab3f
fix misuse of progname in unit tests
...
this was breaking parallel testing
2024-07-18 14:22:43 +02:00
Mike McLean
dde35fdc97
fix tz issues in cli tests
2024-07-18 14:22:43 +02:00
Mike McLean
95dacbe785
more missing tearDowns
2024-07-18 14:22:43 +02:00
Mike McLean
690ed8cf01
PR#4115: fix tz mismatch issues with various queries
...
Merges #4115
https://pagure.io/koji/pull-request/4115
Fixes : #4114
https://pagure.io/koji/issue/4114
Hub encodes timestamps for db without tz
2024-07-12 10:55:48 -04:00
Mike McLean
adda405314
use tzutc from dateutil
2024-07-12 10:55:44 -04:00
Mike McLean
d05b0a4de1
fix unit tests
2024-07-12 10:55:44 -04:00
Mike McLean
69d162ddff
fix tz mismatch issues with various queries
2024-07-12 10:55:44 -04:00
Tomas Kopecek
f70ba74d43
PR#4127: handle cases where there is no event before our ts
...
Merges #4127
https://pagure.io/koji/pull-request/4127
Fixes : #4128
https://pagure.io/koji/issue/4128
min_event calculation can fail if koji instance is new
2024-07-11 08:42:25 +02:00
Mike McLean
f2331ba27f
handle cases where there is no event before our ts
2024-07-05 12:37:24 -04:00
Tomas Kopecek
9544b865a4
PR#4092: handle volumes when clearing stray build dirs
...
Merges #4092
https://pagure.io/koji/pull-request/4092
Fixes : #4091
https://pagure.io/koji/issue/4091
recycle_build doesn't clean up stray files on other volumes
2024-07-03 13:20:14 +02:00
Mike McLean
e7fb5908e4
unit test
2024-07-03 13:20:04 +02:00
Mike McLean
9f96923f7b
handle volumes when clearing stray build dirs
2024-07-03 13:20:04 +02:00
Tomas Kopecek
4abd33640e
PR#4113: cg import updates
...
Merges #4113
https://pagure.io/koji/pull-request/4113
Fixes : #1402
https://pagure.io/koji/issue/1402
[RFE] Restrict CG imports by build type
Fixes : #4119
https://pagure.io/koji/issue/4119
Support subdirs for cg imports
2024-07-03 13:17:51 +02:00
Mike McLean
01988983dd
provide additional data for cg policy
2024-07-03 13:17:42 +02:00
Mike McLean
1214b806b0
cg_import: support subdir for logs and custom btypes
2024-07-03 13:17:42 +02:00
Tomas Kopecek
f84fff11f5
PR#4104: Add external koji dev environments' links
...
Merges #4104
https://pagure.io/koji/pull-request/4104
Fixes : #1558
https://pagure.io/koji/issue/1558
Create a basic Vagrant development environment
2024-07-02 13:02:11 +02:00
Tomas Kopecek
6927737812
Add external koji dev environments' links
...
Related: https://pagure.io/koji/issue/1558
2024-07-02 13:02:04 +02:00
Mike McLean
f2da4b8e44
PR#4033: kojira on demand
...
Merges #4033
https://pagure.io/koji/pull-request/4033
Fixes #3176
https://pagure.io/koji/issue/3176
Kojira redesign
Fixes #3866
https://pagure.io/koji/issue/3866
Broken repos in expired state
2024-07-01 09:34:07 -04:00
Mike McLean
a6aa4786f0
flake8
2024-06-26 10:07:29 -04:00
Mike McLean
b54a5f258d
score field was dropped
2024-06-26 10:07:29 -04:00
Mike McLean
6cc8cbd936
minor doc updates
2024-06-24 14:49:34 -04:00
Mike McLean
528c14ac9b
drop shadowbuild case in newRepo
...
repos from specific events are no longer immediately expired
2024-06-24 11:25:21 -04:00