Commit graph

4115 commits

Author SHA1 Message Date
Tomas Kopecek
b4755745a2 block_pkglist compatibility fix
On older hubs --force is not supported, so CLI will fail on unknown
parameter. This use force option only if it is explicitly required.

Fixes: https://pagure.io/koji/issue/1388
2019-04-10 17:32:50 -04:00
Mike McLean
c6f3b23ecf PR#1376: use context manager for open in CLI
Merges #1376
https://pagure.io/koji/pull-request/1376
2019-04-10 17:29:05 -04:00
Tomas Kopecek
6010a9a98e fix test for opening mock file 2019-04-10 17:29:00 -04:00
Tomas Kopecek
5614455e8c use context manager for open in CLI 2019-04-10 17:29:00 -04:00
Mike McLean
f229543bec PR#1392: Replace references to latest-pkg with latest-build
Merges #1392
https://pagure.io/koji/pull-request/1392
2019-04-10 17:23:24 -04:00
Daniel Rodríguez
2f503070c3 Replace references to latest-pkg with latest-build
Replace latest-pkg with latest-build in common commands and
documentation. References to latest-pkg are removed where
latest-build is also present. Also, command description for
latest-build is updated to match the current one.
2019-04-10 17:23:18 -04:00
Mike McLean
40040ca1ca PR#1386: scale task_avail_delay based on bin rank
Merges #1386
https://pagure.io/koji/pull-request/1386
2019-04-09 15:40:05 -04:00
Mike McLean
431ee1688a fix unit test 2019-04-09 15:40:00 -04:00
Mike McLean
7c416d68d1 tweak rank calculation 2019-04-09 15:40:00 -04:00
Mike McLean
c4f7724647 scale task_avail_delay based on bin rank 2019-04-09 15:40:00 -04:00
Mike McLean
bfbdf314b3 PR#1363: Use createrepo_update even for first repo run
Merges #1363
https://pagure.io/koji/pull-request/1363

Fixes: #1354
https://pagure.io/koji/issue/1354
[RFE] use createrepo_c --update on new repos (when possible)
2019-04-09 15:36:42 -04:00
Tomas Kopecek
0f8e61554c Use createrepo_update even for first repo run
createrepo_update is currently reusing only old repos from same tag.
Nevertheless, for first newRepo there is no old data, but there is a
high chance, that we inherit something. This inherited repo can be used
also for significant speedup.

Fixes: https://pagure.io/koji/issue/1354
2019-04-09 15:36:32 -04:00
Mike McLean
9480ac9d7a PR#1368: update test requirements in jenkins
Merges #1368
https://pagure.io/koji/pull-request/1368

Fixes: #1367
https://pagure.io/koji/issue/1367
jenkins setup update
2019-04-05 20:06:59 -04:00
Tomas Kopecek
2be5449224 update test requirements in jenkins
Fixes: https://pagure.io/koji/issue/1367
2019-04-05 20:06:53 -04:00
Mike McLean
aaed1f496f PR#1374: honor mock.package_manager tag setting in mock-config cli
Merges #1374
https://pagure.io/koji/pull-request/1374

Fixes: #1167
https://pagure.io/koji/issue/1167
mock-config does not honor settings in extra data

Fixes: #339
https://pagure.io/koji/issue/339
mock build hangs with f26 mock config
2019-04-05 20:00:12 -04:00
Mike McLean
2092cf3a21 fix unit test 2019-04-05 19:59:34 -04:00
Mike McLean
25b70fe5b5 honor mock.package_manager tag setting in mock-config cli
Fixes: https://pagure.io/koji/issue/1167
2019-04-05 19:59:34 -04:00
Mike McLean
febc85c273 PR#1387: remove unused variable
Merges #1387
https://pagure.io/koji/pull-request/1387
2019-04-05 19:53:48 -04:00
Tomas Kopecek
7df16f1f51 remove unused variable 2019-04-05 19:53:43 -04:00
Mike McLean
48d2f31c8b PR#1143: hub: document CG access method arguments
Merges #1143
https://pagure.io/koji/pull-request/1143
2019-04-05 15:33:22 -04:00
Mike McLean
c003a9f368 clarify create option 2019-04-05 15:33:01 -04:00
Ken Dreyer
78514f26dc hub: document revoke_cg_access arguments
Describe each of the arguments to the revoke_cg_access() method.
2019-04-05 15:33:01 -04:00
Ken Dreyer
63511baa46 hub: document grant_cg_access arguments
Describe each of the arguments to the grant_cg_access() method.
2019-04-05 15:33:01 -04:00
Mike McLean
a894e38a91 PR#1169: docs: use systemctl enable --now for postgres and kojid
Merges #1169
https://pagure.io/koji/pull-request/1169
2019-04-05 15:29:36 -04:00
Ken Dreyer
52d706aa85 docs: use systemctl enable --now for kojid
Replace the RHEL 6-era command with the systemd equivalent.

