Commit graph

2904 commits

Author SHA1 Message Date
Mike McLean
0c8d4c8f07 implement caching in _fix_cb_args 2017-08-07 12:41:40 -04:00
Mike McLean
fe7c0b4052 unit test for encode_datetime 2017-08-07 12:41:40 -04:00
Mike McLean
ab928e6196 add unit test for convert_datetime decorator 2017-08-07 12:41:40 -04:00
Mike McLean
1df193ea2b use datetime compatibility for messagebug and protonmsg plugins 2017-08-07 12:41:40 -04:00
Mike McLean
842754c2d3 datetime compatibility option for callbacks 2017-08-07 12:41:40 -04:00
Mike McLean
658953af54 PR#524: Add support for debugsource
Merges #524
https://pagure.io/koji/pull-request/524
2017-08-03 12:19:09 -04:00
Igor Gnatenko
eea35fa5a6 make is_debuginfo() one-line
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2017-08-03 12:14:50 -04:00
Igor Gnatenko
785e23b2c0 use if 'x' in s instead of str.find()
It's more readable.

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2017-08-03 12:14:50 -04:00
Igor Gnatenko
7a3bf2791e handle debugsource same way as debuginfo packages
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2017-08-03 12:14:50 -04:00
Mike McLean
9c4348e55b PR#528: allow some missing path sections in runroot config
Merges #528
https://pagure.io/koji/pull-request/528

Fixes #527
https://pagure.io/koji/issue/527
2017-08-01 08:00:17 -04:00
Mike McLean
e1bc3664ad unit test: nonsequential path numbers in runroot config 2017-07-31 12:53:03 -04:00
Tomas Kopecek
032e2aaddd allow some missing path sections in runroot config
Fixes: https://pagure.io/koji/issue/527

Before path sections were expected to have zero-based numbering. If some
item was missing, parsing ended there.

Now we are more benevolent and we pick all path\d+ sections and sort
them by ordering number.
2017-07-31 12:53:03 -04:00
Mike McLean
675e854ac0 PR#530: Spelling fixes
Merges #530
https://pagure.io/koji/pull-request/530
2017-07-31 10:32:57 -04:00
Ville Skyttä
10bc242c32 Spelling fixes 2017-07-30 12:49:19 +03:00
Mike McLean
8ac8167570 PR#506: Track artifacts coming from koji itself
Merges #506
https://pagure.io/koji/pull-request/506
2017-07-26 10:45:51 -04:00
Mike McLean
b405701b53 hub: rework match_kojifile() and add a unit test 2017-07-25 16:45:25 -04:00
Tomas Kopecek
1f91bdfeeb check also filename/size 2017-07-25 12:37:46 -04:00
Tomas Kopecek
64f2467fd0 kojifile component type 2017-07-25 12:37:46 -04:00
Mike McLean
05c266b7d1 PR#499: runroot: use /builddir/runroot.log instead of /tmp/runroot.log
Merges #499
https://pagure.io/koji/pull-request/499
2017-07-25 12:36:14 -04:00
Mike McLean
14ec03f596 runroot: use /builddir/runroot.log instead of /tmp/runroot.log
With --new-chroot, /tmp is set up as a tmpfs mount, which does not persist,
so using /builddir instead.

Related: #482  (but not a fix)
https://pagure.io/koji/issue/482
2017-07-25 12:30:32 -04:00
Mike McLean
a9dc698774 PR#509: CLI block-group command
Merges #509
https://pagure.io/koji/pull-request/509

