Tomas Kopecek
279e6533f6
rebuildSRPM task
...
New task rebuildSRPM for srpms uploaded to koji. If policy
'rebuild_srpm' returns True, build task will spawn rebuildSRPM task
first to recreate SRPM with updated buildroot macros, typically 'dist'.
Policy has access to same data as build_from_srpm and build_from_repo_id
policies. (user_id, source, task_id, build_tag, skip_tag, target, tag)
Fixes: https://pagure.io/koji/issue/1396
2019-06-26 09:06:48 +02:00
Tomas Kopecek
15e4d07763
encode to bytes only under py3
...
Related: https://pagure.io/koji/pull-request/1498
2019-06-24 18:09:10 -04:00
Mengjing Shi
2d88836a4b
Pass bytes to md5_constructor
...
Fixes login TypeError on koji-web
2019-06-24 18:07:23 -04:00
Tomas Kopecek
9326cebd32
pass bytes to sha1 constructor
...
As preparation to use hashlib's constructors, fix passing correct
datatype to sha1 constructor in web ui.
Fixes: https://pagure.io/koji/issue/1486
2019-06-19 11:08:22 -04:00
Mike McLean
fdc2bdaef9
search form on one line
2019-06-14 15:23:49 -04:00
Mike McLean
08fd56a5aa
combine search and searchresults templates
2019-06-14 15:23:49 -04:00
Tomas Kopecek
7a5c9130bc
retain form values in search page
2019-06-14 15:23:49 -04:00
Tomas Kopecek
f9758e2572
retain search type
2019-06-14 15:23:49 -04:00
Tomas Kopecek
7842c480cf
retain old search pattern in web ui
...
Fixes: https://pagure.io/koji/issue/1130
2019-06-14 15:23:49 -04:00
Tomas Kopecek
0eec0d75e2
let hub decide, what headers are supported
...
Currently web ui expects, that is it using same rpm version as hub -
this is wrong assumption, so let hub decide what is available there.
Fixes: https://pagure.io/koji/issue/1261
2019-06-13 13:46:12 -04:00
Tomas Kopecek
3e65782daf
remove unneeded import
2019-05-06 10:33:06 -04:00
Mike McLean
3d8c75d7d3
use time.time() for current timestamp
2019-05-06 10:33:06 -04:00
Tomas Kopecek
e5b0a3ac6e
display task durations in webui
...
Fixes: https://pagure.io/koji/issue/1382
2019-05-06 10:33:06 -04:00
Ken Dreyer
7e981c15a9
rm old references to Mozilla
...
We don't need to reference Fedora 5 or Mozilla any more in our docs.
2019-03-22 13:05:00 -04:00
Miro Hrončok
32977881f6
Support tilde in search
...
Fixes https://pagure.io/koji/issue/1294
Signed-off-by: Miro Hrončok <miro@hroncok.cz>
2019-03-22 10:18:05 -04:00
Tomas Kopecek
a2892a9b24
remove urlescape from package name
...
urlescape fails for unicode strings. On the other hand, 'name' attribute
is not used anywhere in infoURLs, so it is safe to just drop it.
Fixes: https://pagure.io/koji/issue/1224
2019-03-12 10:59:20 -04:00
Tomas Kopecek
eeeeb3ab78
skip fixEncoding for py3
2019-03-04 10:13:51 -05:00
Tomas Kopecek
a209f17401
convert xmlrpc.Binary to string before fixEncoding
...
Fixes: https://pagure.io/koji/issue/1282
2019-03-04 10:13:51 -05:00
Mike McLean
0d05c1c304
use greetings list from lib
2019-02-27 12:39:36 -05:00
Tomas Kopecek
23bd0fe45a
replace urrlib.quote with six.moves
...
Some web templates still uses old library, replace with py3-compatible
one.
Fixes: https://pagure.io/koji/issue/1283
2019-02-26 22:42:25 -05:00
Tomas Kopecek
53f3109fba
correctly escape license in web ui
...
Fixes: https://pagure.io/koji/issue/1285
2019-02-26 22:04:15 -05:00
Tomas Kopecek
8e41dd6d09
remove sys.exc_clear() in web ui
...
sys.exc_clear() doesn't exist in py3. It also doesn't seem to be really
needed, so it should be safe to drop it.
2019-02-19 17:29:25 -05:00
Tomas Kopecek
d368322fb6
fix weak deps handling in rpminfo web page
...
PR #965 (commit ef998c6 ) changed way, how weak reference support is
detected in rpm. As a result, web page rpminfo is failing due to missing
variable.
Fixes: https://pagure.io/koji/issue/1234
2019-02-18 15:32:59 -05:00
Tomas Kopecek
904a241eff
use C.UTF-8 lang as default
2019-02-12 15:01:37 -05:00
Tomas Kopecek
ee673d4b66
Web UI python3 changes
...
Fixes: https://pagure.io/koji/issue/890
2019-02-12 15:01:37 -05:00
Tomas Kopecek
ccdb8ac34c
Use python2/3 instead of python in Makefile/spec
...
Fixes: https://pagure.io/koji/issue/1018
2019-01-28 06:06:50 -05:00
Tomas Kopecek
17db100db5
few sort speedups
...
Fixes: https://pagure.io/koji/issue/963
2018-12-04 00:05:26 -05:00
Tomas Kopecek
5aad0b2b8c
tooltip for search field
...
Fixes: https://pagure.io/koji/issue/1122
2018-10-18 13:50:05 +02:00
Tomas Kopecek
167b296311
additional info on builders in channelinfo page
...
Fixes: https://pagure.io/koji/issue/988
2018-07-11 18:11:18 -04:00
Tomas Kopecek
caae1a0a8b
workaround unnecessary list conversions
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
be535c2854
python-modernize -f libmodernize.fixes.fix_imports_six
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
7f6b717eb6
python-modernize -f libmodernize.fixes.fix_import
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
d60bdddcf4
link dist repo on task page
2018-05-03 16:05:16 -04:00
Tomas Kopecek
d2fcb8b459
Don't show license for external rpms
...
Fixes: https://pagure.io/koji/issue/791
2018-04-03 17:16:41 -04:00
Franz Chih-Ping Hsieh
ac88d5aa91
avoid using backslash and fix typo issue.
2018-03-01 16:01:47 -05:00
Franz Chih-Ping Hsieh
be6dab466f
Replace cmp with key in sorted() for python3 support
...
Fixes : #713
https://pagure.io/koji/issue/713
2018-03-01 16:01:47 -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
Tomas Kopecek
c8242ed75f
Display license info in CLI's rpminfo and Web UI
...
Fixes: https://pagure.io/koji/issue/683
2017-11-30 17:39:01 -05:00
Mike McLean
900767cf4b
add krb_canon_host option to various clients
2017-10-27 15:32:25 -04:00
Mike McLean
9bcce9dc3e
pull in core volume policy functions from earlier branches
2017-10-06 17:16:03 -04:00
Tomas Kopecek
5ac2a6b8f0
display suid bit in web ui
...
Related: https://pagure.io/koji/issue/616
2017-10-05 10:38:48 -04:00
Mike McLean
2865f2421b
avoid using encode_int in some of the client code
2017-08-25 16:48:02 -04:00
Tomas Kopecek
b98d93d788
drop mod_python support
...
Fixes: https://pagure.io/koji/issue/466
2017-07-06 14:04:19 +02:00