Commit graph

3279 commits

Author SHA1 Message Date
Mike McLean
aef86b9e06 system notes 2017-12-12 10:53:13 -05:00
Mike McLean
7c988318a5 builder notes 2017-12-11 19:00:06 -05:00
Mike McLean
03ad8cdab3 web ui notes 2017-12-11 19:00:06 -05:00
Mike McLean
b3bc77e352 partial release notes for 1.15 2017-12-11 17:11:23 -05:00
Mike McLean
5daabd87f6 bump release, update changelog 2017-12-11 17:02:13 -05:00
Mike McLean
0f228baa45 PR#602: don't use /tmp in chroot
Merges #602
https://pagure.io/koji/pull-request/602

Fixes: #569
https://pagure.io/koji/issue/569
Koji doesn't work with mock 1.4+
2017-12-11 12:55:03 -05:00
Mike McLean
61c97effa3 fix buildroot tmpdir refs in ApplianceTask 2017-12-11 12:54:59 -05:00
Mike McLean
e5fdcb45dd avoid double slash in path 2017-12-11 12:54:59 -05:00
Tomas Kopecek
c6c34361b1 don't use /tmp in chroot
Related: https://pagure.io/koji/issue/569
2017-12-11 12:54:59 -05:00
Mike McLean
cedd6eef7f PR#674: store git commit hash to build.source
Merges #674
https://pagure.io/koji/pull-request/674

Fixes: #550
https://pagure.io/koji/issue/550
Have koji store the git hash
2017-12-11 12:50:49 -05:00
Mike McLean
fab1cc4245 don't fail if child task doesn't provide source
While the current code will always provide it, the older code did
not. When a Koji system is updated to this version, we could have
a restarted build task read the result of a previously finished
buildSRPMFromSCM task that ran with the old code.
2017-12-11 12:50:46 -05:00
Mike McLean
15709e019c adjust how we store the extra source data 2017-12-11 12:50:46 -05:00
Mike McLean
d0c4f29b44 just use original url for non-git sources 2017-12-11 12:50:46 -05:00
Mike McLean
99dcb3798d avoid splitting SCM class in kojikamid 2017-12-11 12:50:46 -05:00
Tomas Kopecek
0ae68fbbcb store source also for CVS/SVN 2017-12-11 12:50:46 -05:00
Tomas Kopecek
3bad1f9f64 fix race condition and missing values 2017-12-11 12:50:46 -05:00
Tomas Kopecek
4a96ee5474 store git commit hash to build.source
Git HEAD commit hash is now stored in build.info field. this field is
currently used by content generators, but not by other builds. Also
original checked out url is stored in build.extra.url field.

Fixes: https://pagure.io/koji/issue/550
2017-12-11 12:50:46 -05:00
Mike McLean
c78a53167b PR#492: Setuptools support
Merges #492
https://pagure.io/koji/pull-request/492

Relates: #458
https://pagure.io/koji/issue/458
submit koji to pypi
2017-12-08 09:58:00 -05:00
Tomas Kopecek
022e4e157f update to 1.15 version 2017-12-08 09:57:47 -05:00
Tomas Kopecek
d4d426c41a use rpm-py-installer 2017-12-08 09:57:47 -05:00
Tomas Kopecek
b74b5c0ef0 Documentation update for PyPi 2017-12-08 09:57:47 -05:00
Tomas Kopecek
1f78c6d9ee Makefile targets for PyPi 2017-12-08 09:57:47 -05:00
Tomas Kopecek
db7b4c0e74 update setup.py for 1.14
Related: https://pagure.io/koji/issue/458
2017-12-08 09:57:47 -05:00
Pavol Babincak
ed020db571 Setuptools support
Currently covers only client-side packages koji, koji.ssl and koji CLI.
2017-12-08 09:57:47 -05:00
Mike McLean
a81ab3a1f4 PR#740: Check for login earlier
Merges #740
https://pagure.io/koji/pull-request/740

Fixes: #643
https://pagure.io/koji/issue/643
confusing error messages for some calls that require auth
2017-12-08 09:43:35 -05:00
Mike McLean
49853afed6 Check for login earlier
Ensure that assertLogin is called early to avoid confusing error messages.

