Commit graph

958 commits

Author SHA1 Message Date
Mikolaj Izdebski
f8d2f4395e Update source when recycling build
Fixes: #1179
2018-12-03 15:20:09 -05:00
Tomas Kopecek
9963877545 move move_and_symlink to koji.util 2018-11-28 16:27:30 -05:00
Tomas Kopecek
6a6f90be1e use relative symlinks for hub imports
Fixes: https://pagure.io/koji/issue/913
2018-11-28 16:27:30 -05:00
Tomas Kopecek
e20d9beb98 raise error for non-existing task in list_task_output
Added strict option

Fixes: https://pagure.io/koji/issue/1048
2018-11-20 12:46:36 -05:00
Yuming Zhu
7817ba7ca3 hub: [getRPMDeps] add strict behavior 2018-11-16 21:14:32 -05:00
Yuming Zhu
511dfc8fdd hub: [getPackageID] add strict behavior 2018-11-16 21:07:35 -05:00
Yuming Zhu
a34896bddb hub: [hasPerm] add strict behavior 2018-11-15 14:44:07 -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
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
Yuming Zhu
4a89f8a145 check tag existence in list-tagged cmd and listTagged* APIs 2018-10-18 14:37:35 +02:00
Yuming Zhu
fdedbc9001 fix wrong old value in postBuildStateChange callback 2018-10-10 14:56:26 +08:00
Yuming Zhu
da59f12bb8 hub: [getTaskInfo] add strict behavior 2018-09-26 13:53:26 -04:00
Yuming Zhu
0c3fc85bb5 hub: [postBuildStateChange] passing the newest build info 2018-09-20 16:31:47 -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
95591103ca support merge_mode field 2018-09-20 12:37:26 -04:00
Tomas Kopecek
771ad4b526 get_next_release should check also running builds
Fixes: https://pagure.io/koji/issue/977
2018-08-16 09:21:51 -04:00
Tomas Kopecek
f9d1de99f6 Fix target handling in make_task
Fixes: https://pagure.io/koji/issue/998
2018-08-14 17:12:05 -04:00
Tomas Kopecek
3cc443df97 Fix isinstance with lists
Fixes: https://pagure.io/koji/issue/1011
2018-08-08 11:34:39 -04:00
Mike McLean
484bf0181a create parent dir for symlink if needed 2018-08-08 11:22:59 -04:00
Mike McLean
b92afc0fed ensure volume symlinks in import pathways 2018-08-08 11:22:59 -04:00
Mike McLean
f8947a9215 add ensure_volume_symlink() function 2018-08-08 11:22:59 -04:00
Yuming Zhu
b4c5c95684 [kojihub] add strict parameter in getBuildNotification 2018-08-08 10:09:46 -04:00
Yuming Zhu
5a229a092e raise Error when user not found in getBuildNotifications 2018-07-31 17:50:07 +08:00
Tomas Kopecek
caae1a0a8b workaround unnecessary list conversions 2018-07-11 17:37:40 -04:00
Tomas Kopecek
56095e8018 fix unicode type checks 2018-07-11 17:37:40 -04:00
Tomas Kopecek
b37236d7ae fix incorrect divisions 2018-07-11 17:37:40 -04:00
Tomas Kopecek
8e61dc7c56 python-modernize -f libmodernize.fixes.fix_classic_division 2018-07-11 17:37:40 -04:00
Tomas Kopecek
bc425033b5 fix rest of int/long 2018-07-11 17:37:40 -04:00
Tomas Kopecek
220e889f2b python-modernize -f libmodernize.fixes.fix_int_long_tuple 2018-07-11 17:37:40 -04:00
Tomas Kopecek
be535c2854 python-modernize -f libmodernize.fixes.fix_imports_six 2018-07-11 17:37:39 -04:00
Tomas Kopecek
f03646bab5 python-modernize -f lib2to3.fixes.fix_methodattrs 2018-07-11 17:37:39 -04:00
Tomas Kopecek
9173587056 python-modernize -f lib2to3.fixes.fix_funcattrs 2018-07-11 17:37:39 -04:00
Tomas Kopecek
5ad9027320 python-modernize -f libmodernize.fixes.fix_basestring 2018-07-11 17:37:39 -04:00
Tomas Kopecek
bcee24e50c python-modernize -f libmodernize.fixes.fix_dict_six 2018-07-11 17:37:39 -04:00
Tomas Kopecek
b96092334d python-modernize -f libmodernize.fixes.fix_xrange_six 2018-07-11 17:37:39 -04:00
Mike McLean
862c5090bd minor adjustments for readability 2018-06-29 16:55:16 -04:00
Mike McLean
bb1e136324 drop redundant warning 2018-06-29 16:55:16 -04:00
Yuming Zhu
1b085035d9 put source target scratch into policy_data in make_task 2018-06-29 16:55:16 -04:00
Yuming Zhu
0a417f10e0 fix wrong tagNotification in tagBuildBypass API
fixes #958
2018-06-15 17:03:52 -04:00
Tomas Kopecek
63d92398d5 allow force for pkglist_add
Using force option will allow 'pre-blocking' of packages which are not
in tag inheritance yet, but could cause a problem if they'll get to
inheritance chain somehow. In such case we don't have an owner for
package and using 'force' allows admin to introduce blocked package with
him as an owner.

Fixes: https://pagure.io/koji/issue/867
2018-06-08 16:54:53 -04:00
Tomas Kopecek
90a935182f Allow listing of blocked data in readTagGroups
Fixes: https://pagure.io/koji/issue/870
2018-06-05 09:59:03 -04:00
mprahl
c21124ee12 Allow longer Build Target names 2018-05-23 18:32:34 -04:00
Alex Iribarren
9d093f8e31 Keep None as the default DBPort 2018-05-04 11:37:26 -04:00
Alex Iribarren
e1e4245822 Add option to configure DB port 2018-05-04 11:37:26 -04:00
Mike McLean
7a0acc00cb put dist repo rpms under Packages/ 2018-05-03 16:05:16 -04:00
Mike McLean
ddf120a4d3 update docstrings 2018-05-03 16:05:16 -04:00
Mike McLean
c032bdf6bc upload a repo manifest 2018-05-03 16:05:16 -04:00
Mike McLean
60cccdbcfa limit rpm keys to check 2018-05-03 16:05:16 -04:00
Mike McLean
fb5da35edf refactor uploaded file data 2018-05-03 16:05:16 -04:00
Mike McLean
8e08e66d9a partial refactor 2018-05-03 16:05:16 -04:00