Package: pagure / 5.11.3+dfsg-1

Metadata

Package Version Patches format
pagure 5.11.3+dfsg-1 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
0002 Fix Python shebang for various scripts.patch | (download)

createdb.py | 2 1 + 1 - 0 !
files/aclchecker.py | 2 1 + 1 - 0 !
files/api_key_expire_mail.py | 2 1 + 1 - 0 !
files/emoji_clean_json.py | 2 1 + 1 - 0 !
files/keyhelper.py | 2 1 + 1 - 0 !
files/mirror_project_in.py | 2 1 + 1 - 0 !
files/pagure_mirror_project_in.service | 2 1 + 1 - 0 !
pagure-ev/pagure_stream_server.py | 2 1 + 1 - 0 !
pagure-milters/comment_email_milter.py | 2 1 + 1 - 0 !
pagure/hooks/files/git_multimail_upstream.py | 2 1 + 1 - 0 !
pagure/hooks/files/hookrunner | 2 1 + 1 - 0 !
pagure/hooks/files/post-receive | 2 1 + 1 - 0 !
pagure/hooks/files/pre-receive | 2 1 + 1 - 0 !
pagure/hooks/files/repospannerhook | 2 1 + 1 - 0 !
setup.py | 2 1 + 1 - 0 !
tests/test_fnmatch.py | 2 1 + 1 - 0 !
tests/test_pagure_flask_ui_issues_acl_checks.py | 2 1 + 1 - 0 !
tests/test_stream_server.py | 2 1 + 1 - 0 !
tests/test_style.py | 2 1 + 1 - 0 !
19 files changed, 19 insertions(+), 19 deletions(-)

 fix python shebang for various scripts

Pagure ships with the "/usr/bin/env python" shebang, which doesn't
work on Debian because "python" refers to Python 2.  This patch
replaces every occurrence of this by "/usr/bin/python3".

For more info: https://pagure.io/pagure/issue/4725

0003 Adjust path of aclchecker.py.patch | (download)

pagure/default_config.py | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 adjust path of aclchecker.py

Pagure's default_config.py file contains a hardcoded path for the
aclchecker.py script which doesn't work for us (/usr/libexec,
Fedora-specific).  This patch adjusts the path to where we actually
install the script (/usr/share/pagure).

0004 Adjust flask_app.py to locate template static and th.patch | (download)

pagure/flask_app.py | 11 8 + 3 - 0 !
1 file changed, 8 insertions(+), 3 deletions(-)

 adjust flask_app.py to locate template, static and theme files

On Debian, we install template, static and theme files under
/usr/share/pagure (instead of /usr/lib/python3/dist-packages/pagure,
which is upstream's default).  For that reason, we have to adjust
flask_app.py in order to make it properly locate these files.