Commit graph

3761 commits

Author SHA1 Message Date
Ken Dreyer
d68da458e6 koji.next.md: drop RHEL 5 requirements
We don't support RHEL 5 any more, RHEL 6 is the minimum.
2018-11-14 12:16:13 -05:00
Mike McLean
fa9d18a1c4 PR#1156: hub: unlimited NameWidth for kojifiles Apache location
Merges #1156
https://pagure.io/koji/pull-request/1156
2018-11-13 17:43:29 -05:00
Ken Dreyer
5ed66ca927 hub: unlimited NameWidth for kojifiles Apache location
Prior to this change, Apache's mod_autoindex would limit the file name
lengths in when it displayed directory and file lists under the archive
location /kojifiles.

Koji archive filenames are often be longer than mod_autoindex's default
of 20 bytes.

Configure mod_autoindex to show the entire filenames. This makes it
easier for users to browse /kojifiles to see at a glance which files are
stored.
2018-11-13 17:43:23 -05:00
Mike McLean
6cb431ad8c PR#1154: docs: update cheetah template user guide link
Merges #1154
https://pagure.io/koji/pull-request/1154
2018-11-13 11:10:30 -05:00
Ken Dreyer
34da1892ca docs: update cheetah template user guide link
This URL has moved. Update our link to match.
2018-11-13 11:10:24 -05:00
Mike McLean
1cbd035f53 PR#1148: docs: use "postgresql-setup initdb" to initialize database
Merges #1148
https://pagure.io/koji/pull-request/1148
2018-11-13 11:04:23 -05:00
Ken Dreyer
3a83f61292 docs: use "postgresql-setup initdb" to initialize database
Replace the old RHEL 5-era command with the newer command, available in
RHEL 7 and later.
2018-11-13 11:04:17 -05:00
Mike McLean
896d80a19f PR#1141: hub: document edit_tag argument types
Merges #1141
https://pagure.io/koji/pull-request/1141
2018-11-13 10:40:43 -05:00
Ken Dreyer
4dcb1e0707 hub: document edit_tag argument types
The editTag2 RPC expects arguments to be certain types. For example,
"arches" should be a single string of space-separated values, not a
Python list.

Document the types in the docstring for the edit_tag method.
2018-11-13 10:40:38 -05:00
Mike McLean
11ad8df9d4 PR#1138: cli: fix "at least" typo in help text
Merges #1138
https://pagure.io/koji/pull-request/1138
2018-11-02 17:54:28 -04:00
Ken Dreyer
686f647ac4 cli: fix "at least" typo in help text
"at lease" -> "at least"
2018-11-02 17:54:14 -04:00
Mike McLean
95efcce013 PR#1137: docs: unify "dnf" and "yum" instructions in server howto
Merges #1137
https://pagure.io/koji/pull-request/1137
2018-11-02 14:54:47 -04:00
Ken Dreyer
c4a6ae25ff docs: unify "dnf" and "yum" instructions in server howto
Drop the references to old EOL Fedora versions and simplify the package
install steps by using "Yum" everywhere.
2018-10-26 11:41:30 -06:00
Mike McLean
dc9e0dd2ed PR#1125: Ignore non-existing option when activate a session
Merges #1125
https://pagure.io/koji/pull-request/1125
2018-10-21 15:54:22 -04:00
Chenxiong Qi
5a3246f22a Ignore non-existing option when activate a session
For kerberos auth, if not login with a keytab and principal, those two
options may not be present in the incoming options.

Similarly, debug is also an optional option that could not exist.

Signed-off-by: Chenxiong Qi <cqi@redhat.com>
2018-10-21 15:54:05 -04:00
Mike McLean
41593d6a4e PR#1111: Don't retry if certificate is not readable
Merges #1111
https://pagure.io/koji/pull-request/1111

Fixes: #1108
https://pagure.io/koji/issue/1108
Brew hangs on SSL cert permission issues
2018-10-18 14:46:49 +02:00
Tomas Kopecek
8e7414acff fix comment indentation for flake8 2018-10-18 14:46:35 +02:00
Tomas Kopecek
0fecbc969b Don't retry if certificate is not readable
Fixes: https://pagure.io/koji/issue/1108
2018-10-18 14:46:35 +02:00
Mike McLean
898de96d4d PR#928: check tag existence in list-tagged cmd and listTagged* APIs
Merges #928
https://pagure.io/koji/pull-request/928

Fixes: #933
https://pagure.io/koji/issue/933
arch option in list-tagged should be appended as list

Fixes: #926
https://pagure.io/koji/issue/926
Listing builds in deleted tag returns empty list
2018-10-18 14:39:49 +02:00
Yuming Zhu
d70f22ee1b fix timezone in test_list_tagged 2018-10-18 14:37:35 +02:00
Yuming Zhu
777fdeba28 cli: support multiple arches in list-tagged
fixes: #933
2018-10-18 14:37:35 +02:00
Yuming Zhu
b3bc4b6e85 unit test for cli list-tagged command 2018-10-18 14:37:35 +02:00
Yuming Zhu
4a89f8a145 check tag existence in list-tagged cmd and listTagged* APIs 2018-10-18 14:37:35 +02:00
Mike McLean
90a942f4ee PR#1127: only pass new incl_blocked call opt if it is explicitly needed
Merges #1127
https://pagure.io/koji/pull-request/1127

