Commit graph

3310 commits

Author SHA1 Message Date
Franz Chih-Ping Hsieh
8a273b2cae add unit test for cli commands, coverage(40%) 2018-02-05 15:15:02 +01:00
Mike McLean
8f5edb9880 PR#787: builder: make temp dir to be configured
Merges #787
https://pagure.io/koji/pull-request/787

Fixes: #786
https://pagure.io/koji/issue/786
buildSRPMFromSCM tasks fail on koji 1.15
2018-01-16 15:35:20 -05:00
Yuming Zhu
8da39606b8 rename parameter/default value - tmpdir to chroot_tmpdir 2018-01-16 15:35:16 -05:00
Yuming Zhu
d30f097301 builder: make temp dir be configured 2018-01-16 15:35:16 -05:00
Mike McLean
e399f69af4 PR#498: remove old ssl library
Merges #498
https://pagure.io/koji/pull-request/498

Fixes: #467
https://pagure.io/koji/issue/467
drop old ssl support
2018-01-15 17:55:28 -05:00
Tomas Kopecek
8f22069fda drop old ssl support + compatrequests
Koji now uses ssl via python-requests

 - use_old_ssl option is removed
 - koji.ssl library removed
 - compatrequests dropped

Related: https://pagure.io/koji/issue/467
2018-01-03 12:47:03 +01:00
Mike McLean
15bc1155bb PR#755: remove simplejson imports
Merges #755
https://pagure.io/koji/pull-request/755

Fixes: #727
https://pagure.io/koji/issue/727
drop simplejson imports
2017-12-20 12:42:35 -05:00
Tomas Kopecek
b852381a3a remove simplejson imports
Fixes: https://pagure.io/koji/issue/727
2017-12-20 12:42:31 -05:00
Mike McLean
414edb6b82 PR#731: koji.next.md: Content Generators are available
Merges #731
https://pagure.io/koji/pull-request/731
2017-12-19 13:53:40 -05:00
Ken Dreyer
b90c22eff0 koji.next.md: Content Generators are available 2017-12-19 13:53:37 -05:00
Mike McLean
bb6a6167dc PR#754: drop rhel5 cases from spec
Merges #754
https://pagure.io/koji/pull-request/754

Fixes: #728
https://pagure.io/koji/issue/728
drop rhel5 cases from spec
2017-12-19 13:46:43 -05:00
Tomas Kopecek
dfe5188122 drop rhel5 cases from spec
Fixes: https://pagure.io/koji/issue/728
2017-12-19 13:46:39 -05:00
Mike McLean
30e9aa3d1c PR#761: proper comments of unused spec macros
Merges #761
https://pagure.io/koji/pull-request/761

Fixes: #760
https://pagure.io/koji/issue/760
spec contains commented (but expanded) macros
2017-12-19 12:46:50 -05:00
Tomas Kopecek
3ba5aa5174 proper comments of unused spec macros
Fixes: https://pagure.io/koji/issue/760
2017-12-19 12:46:46 -05:00
Mike McLean
fb8f53acf9 PR#762: remove unused import in koji-shadow
Merges #762
https://pagure.io/koji/pull-request/762
2017-12-19 12:34:59 -05:00
Yuming Zhu
107eb48ceb remove unused import in koji-shadow 2017-12-19 12:34:55 -05:00
Mike McLean
99b1ce0b62 PR#764: incorrect py3 syntax
Merges #764
https://pagure.io/koji/pull-request/764
2017-12-19 12:30:26 -05:00
Tomas Kopecek
aecd3022e9 incorrect py3 syntax 2017-12-19 12:30:22 -05:00
Mike McLean
dc411d9456 PR#757: Force coverage3 read correct rc file.
Merges #757
https://pagure.io/koji/pull-request/757

Fixes: #756
https://pagure.io/koji/issue/756
coverage3 should read .coveragerc3 to generate reports or html
2017-12-19 09:59:40 -05:00
Franz Chih-Ping Hsieh
b8bfc837fe add coverage exclude check 2017-12-19 09:59:35 -05:00
Franz Chih-Ping Hsieh
3d190a1943 add exclude_lines in .coveragerc/.coveragerc3 2017-12-19 09:59:35 -05:00
Franz Chih-Ping Hsieh
51b56c0e76 force coverage3 read .coveragerc3 as rcfile to generate report and html 2017-12-19 09:59:35 -05:00
Mike McLean
11d60d9157 PR#632: drop migrateImage call
Merges #632
https://pagure.io/koji/pull-request/632

Fixes: #612
https://pagure.io/koji/issue/612
drop migrateImage call
2017-12-19 09:56:53 -05:00
Tomas Kopecek
fb48f62c4d drop migrateImage call
The migrateImage call allows migrating pre-1.8 image builds from the old
model (no build entry) to the new model (image build type). This call
was added in 1.8 (4.5 years ago) as a one-time tool for migration.  It
is only available if the EnableImageMigration is set on the hub.

See also: https://docs.pagure.org/koji/migrating_to_1.8/

Related: https://pagure.io/koji/issue/612
2017-12-19 09:56:45 -05:00
Mike McLean
41b74fcc25 PR#759: cli: fix issues in dist-repo command
Merges #759
https://pagure.io/koji/pull-request/759

Fixes: #758
https://pagure.io/koji/issue/758
Three issues found in handle_dist_repo()
2017-12-19 09:52:50 -05:00
Franz Chih-Ping Hsieh
551ef9e254 add unit test for koji_cli.commands.handle_dist_repo 2017-12-19 09:52:45 -05:00
Franz Chih-Ping Hsieh
a2f0de1a5a fix issues found in handle_dist_repo()
Fixes: #758
https://pagure.io/koji/issue/758
2017-12-19 09:52:45 -05:00
Mike McLean
004fea662b PR#746: Release 1.15.0
Merges #746
https://pagure.io/koji/pull-request/746

Fixes: #745
https://pagure.io/koji/issue/745
Need 1.15.0 release notes
2017-12-18 17:10:22 -05:00
Mike McLean
0987432a1b adjust changelog date 2017-12-18 17:04:53 -05:00
Mike McLean
b6cc84368e blank schema upgrade script
There were no schema changes in 1.15.
This file contains comments explaining as much.
2017-12-12 15:25:20 -05:00
Mike McLean
7925a4627f cleanup 2017-12-12 15:18:29 -05:00
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