Newer versions of systemd (RHEL 7.3+) support the --now flag to start
and enable the service in one command.
2019-04-05 15:29:27 -04:00
Ken Dreyer
b0d42dfd73 docs: use systemctl enable --now for postgres
Newer versions of systemd (RHEL 7.3+) support the --now flag to start
and enable the service in one command.
2019-04-05 15:29:27 -04:00
Mike McLean
5563b0c662 PR#1155: hub: document addHost and editHost arguments
Merges #1155
https://pagure.io/koji/pull-request/1155
2019-04-04 19:18:21 -04:00
Mike McLean
57c337686d docstring updates 2019-04-04 19:18:17 -04:00
Ken Dreyer
da016540f6 hub: document editHost arguments
Describe the types of each argument to the edit_host() method.

In particular, "arches" must be a string here, whereas in addHost it is
a list.
2019-04-04 19:18:17 -04:00
Ken Dreyer
cde24fe906 hub: document addHost arguments
Describe each of the arguments to the add_host() method.

In particular, "arches" must be a list here, whereas in editHost it is a
string.
2019-04-04 19:18:17 -04:00
Mike McLean
7af90790a1 PR#1242: kojid.conf documentation
Merges #1242
https://pagure.io/koji/pull-request/1242

Fixes: #1241
https://pagure.io/koji/issue/1241
Document kojid options
2019-04-04 17:07:02 -04:00
Mike McLean
2e67147bcd alphabetical options 2019-04-04 17:06:13 -04:00
Mike McLean
6e5cde5431 more updates to kojid.conf docs
- clean up grammar/typos
- pluginpath is colon-separated
- clarify several options a bit more
- pull task_avail_delay text from 1.17 relnotes
- emphasize insecure nature of password auth
- put preferred auth methods first
2019-04-04 17:06:13 -04:00
Mike McLean
f443392c4a blank line to make sphinx happy 2019-04-04 17:06:13 -04:00
Mike McLean
efb04976dd a few edits 2019-04-04 17:06:13 -04:00
Tomas Kopecek
29e9c87b50 kojid.conf documentation
Fixes: https://pagure.io/koji/issue/1241
2019-04-04 17:06:13 -04:00
Mike McLean
d2b82dcaba PR#1340: Update server doc for newer TLS and event worker
Merges #1340
https://pagure.io/koji/pull-request/1340
2019-04-04 16:56:37 -04:00
Pat Riehecky
f8882edd1c Update server doc for newer TLS and event worker 2019-04-04 16:56:29 -04:00
Mike McLean
9dcb4cbbbe PR#1359: docs: remove "TBD" sections
Merges #1359
https://pagure.io/koji/pull-request/1359
2019-04-04 16:50:29 -04:00
Ken Dreyer
f8ba59401e docs: remove "TBD" sections
The HOWTO documentation had a couple "TBD" sections for reporting bugs
or getting involved.

We already say how get involved in the first paragraph of the
documentation, so we do not need these "under construction" sections.
2019-04-04 16:48:20 -04:00
Mike McLean
a971484b80 PR#1360: docs: remove mod_python references
Merges #1360
https://pagure.io/koji/pull-request/1360
2019-04-04 16:45:18 -04:00
Ken Dreyer
f7b2579944 docs: remove mod_python references
koji-hub and koji-web use mod_wsgi now.
2019-04-04 16:45:09 -04:00
Mike McLean
405055e031 PR#1361: docs: kojirepod -> kojira
Merges #1361
https://pagure.io/koji/pull-request/1361
2019-04-04 16:43:52 -04:00
Ken Dreyer
676746e47d docs: kojirepod -> kojira
"kojirepod" is not a thing - it's "kojira".
2019-04-04 16:43:43 -04:00
Mike McLean
56760dfc86 PR#1370: add vhdx archivetype
Merges #1370
https://pagure.io/koji/pull-request/1370
2019-03-26 10:34:21 -04:00
Mike McLean
10508a66d1 adjust schema upgrade script 2019-03-26 10:07:29 -04:00
Mike McLean
a190035862 add vhdx archivetype 2019-03-26 10:05:54 -04:00
Mike McLean
23cd092046 PR#1331: provide lower level versions of build_target functions
Merges #1331
https://pagure.io/koji/pull-request/1331
2019-03-22 13:11:29 -04:00
Mike McLean
9f626a169c provide lower level versions of build_target functions 2019-03-22 13:11:17 -04:00
Mike McLean
128af617ba PR#1348: rm old references to Mozilla
Merges #1348
https://pagure.io/koji/pull-request/1348
2019-03-22 13:05:21 -04:00