Fixes: #1126
https://pagure.io/koji/issue/1126
list-groups cli command fails on older server
2018-10-18 13:57:42 +02:00
Mike McLean
7e02cdb46c only pass new incl_blocked call opt if it is explicitly needed
Older servers don't have the opt and will error if they see it

Fixes: #1126
2018-10-18 13:54:06 +02:00
Mike McLean
52ce529139 PR#1124: tooltip for search field
Merges #1124
https://pagure.io/koji/pull-request/1124

Fixes: #1122
https://pagure.io/koji/issue/1122
Better help for search field in webui
2018-10-18 13:50:19 +02:00
Tomas Kopecek
5aad0b2b8c tooltip for search field
Fixes: https://pagure.io/koji/issue/1122
2018-10-18 13:50:05 +02:00
Mike McLean
0784a5ebee PR#1115: Do not require split_debuginfo
Merges #1115
https://pagure.io/koji/pull-request/1115

Fixes: #1114
https://pagure.io/koji/issue/1114
Breaking API change in 1.16(.1)
2018-10-18 11:37:32 +02:00
Patrick Uiterwijk
4ed093ea70 Do not require split_debuginfo
Fixes: #1114
Signed-off-by: Patrick Uiterwijk <patrick@puiterwijk.org>
2018-10-18 11:37:15 +02:00
Mike McLean
175e6f2d3c PR#1123: fix wrong old value in postBuildStateChange callback
Merges #1123
https://pagure.io/koji/pull-request/1123

Fixes: #1112
https://pagure.io/koji/issue/1112
BuildStateChange items 'new' and 'old' is COMPLETE
2018-10-11 14:01:08 -04:00
Yuming Zhu
fdedbc9001 fix wrong old value in postBuildStateChange callback 2018-10-10 14:56:26 +08:00
Mike McLean
abf0f7163c PR#1097: hub: [getTaskInfo] add strict behavior
Merges #1097
https://pagure.io/koji/pull-request/1097

Fixes: #1079
https://pagure.io/koji/issue/1079
getTaskInfo API call should raise GenericError exception for non existing task ID
2018-09-26 13:53:34 -04:00
Yuming Zhu
da59f12bb8 hub: [getTaskInfo] add strict behavior 2018-09-26 13:53:26 -04:00
Mike McLean
787d956885 PR#1098: cli: [download-task] readable error when no task found
Merges #1098
https://pagure.io/koji/pull-request/1098

Fixes: #1080
https://pagure.io/koji/issue/1080
CLI download-task should respond "No such task" for task which is not exists.
2018-09-25 10:20:11 -04:00
Yuming Zhu
684e6c689b cli: [download-task] readable error when no task found 2018-09-25 10:19:59 -04:00
Mike McLean
55888578df PR#1096: cli: fix typos in *-notification error msg
Merges #1096
https://pagure.io/koji/pull-request/1096

Fixes: #1092
https://pagure.io/koji/issue/1092
Typo in add-notification error msg

Fixes: #1093
https://pagure.io/koji/issue/1093
Typo in edit-notification error msg
2018-09-20 18:09:09 -04:00
Yuming Zhu
36d1a10497 cli: fix typos in *-notification error msg 2018-09-20 18:08:59 -04:00
Mike McLean
2a18090ede PR#1072: Include WadersOS mention to 'koji runs here' doc
Merges #1072
https://pagure.io/koji/pull-request/1072
2018-09-20 18:04:49 -04:00
Niko Kortstrom
4b73075b59 Include WadersOS mention to 'koji runs here' doc 2018-09-20 18:04:42 -04:00
Mike McLean
3413eecb8c PR#1094: hub: [postBuildStateChange] passing the newest build info
Merges #1094
https://pagure.io/koji/pull-request/1094

Fixes: #1033
https://pagure.io/koji/issue/1033
Build complete messages don't show the updated build state and completion_time
2018-09-20 16:31:57 -04:00
Yuming Zhu
0c3fc85bb5 hub: [postBuildStateChange] passing the newest build info 2018-09-20 16:31:47 -04:00
Mike McLean
e08e279f6b PR#1066: Simple mode for mergerepos
Merges #1066
https://pagure.io/koji/pull-request/1066
2018-09-20 12:37:32 -04:00
Tomas Kopecek
3d6b640c56 Modify SQL update scripts 2018-09-20 12:37:26 -04:00
Tomas Kopecek
9effd55c39 create pkgorigins 2018-09-20 12:37:26 -04:00
Mike McLean
3273d249cd merge mode is part of tag connection rather than inherent to repo 2018-09-20 12:37:26 -04:00
Mike McLean
d63bf7f3df cli adjustments 2018-09-20 12:37:26 -04:00
Mike McLean
a2c61d3992 simple mode for mergerepos 2018-09-20 12:37:26 -04:00
Mike McLean
3a5dd71686 let merge repos deal with it 2018-09-20 12:37:26 -04:00
Mike McLean
95591103ca support merge_mode field 2018-09-20 12:37:26 -04:00
Mike McLean
f2b2a82c4b merge_mode field for external repos 2018-09-20 12:37:26 -04:00