Fixes #462
https://pagure.io/koji/issue/462
2017-07-25 12:28:07 -04:00
Tomas Kopecek
c1257a6a22 simplify SQL test comparison 2017-07-25 12:14:26 -04:00
Tomas Kopecek
6c68b6ab34 CLI block-group command
Relates: https://pagure.io/koji/issue/462
2017-07-25 12:14:26 -04:00
Mike McLean
3fe2d4b1a5 PR#514: Fix resubmit
Merges #514
https://pagure.io/koji/pull-request/514
2017-07-25 11:26:32 -04:00
Patrick Uiterwijk
21523a57fd Fix the poll_interval access in handle_resubmit
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2017-07-25 10:45:13 -04:00
Patrick Uiterwijk
b511c6599f Fix the call to _printTaskInfo in handle_resubmit
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2017-07-25 10:45:13 -04:00
Mike McLean
76d6082742 PR#521: update links in README.md
Merges #521
https://pagure.io/koji/pull-request/521
2017-07-25 10:42:52 -04:00
Mike McLean
7e225da19c update links in README.md 2017-07-24 09:45:39 -04:00
Mike McLean
856c7a420c PR#502: download-build: suppress output on quiet and add --noprogress
Merges #502
https://pagure.io/koji/pull-request/502
2017-07-11 10:34:53 -04:00
Yanko Kaneti
addf7cdd01 download-build: suppress output on quiet and add --noprogress 2017-07-11 10:29:26 -04:00
Mike McLean
65910bbf9b PR#511: unit tests for delete_tag() [Open]
Merges #511
https://pagure.io/koji/pull-request/511
2017-07-11 10:19:29 -04:00
Mike McLean
6f987daf5a unit tests for delete_tag() 2017-07-07 12:21:22 -04:00
Mike McLean
26f5f02741 PR#484 fix NoneType TypeError in deleteTag
Merges #484
https://pagure.io/koji/pull-request/484

Fixes #483
https://pagure.io/koji/issue/483
2017-07-06 12:17:24 -04:00
Yuming Zhu
1be3a71f84 fix NoneType TypeError in deleteTag 2017-07-06 12:15:17 -04:00
Mike McLean
801e1662f4 PR#490 getUserPerms should throw GenericError when no user found
Merges #490
https://pagure.io/koji/pull-request/490

Fixes #486
https://pagure.io/koji/issue/486
2017-07-06 12:11:46 -04:00
Yuming Zhu
7b73f4b0bb explain new behavior in docstring of getUserPerms 2017-07-06 12:06:53 -04:00
Yuming Zhu
e871192f40 allow getUserPerm accepting None arg 2017-07-06 12:06:53 -04:00
Yuming Zhu
2838f7fd9e getUserPerms should throw GenericError when no user found 2017-07-06 12:06:53 -04:00
Mike McLean
3c7aeeaef3 PR#497 remove deprecated buildFromCVS call
Merges #497
https://pagure.io/koji/pull-request/497

Fixes #468
https://pagure.io/koji/issue/468
2017-07-06 11:30:17 -04:00
Tomas Kopecek
2edfccc951 remove deprecated buildFromCVS call
Fixes: https://pagure.io/koji/issue/468
2017-07-06 11:30:04 -04:00
Mike McLean
be6e8215a3 PR#503 Remove deprecated compat_mode from runroot plugin
Merges #503
https://pagure.io/koji/pull-request/503

Fixes #501
https://pagure.io/koji/issue/501
2017-07-06 11:28:38 -04:00
Tomas Kopecek
a1551a78be Remove deprecated compat_mode from runroot plugin
Fixes: https://pagure.io/koji/issue/501
2017-07-06 11:25:46 -04:00
Mike McLean
8d05a4881d PR#507 drop unused add_db_logger call and db table
Merges #507
https://pagure.io/koji/pull-request/507

Fixes #469
https://pagure.io/koji/issue/469
2017-07-06 11:23:05 -04:00
Tomas Kopecek
d17157cf33 drop unused add_db_logger call and db table
Fixes: https://pagure.io/koji/issue/469
2017-07-06 11:15:00 -04:00
Mike McLean
3fd55d1454 PR#508 drop mod_python support
Merges #508
https://pagure.io/koji/pull-request/508
Fixes #466
https://pagure.io/koji/issue/466
2017-07-06 09:34:29 -04:00
Tomas Kopecek
b98d93d788 drop mod_python support
Fixes: https://pagure.io/koji/issue/466
2017-07-06 14:04:19 +02:00
Mike McLean
47ae542b42 PR#489 1.13 release
Merges #489
https://pagure.io/koji/pull-request/489
2017-06-30 15:00:26 -04:00
Mike McLean
76382badf6 1.13 changelog updates 2017-06-30 12:23:09 -04:00
Mike McLean
baac58601e fix formatting in release note 2017-06-30 12:23:09 -04:00
Mike McLean
f8a9679c5c link the release notes on the main page 2017-06-30 12:23:09 -04:00