Commit graph

39 commits

Author SHA1 Message Date
Tomas Kopecek
c6e69b4f8b backport py27 compatible file open with encoding
client and builder needs to run on py27 which doesn't support
open(encoding='utf-8')

Related: https://pagure.io/koji/issue/2641
2021-02-16 14:13:03 +01:00
Tomas Kopecek
96ae0ecef5 explicit encoding for text file operations
Fixes: https://pagure.io/koji/issue/2641
2021-01-26 13:36:25 +01:00
Yuming Zhu
c5db34a8e1 flake8: apply E501 with max-line-length=99 2020-03-03 21:38:22 +08:00
Yuming Zhu
6ed30954b2 flake8: apply E71x rule 2020-03-03 21:38:22 +08:00
Yuming Zhu
6dd77e0fa4 flake8: apply E502 rule 2020-03-03 21:38:22 +08:00
Yuming Zhu
0f727a2ab4 flake8: apply E3 rules 2020-03-03 21:38:22 +08:00
Yuming Zhu
05340b146b flake8: apply E2 rules except E266 2020-03-03 21:38:21 +08:00
Yuming Zhu
ce1f9928af flake8: apply E1 rules 2020-03-03 21:38:21 +08:00
Yuming Zhu
97cfaa4fcf flake8: follow E265 rule 2020-03-03 21:35:08 +08:00
Yu Ming Zhu
79a387e90a sort imports in builder 2019-12-12 11:00:58 +00:00
Tomas Kopecek
9effd55c39 create pkgorigins 2018-09-20 12:37:26 -04:00
Mike McLean
a2c61d3992 simple mode for mergerepos 2018-09-20 12:37:26 -04:00
Tomas Kopecek
d92fa1fa9c python-modernize -f libmodernize.fixes.fix_file 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
Franz Chih-Ping Hsieh
f356ac4f17 force using python2 to run script
Fixes #945
2018-05-24 00:01:30 -04:00
Ville Skyttä
10bc242c32 Spelling fixes 2017-07-30 12:49:19 +03:00
Tomas Kopecek
cc9fff9840 remove has_key (not working in python3) 2017-03-07 08:15:20 -05:00
Tomas Kopecek
c143d0b88f print statement -> print function 2017-02-28 10:55:56 -05:00
Mike McLean
125df6771b use correct temporary dirs in openRemoteFile and mergerepos 2016-08-10 12:06:30 -04:00
Mike McLean
4b62f3c2dd clean up output 2016-08-08 18:16:33 -04:00
Mike McLean
91b6b16d58 more debugging output in mergerepos 2016-08-08 18:16:33 -04:00
Mike McLean
3d7d269d4b debug output 2016-08-08 18:16:33 -04:00
Ian McLeod
15e7969b3e add armv6 hard fp arches to mergerepos cannonical mapping lists 2016-05-16 14:08:49 -04:00
Mike Bonnet
ab53d2deb0 update copyright 2014-10-28 23:54:21 -04:00
Jay Greguske
794abb71b1 include multilib packages in repos 2014-05-08 12:29:57 -04:00
Mike McLean
60fa3fe23f handle relative-to-koji urls in mergerepos 2013-03-28 20:18:12 -04:00
Dennis Gilmore
89b9222fc3 add initial support for arm hardware floating point arches. 2011-11-15 12:59:41 -06:00
Mike Bonnet
dfdc02ef81 fix mergerepos to allow packages built from the same srpm to span multiple repos 2010-05-06 17:58:00 -04:00
Mike Bonnet
279418adf1 remove ugly hacks from mergerepos now that fixes to yum have been checked in upstream 2009-09-18 16:32:12 -04:00
Dennis Gilmore
24d8b8ee63 fix up sparc arch handling 2009-02-19 12:30:36 -06:00
Mike Bonnet
c772db58ad explicitly request sha1 for backward compatibility with older yum 2009-02-18 23:25:57 -05:00
Mike Bonnet
1b8a6b4aa5 remove redundant line (pointed out by James Antill) 2009-02-18 10:27:33 -05:00
Jeffrey C. Ollie
b82c811f95 use the YumBase.preconf attribute if it's available
Signed-off-by: Mike Bonnet <mikeb@redhat.com>
2009-02-17 13:36:21 -05:00
Mike Bonnet
ef659b76bc use python 2.4 compatible class syntax 2009-02-13 17:59:18 -05:00
Mike Bonnet
3f4703322d work around missing summary and description for RHEL-5 compatibility 2009-02-13 17:59:18 -05:00
Mike Bonnet
3a3fc7f49f expand the arches passed to mergerepos to include compatible arches that may appear in external repos 2009-02-12 19:01:31 -05:00
Mike Bonnet
e71e348b1f avoid UnicodeDecodeErrors when writing out the metadata by ensuring that pkg attributes that end up in the xml are utf-8-encoded strs (not unicode objects) 2009-02-09 13:21:38 -05:00
Mike Bonnet
7f11eb941e cleanup whitespace 2009-01-28 12:55:41 -05:00
Mike Bonnet
ef3b090424 support for including external repo data in Koji repos 2009-01-28 12:51:38 -05:00