Fixes #643
2017-12-08 09:43:25 -05:00
Mike McLean
b320d2f1d7 PR#708: Implement support for keytab in gssapi codepaths
Merges #708
https://pagure.io/koji/pull-request/708
2017-12-07 18:16:06 -05:00
Mike McLean
12f156d1f3 fix exception syntax 2017-12-07 18:16:03 -05:00
Patrick Uiterwijk
fbbd5cd168 Fix resetting the environment
Signed-off-by: Patrick Uiterwijk <patrick@puiterwijk.org>
2017-12-07 18:16:03 -05:00
Mike McLean
c3f5b5b124 unit tests for gssapi auth 2017-12-07 18:16:03 -05:00
Mike McLean
66e42e9bfc fix another bare exception 2017-12-07 18:16:03 -05:00
Mike McLean
960c1f861d be a little more paranoid about undoing opts/environ mangling 2017-12-07 18:16:03 -05:00
Mike McLean
64375197ff avoid bare exception and add some debug logging 2017-12-07 18:16:03 -05:00
Patrick Uiterwijk
7a2f2a7d4b Implement support for keytab in gssapi codepaths
This had been a TODO that until now wasn't critical since python2 would fall back to krbV.
For python3, we only have gssapi, so implement keytabs and ccache for gssapi.

Signed-off-by: Patrick Uiterwijk <patrick@puiterwijk.org>
2017-12-07 18:16:03 -05:00
Mike McLean
c1d8ca8e46 PR#446: run checks earlier for cg_import
Merges #446
https://pagure.io/koji/pull-request/446

Fixes: #426
https://pagure.io/koji/issue/426
cg_import should catch archive errors earlier
2017-12-07 14:57:49 -05:00
Mike McLean
bc2bb62032 avoid unnecessary file opening 2017-12-07 14:55:37 -05:00
Tomas Kopecek
b482e36595 move checks earlier to prep_outputs 2017-12-07 14:55:37 -05:00
Tomas Kopecek
6ad3d65a91 check all existing btypes 2017-12-07 14:55:37 -05:00
Tomas Kopecek
b81159bc2d run checks earlier for cg_import
Related: https://pagure.io/koji/issue/426
2017-12-07 14:55:37 -05:00
Mike McLean
bc02f03d3e PR#610: show components for all archives
Merges #610
https://pagure.io/koji/pull-request/610

Fixes: #545
https://pagure.io/koji/issue/545
components not displayed for non-images
2017-12-07 14:47:13 -05:00
Mike McLean
e6fae7ca29 fix rpm components check 2017-12-07 14:47:09 -05:00
Tomas Kopecek
f635493c95 show archives in archives 2017-12-07 14:47:09 -05:00
Tomas Kopecek
601871c699 show components for all archives
Related: https://pagure.io/koji/issue/545
2017-12-07 14:47:09 -05:00
Mike McLean
62d4d1d1d1 PR#578: cli: fix changelog encode for PY3
Merges #578
https://pagure.io/koji/pull-request/578

Fixes #577
https://pagure.io/koji/issue/577
buildinfo --changelog prints bytestring
2017-12-07 14:26:52 -05:00
Yuming Zhu
377fecbbfc fix unit test - test_formatChangelog 2017-12-06 14:08:37 +08:00
Mike McLean
8a4c75ee7f rename fixPrint->_fix_print and add a docstring 2017-12-06 13:32:51 +08:00
Mike McLean
1da06800cf adjustments to test_formatChangelog 2017-12-06 13:32:51 +08:00
Yuming Zhu
3464adae2e cli: fix changelog encode for PY3
relates [issue#577](https://pagure.io/koji/issue/577)
2017-12-06 13:32:29 +08:00
Mike McLean
ac2d2c5935 PR#533: Treat canceled tasks as failed for optional_archs
Merges #533
https://pagure.io/koji/pull-request/533

Fixes: #529
https://pagure.io/koji/issue/529
failable tasks that are cancelled should not fail the parent
2017-12-05 10:30:32 -05:00
Tomas Kopecek
47164a9d58 test intermediate calls 2017-12-05 10:28:24 -05:00