commit pagure for openSUSE:Factory
Hello community, here is the log from the commit of package pagure for openSUSE:Factory checked in at 2020-09-25 16:35:34 Comparing /work/SRC/openSUSE:Factory/pagure (Old) and /work/SRC/openSUSE:Factory/.pagure.new.4249 (New) Package is "pagure" Fri Sep 25 16:35:34 2020 rev:19 rq:837239 version:5.11.3 Changes: --- /work/SRC/openSUSE:Factory/pagure/pagure.changes2020-08-31 16:52:19.688414867 +0200 +++ /work/SRC/openSUSE:Factory/.pagure.new.4249/pagure.changes 2020-09-25 16:36:52.140174457 +0200 @@ -1,0 +2,15 @@ +Thu Sep 24 22:57:42 UTC 2020 - Neal Gompa + +- Backport various fixes from upstream + + Patch: 0001-Display-real-line-numbers-on-pull-request-s-diff-vie.patch + + Patch: 0002-Show-the-assignee-s-avatar-on-the-board.patch + + Patch: 0003-Allow-setting-a-status-as-closing-even-if-the-projec.patch + + Patch: 0004-Include-the-assignee-in-the-list-of-people-notified-.patch + + Patch: 0005-Introduce-the-collaborator_project_groups-mapping.patch + + Patch: 0006-When-a-file-a-detected-as-a-binary-file-return-the-r.patch + + Patch: 0007-Remove-fenced-code-block-when-checking-mention.patch + + Patch: 0008-Add-support-for-using-cchardet-to-detect-files-encod.patch + + Patch: 0009-Add-support-for-disabling-user-registration.patch +- Remove mandatory dependency on systemd to ease containerization + +--- New: 0001-Display-real-line-numbers-on-pull-request-s-diff-vie.patch 0002-Show-the-assignee-s-avatar-on-the-board.patch 0003-Allow-setting-a-status-as-closing-even-if-the-projec.patch 0004-Include-the-assignee-in-the-list-of-people-notified-.patch 0005-Introduce-the-collaborator_project_groups-mapping.patch 0006-When-a-file-a-detected-as-a-binary-file-return-the-r.patch 0007-Remove-fenced-code-block-when-checking-mention.patch 0008-Add-support-for-using-cchardet-to-detect-files-encod.patch 0009-Add-support-for-disabling-user-registration.patch Other differences: -- ++ pagure.spec ++ --- /var/tmp/diff_new_pack.iVBr01/_old 2020-09-25 16:36:53.368175546 +0200 +++ /var/tmp/diff_new_pack.iVBr01/_new 2020-09-25 16:36:53.372175551 +0200 @@ -41,6 +41,18 @@ Source10: pagure-README.SUSE +# Backports from upstream +Patch0001: 0001-Display-real-line-numbers-on-pull-request-s-diff-vie.patch +Patch0002: 0002-Show-the-assignee-s-avatar-on-the-board.patch +Patch0003: 0003-Allow-setting-a-status-as-closing-even-if-the-projec.patch +Patch0004: 0004-Include-the-assignee-in-the-list-of-people-notified-.patch +Patch0005: 0005-Introduce-the-collaborator_project_groups-mapping.patch +Patch0006: 0006-When-a-file-a-detected-as-a-binary-file-return-the-r.patch +Patch0007: 0007-Remove-fenced-code-block-when-checking-mention.patch +Patch0008: 0008-Add-support-for-using-cchardet-to-detect-files-encod.patch +Patch0009: 0009-Add-support-for-disabling-user-registration.patch + + # SUSE-specific fixes ## Change the defaults in the example config to match packaging Patch1000: pagure-5.0-default-example-cfg.patch @@ -122,6 +134,9 @@ Requires: python3-kitchen Requires: python3-requests +# We want to use cchardet whenever it's available +Recommends: python3-cchardet + # If using PostgreSQL, the correct driver should be installed Recommends: (python3-psycopg2 if postgresql-server) @@ -137,7 +152,7 @@ # The default theme is required Requires: %{name}-theme-default -%{?systemd_requires} +%{?systemd_ordering} # We use the git tools for some actions due to deficiencies in libgit2 and pygit2 Requires: git-core ++ 0001-Display-real-line-numbers-on-pull-request-s-diff-vie.patch ++ >From f48278682d9552670b7d5cb9e99a7e0a74bdd689 Mon Sep 17 00:00:00 2001 From: Julen Landa Alustiza Date: Fri, 7 Aug 2020 12:35:32 +0200 Subject: [PATCH 1/9] Display real line numbers on pull request's diff view Fixes #724 --- pagure/templates/_repo_renderdiff.html | 1 - pagure/ui/filters.py | 101 ++--- tests/test_pagure_flask_ui_fork.py | 24 +- 3 files changed, 64 insertions(+), 62 deletions(-) diff --git a/pagure/templates/_repo_renderdiff.html b/pagure/templates/_repo_renderdiff.html index a0922169..aa9a062e 100644 --- a/pagure/templates/_repo_renderdiff.html +++ b/pagure/templates/_repo_renderdiff.html @@ -164,7 +164,6 @@ commit=patchstats["new_id"], prequest=pull_request, index=loop.index, - isprdiff=True, tree_id=diff_commits[0].tree.id)}}
commit pagure for openSUSE:Factory
Hello community, here is the log from the commit of package pagure for openSUSE:Factory checked in at 2020-08-31 16:51:50 Comparing /work/SRC/openSUSE:Factory/pagure (Old) and /work/SRC/openSUSE:Factory/.pagure.new.3399 (New) Package is "pagure" Mon Aug 31 16:51:50 2020 rev:18 rq:830601 version:5.11.3 Changes: --- /work/SRC/openSUSE:Factory/pagure/pagure.changes2020-08-04 20:25:29.549044509 +0200 +++ /work/SRC/openSUSE:Factory/.pagure.new.3399/pagure.changes 2020-08-31 16:52:19.688414867 +0200 @@ -1,0 +2,7 @@ +Sun Aug 30 14:25:21 UTC 2020 - Neal Gompa + +- Update to 5.11.3 + + Fix the model around the boards so it works with mariadb/mysql + + Add new endpoints to the API documentation + +--- Old: pagure-5.11.2.tar.gz New: pagure-5.11.3.tar.gz Other differences: -- ++ pagure.spec ++ --- /var/tmp/diff_new_pack.W5AaJR/_old 2020-08-31 16:52:21.156415579 +0200 +++ /var/tmp/diff_new_pack.W5AaJR/_new 2020-08-31 16:52:21.160415581 +0200 @@ -23,7 +23,7 @@ Name: pagure -Version:5.11.2 +Version:5.11.3 Release:0 Summary:A git-centered forge Group: Development/Tools/Version Control ++ pagure-5.11.2.tar.gz -> pagure-5.11.3.tar.gz ++ /work/SRC/openSUSE:Factory/pagure/pagure-5.11.2.tar.gz /work/SRC/openSUSE:Factory/.pagure.new.3399/pagure-5.11.3.tar.gz differ: char 5, line 1
commit pagure for openSUSE:Factory
Hello community, here is the log from the commit of package pagure for openSUSE:Factory checked in at 2020-08-04 20:25:05 Comparing /work/SRC/openSUSE:Factory/pagure (Old) and /work/SRC/openSUSE:Factory/.pagure.new.3592 (New) Package is "pagure" Tue Aug 4 20:25:05 2020 rev:17 rq:824337 version:5.11.2 Changes: --- /work/SRC/openSUSE:Factory/pagure/pagure.changes2020-06-22 17:45:52.641841642 +0200 +++ /work/SRC/openSUSE:Factory/.pagure.new.3592/pagure.changes 2020-08-04 20:25:29.549044509 +0200 @@ -1,0 +2,59 @@ +Tue Aug 4 13:00:36 UTC 2020 - Neal Gompa + +- Update to 5.11.2 + + Allow having a dedicated logging configuration for the git hooks + + Increase logging to the pagure_auth logger + + Make work pagure-admin ensure-project-hooks when the target link exists but is +broken + + Change the project icon when the project is mirrored from an external source + + Allow a theme or a blueprint to inject custom buttons in the navigation bar. + + Add API endpoint to get a pull-request comment + + Omit breaking original comment format in reply on pull-requests + + Let the milter announce when it reject an email based on its address + + Don't Let the milter process the email we send. + + Add a collaborator level to projects + + Allow setting the default git branch when creating projects via the API + + Allow creating mirrored project from the API + + Add the possibility to set the default branch at project creation + + Add API endpoint to set the default git branch and expose it in an existing +endpoint + + Adjust the example configuration for logging to a file + + Allow project-less API token with the "modify_project" ACL to update watchers + + Add a new API endpoint to retrieve a commit's metadata/info + + Add a new API endpoint allowing to delete a project + + Add support for customizing the new issue page + + Introducing the boards feature + + Add an API endpoint to view the content of a git repo + + Port pagure's markdown extension to the new API + + Multiple small fixes for the vagrant-based development environment + + Use WhiteNoise to serve static assets for the Pagure web + + Fix the title of the graph showing the evolution of the number of open tickets +on a project + + Do not assume there is a SMTP_STARTTLS configuration key set + + Bring back JS library used for the heatmap + + Show the ACL name in addition to the description when creating API tokens + + Allow editing the URL a project is mirrored from + + Add comments to the mirror service files for clarifying their purpose. + + Add a dedicated logger for everything that is auth related + + api: fix apidoc format on api_view_issues_history_detailed_stats Fixes web +api doc view template issues + + doc: Add a page documenting known Pagure instances + + starttls support via SMTP_STARTTLS: provide additional documentation. + + Add support for smtp server requiring starttls to work + + Make the stats page use the new stats API endpoint +- Drop patches included in this release + + Patch: 0001-Make-the-stats-page-use-the-new-stats-API-endpoint.patch + + Patch: 0001-Add-support-for-smtp-server-requiring-starttls-to-wo.patch + + Patch: 0002-starttls-support-via-SMTP_STARTTLS-provide-additiona.patch + + Patch: 0001-Do-not-assume-there-is-a-SMTP_STARTTLS-configuration.patch + + Patch: 0001-Fix-repotype-spelling.patch + + Patch: 0001-api-fix-apidoc-format-on-api_view_issues_history_det.patch + + Patch: 0001-Allow-editing-the-URL-a-project-is-mirrored-from.patch + + Patch: 0001-Show-the-ACL-name-in-addition-to-the-description-whe.patch + + Patch: 0001-Bring-back-JS-library-used-for-the-heatmap.patch + + Patch: 0001-Ensure-the-title-name-of-the-headers-are-strings.patch + + Patch: 0001-Fix-the-title-of-the-graph-showing-the-evolution-of-.patch + + Patch: 0001-Make-sure-authorized_keys-file-has-mode-600.patch + + Patch: 0101-Use-WhiteNoise-to-serve-static-assets-for-the-Pagure.patch + +--- Old: 0001-Add-support-for-smtp-server-requiring-starttls-to-wo.patch 0001-Allow-editing-the-URL-a-project-is-mirrored-from.patch 0001-Bring-back-JS-library-used-for-the-heatmap.patch 0001-Do-not-assume-there-is-a-SMTP_STARTTLS-configuration.patch 0001-Ensure-the-title-name-of-the-headers-are-strings.patch 0001-Fix-repotype-spelling.patch 0001-Fix-the-title-of-the-graph-showing-the-evolution-of-.patch 0001-Make-sure-authorized_keys-file-has-mode-600.patch 0001-Make-the-stats-page-use-the-new-stats-API-endpoint.patch 0001-Show-the-ACL-name-in-addition-to-the-description-whe.patch 0001-api-fix-apidoc-format-on-api_view_issues_history_det.patch 0002-starttls-support-via-SMTP_STARTTLS-provide-additiona.patch
commit pagure for openSUSE:Factory
Hello community, here is the log from the commit of package pagure for openSUSE:Factory checked in at 2020-06-22 17:45:45 Comparing /work/SRC/openSUSE:Factory/pagure (Old) and /work/SRC/openSUSE:Factory/.pagure.new.2956 (New) Package is "pagure" Mon Jun 22 17:45:45 2020 rev:16 rq:816227 version:5.10.0 Changes: --- /work/SRC/openSUSE:Factory/pagure/pagure.changes2020-05-23 17:28:51.367591758 +0200 +++ /work/SRC/openSUSE:Factory/.pagure.new.2956/pagure.changes 2020-06-22 17:45:52.641841642 +0200 @@ -1,0 +2,27 @@ +Sun Jun 21 12:57:17 UTC 2020 - Neal Gompa + +- Backport fixes for STARTTLS support + + Patch: 0002-starttls-support-via-SMTP_STARTTLS-provide-additiona.patch + + Patch: 0001-Do-not-assume-there-is-a-SMTP_STARTTLS-configuration.patch +- Backport fix for docs repo access grant + + Patch: 0001-Fix-repotype-spelling.patch +- Backport fix for visual bug on API docs formatting + + Patch: 0001-api-fix-apidoc-format-on-api_view_issues_history_det.patch +- Backport fix to changing pull mirror settings + + Patch: 0001-Allow-editing-the-URL-a-project-is-mirrored-from.patch +- Backport fix to add descriptions to API scopes + + Patch: 0001-Show-the-ACL-name-in-addition-to-the-description-whe.patch +- Backport fix to make heatmap UI functional again + + Patch: 0001-Bring-back-JS-library-used-for-the-heatmap.patch +- Backport fix for handling headers + + Patch: 0001-Ensure-the-title-name-of-the-headers-are-strings.patch +- Backport fix for burndown graph title + + Patch: 0001-Fix-the-title-of-the-graph-showing-the-evolution-of-.patch +- Backport fix for permissions on authorized_keys file + + Patch: 0001-Make-sure-authorized_keys-file-has-mode-600.patch +- Add patch to use whitenoise for rendering static assets + + Patch: 0101-Use-WhiteNoise-to-serve-static-assets-for-the-Pagure.patch +- Refresh default configuration patch + + Patch: pagure-5.0-default-example-cfg.patch + +--- New: 0001-Allow-editing-the-URL-a-project-is-mirrored-from.patch 0001-Bring-back-JS-library-used-for-the-heatmap.patch 0001-Do-not-assume-there-is-a-SMTP_STARTTLS-configuration.patch 0001-Ensure-the-title-name-of-the-headers-are-strings.patch 0001-Fix-repotype-spelling.patch 0001-Fix-the-title-of-the-graph-showing-the-evolution-of-.patch 0001-Make-sure-authorized_keys-file-has-mode-600.patch 0001-Show-the-ACL-name-in-addition-to-the-description-whe.patch 0001-api-fix-apidoc-format-on-api_view_issues_history_det.patch 0002-starttls-support-via-SMTP_STARTTLS-provide-additiona.patch 0101-Use-WhiteNoise-to-serve-static-assets-for-the-Pagure.patch Other differences: -- ++ pagure.spec ++ --- /var/tmp/diff_new_pack.rgAUXT/_old 2020-06-22 17:45:54.421847226 +0200 +++ /var/tmp/diff_new_pack.rgAUXT/_new 2020-06-22 17:45:54.421847226 +0200 @@ -40,11 +40,35 @@ # SUSE-specific README providing a quickstart guide Source10: pagure-README.SUSE + # Backports from upstream ## Backport fix to make stats page work Patch0001: 0001-Make-the-stats-page-use-the-new-stats-API-endpoint.patch ## Backport support for STARTTLS support for SMTP servers Patch0002: 0001-Add-support-for-smtp-server-requiring-starttls-to-wo.patch +Patch0003: 0002-starttls-support-via-SMTP_STARTTLS-provide-additiona.patch +Patch0004: 0001-Do-not-assume-there-is-a-SMTP_STARTTLS-configuration.patch +## Fix access grants for docs repo +Patch0005: 0001-Fix-repotype-spelling.patch +## Fix visual bug on api documentation formatting +Patch0006: 0001-api-fix-apidoc-format-on-api_view_issues_history_det.patch +## Add setting for changing pull mirror source for projects +Patch0007: 0001-Allow-editing-the-URL-a-project-is-mirrored-from.patch +## Add descriptions to API scopes listed at API token creation page +Patch0008: 0001-Show-the-ACL-name-in-addition-to-the-description-whe.patch +## Restore heatmap JS library +Patch0009: 0001-Bring-back-JS-library-used-for-the-heatmap.patch +## Ensure header keys are rendered as strings +Patch0010: 0001-Ensure-the-title-name-of-the-headers-are-strings.patch +## Fix title of burndown graph +Patch0011: 0001-Fix-the-title-of-the-graph-showing-the-evolution-of-.patch +## Fix permissions for generated authorized_keys file +Patch0012: 0001-Make-sure-authorized_keys-file-has-mode-600.patch + +# Changes proposed upstream +## Use whitenoise to render static assets +## From: https://pagure.io/pagure/pull-request/4885 +Patch0101: 0101-Use-WhiteNoise-to-serve-static-assets-for-the-Pagure.patch # SUSE-specific fixes ## Change the defaults in the example config
commit pagure for openSUSE:Factory
Hello community, here is the log from the commit of package pagure for openSUSE:Factory checked in at 2020-05-23 17:27:44 Comparing /work/SRC/openSUSE:Factory/pagure (Old) and /work/SRC/openSUSE:Factory/.pagure.new.2738 (New) Package is "pagure" Sat May 23 17:27:44 2020 rev:15 rq:807849 version:5.10.0 Changes: --- /work/SRC/openSUSE:Factory/pagure/pagure.changes2020-05-19 14:44:37.471575544 +0200 +++ /work/SRC/openSUSE:Factory/.pagure.new.2738/pagure.changes 2020-05-23 17:28:51.367591758 +0200 @@ -1,0 +2,7 @@ +Wed May 20 23:34:26 UTC 2020 - Neal Gompa + +- Fix typo in quickstart on ssh directory mode +- Backport support for STARTTLS support for SMTP servers + + Patch: 0001-Add-support-for-smtp-server-requiring-starttls-to-wo.patch + +--- New: 0001-Add-support-for-smtp-server-requiring-starttls-to-wo.patch Other differences: -- ++ pagure.spec ++ --- /var/tmp/diff_new_pack.0GyiNr/_old 2020-05-23 17:28:52.143593437 +0200 +++ /var/tmp/diff_new_pack.0GyiNr/_new 2020-05-23 17:28:52.147593445 +0200 @@ -43,7 +43,8 @@ # Backports from upstream ## Backport fix to make stats page work Patch0001: 0001-Make-the-stats-page-use-the-new-stats-API-endpoint.patch - +## Backport support for STARTTLS support for SMTP servers +Patch0002: 0001-Add-support-for-smtp-server-requiring-starttls-to-wo.patch # SUSE-specific fixes ## Change the defaults in the example config to match packaging ++ 0001-Add-support-for-smtp-server-requiring-starttls-to-wo.patch ++ >From 4196a3772693a79f1e5db12fa937bcee8280e248 Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Mon, 18 May 2020 15:57:05 +0200 Subject: [PATCH] Add support for smtp server requiring starttls to work Signed-off-by: Pierre-Yves Chibon --- doc/configuration.rst | 27 +++ pagure/lib/notify.py | 14 ++ 2 files changed, 41 insertions(+) diff --git a/doc/configuration.rst b/doc/configuration.rst index 41f29b96..25dee387 100644 --- a/doc/configuration.rst +++ b/doc/configuration.rst @@ -961,6 +961,33 @@ should be secured over SSL. Defaults to: ``False`` +SMTP_STARTTLS +^ + +This configuration key specifies instructs pagure to starts connecting to +the SMTP server via a `starttls` command. + +Defaults to: ``False`` + + +SMTP_KEYFILE + + +This configuration key allows to specify a key file to be used in the +`starttls` command when connecting to the smtp server. + +Defaults to: ``None`` + + +SMTP_CERTFILE + + +This configuration key allows to specify a certificate file to be used in +the `starttls` command when connecting to the smtp server. + +Defaults to: ``None`` + + SMTP_USERNAME ^ diff --git a/pagure/lib/notify.py b/pagure/lib/notify.py index 7670ad15..2c4ee30f 100644 --- a/pagure/lib/notify.py +++ b/pagure/lib/notify.py @@ -505,6 +505,20 @@ def send_email( pagure_config["SMTP_SERVER"], pagure_config["SMTP_PORT"], ) + +if pagure_config["SMTP_STARTTLS"]: +context = ssl.create_default_context() +keyfile = pagure_config.get("SMTP_KEYFILE") or None +certfile = pagure_config.get("SMTP_CERTFILE") or None +respcode, _ = smtp.starttls( +keyfile=keyfile, certfile=certfile, context=context, +) +if respcode != 220: +_log.warning( +"The starttls command did not return the 220 " +"response code expected." +) + if ( pagure_config["SMTP_USERNAME"] and pagure_config["SMTP_PASSWORD"] -- 2.26.1 ++ pagure-README.SUSE ++ --- /var/tmp/diff_new_pack.0GyiNr/_old 2020-05-23 17:28:52.203593567 +0200 +++ /var/tmp/diff_new_pack.0GyiNr/_new 2020-05-23 17:28:52.207593576 +0200 @@ -8,7 +8,7 @@ mkdir -p /srv/gitolite/remotes mkdir -p /srv/gitolite/.gitolite/{conf,keydir,logs} mkdir -p /srv/gitolite/.ssh -chmod 700 /srv/gitolite/.ssh +chmod 750 /srv/gitolite/.ssh touch /srv/gitolite/.gitolite/conf/gitolite.conf
commit pagure for openSUSE:Factory
Hello community, here is the log from the commit of package pagure for openSUSE:Factory checked in at 2020-05-19 14:44:28 Comparing /work/SRC/openSUSE:Factory/pagure (Old) and /work/SRC/openSUSE:Factory/.pagure.new.2738 (New) Package is "pagure" Tue May 19 14:44:28 2020 rev:14 rq:806975 version:5.10.0 Changes: --- /work/SRC/openSUSE:Factory/pagure/pagure.changes2020-04-05 20:54:14.105229620 +0200 +++ /work/SRC/openSUSE:Factory/.pagure.new.2738/pagure.changes 2020-05-19 14:44:37.471575544 +0200 @@ -1,0 +2,51 @@ +Mon May 18 13:31:41 UTC 2020 - Neal Gompa + +- Backport fix from upstream to fix stats page + + Patch: 0001-Make-the-stats-page-use-the-new-stats-API-endpoint.patch +- Add missing step to start pagure web services for nginx setup in quickstart +- Fix directory mode for ssh directory to fix conflict with gitolite + +--- +Fri May 15 01:05:30 UTC 2020 - Neal Gompa + +- Update to 5.10.0 + + Allow viewing issues via the API using project-less API token + + Various improvements to the srcfpo theme + + Make pagure work with recent sqlalchemy versions (>= 1.3.0) + + Add a new API endpoint to retrieve detailed stats about the issues + + Improve the graphs displayed in the stats tab of each projects + + Add a new graph tracking the number of open issues throughout the year + + Improve loading tickets from git + + Support pygit2 >= 1.1.0 + + Add missing endpoints to the API documentation + + Add support for wtforms >= 2.3 +- Add dependency on email_validator in such case + + Fix sorting users by their username when using python3 + + Correct the API documentation for updating the watchers of a project + + Ensure the name of the headers are always of the correct type +(especially when using python3) + + Ensure aclchecker and keyhelper can work with APP_URL having a trailing slash + + Add a new git auth backend which can manage the .ssh/authorized_keys file +directly + + Update information about supported Git auth backends + + Add support for arrow >= 0.15.6 + + Fix getting the milter running with python3 + + Fix mirroring project hosted remotely + + Add url_path property to class User (and thus in the API) + + Improve email text for new user registration + + Set the USER environment variable when pushing over http + + Add support for git push via http using basic auth relying on API token + + If pagure is set up for local auth, allow git push via https to use it + + Add an example nginx configuration file for pagure + + Create two subpackages in the pagure for the apache and nginx configuration +files + + Add some documentation on how git push over http works in pagure + + Make pagure compatible with the latest version of flake8 + + Add PAGURE_PLUGINS_CONFIG setting in pagure configuration file +- Refresh quick start instructions for new configuration options +- Drop unneeded patch + + Patch: 0501-Revert-Add-a-upper-limit-to-sqlalchemy.patch +- Refresh default configuration patch + + Patch: pagure-5.0-default-example-cfg.patch + +--- Old: 0501-Revert-Add-a-upper-limit-to-sqlalchemy.patch pagure-5.9.1.tar.gz New: 0001-Make-the-stats-page-use-the-new-stats-API-endpoint.patch pagure-5.10.0.tar.gz Other differences: -- ++ pagure.spec ++ --- /var/tmp/diff_new_pack.YaKKTL/_old 2020-05-19 14:44:38.999578809 +0200 +++ /var/tmp/diff_new_pack.YaKKTL/_new 2020-05-19 14:44:39.003578818 +0200 @@ -23,7 +23,7 @@ Name: pagure -Version:5.9.1 +Version:5.10.0 Release:0 Summary:A git-centered forge Group: Development/Tools/Version Control @@ -41,10 +41,9 @@ Source10: pagure-README.SUSE # Backports from upstream +## Backport fix to make stats page work +Patch0001: 0001-Make-the-stats-page-use-the-new-stats-API-endpoint.patch -# Not yet upstreamable patches -## Allow Pagure to use SQLAlchemy >= 1.3.0 -Patch0501: 0501-Revert-Add-a-upper-limit-to-sqlalchemy.patch # SUSE-specific fixes ## Change the defaults in the example config to match packaging @@ -54,6 +53,7 @@ BuildRequires: apache2 +BuildRequires: nginx BuildRequires: fdupes BuildRequires: systemd-rpm-macros BuildRequires: python3-devel @@ -68,6 +68,7 @@ BuildRequires: python3-chardet BuildRequires: python3-cryptography BuildRequires: python3-docutils +BuildRequires: python3-email_validator BuildRequires: python3-Flask BuildRequires: python3-Flask-WTF BuildRequires: python3-Markdown @@ -98,6 +99,7 @@ Requires:
commit pagure for openSUSE:Factory
Hello community, here is the log from the commit of package pagure for openSUSE:Factory checked in at 2020-04-05 20:54:10 Comparing /work/SRC/openSUSE:Factory/pagure (Old) and /work/SRC/openSUSE:Factory/.pagure.new.3248 (New) Package is "pagure" Sun Apr 5 20:54:10 2020 rev:13 rq:791384 version:5.9.1 Changes: --- /work/SRC/openSUSE:Factory/pagure/pagure.changes2020-03-25 23:51:26.904002268 +0100 +++ /work/SRC/openSUSE:Factory/.pagure.new.3248/pagure.changes 2020-04-05 20:54:14.105229620 +0200 @@ -1,0 +2,10 @@ +Sat Apr 4 16:03:40 UTC 2020 - Neal Gompa + +- Update to 5.9.1 + + Add a missing div tag that broke the user's settings page + + Do not block when waiting for subprocess to finish + + Fix git blame when the identifier provided is a blob + + Fix view_commits when the identified provided is a blob + + When viewing file's history, use the default branch if needed + +--- Old: pagure-5.9.0.tar.gz New: pagure-5.9.1.tar.gz Other differences: -- ++ pagure.spec ++ --- /var/tmp/diff_new_pack.t5n7vQ/_old 2020-04-05 20:54:15.061230645 +0200 +++ /var/tmp/diff_new_pack.t5n7vQ/_new 2020-04-05 20:54:15.069230654 +0200 @@ -23,7 +23,7 @@ Name: pagure -Version:5.9.0 +Version:5.9.1 Release:0 Summary:A git-centered forge Group: Development/Tools/Version Control ++ pagure-5.9.0.tar.gz -> pagure-5.9.1.tar.gz ++ /work/SRC/openSUSE:Factory/pagure/pagure-5.9.0.tar.gz /work/SRC/openSUSE:Factory/.pagure.new.3248/pagure-5.9.1.tar.gz differ: char 5, line 1
commit pagure for openSUSE:Factory
Hello community, here is the log from the commit of package pagure for openSUSE:Factory checked in at 2020-03-25 23:50:09 Comparing /work/SRC/openSUSE:Factory/pagure (Old) and /work/SRC/openSUSE:Factory/.pagure.new.3160 (New) Package is "pagure" Wed Mar 25 23:50:09 2020 rev:12 rq:788347 version:5.9.0 Changes: --- /work/SRC/openSUSE:Factory/pagure/pagure.changes2019-12-03 12:43:08.166120222 +0100 +++ /work/SRC/openSUSE:Factory/.pagure.new.3160/pagure.changes 2020-03-25 23:51:26.904002268 +0100 @@ -1,0 +2,34 @@ +Wed Mar 25 20:34:56 UTC 2020 - Neal Gompa + +- Update to 5.9.0 + + Add API to manage plugins (ie: git hooks) + + Fix querying mdapi from within the srcfpo theme + + Various fixes for the srcfpo theme + + Multiple fixes and improvements to the API endpoints to retrieve the tags +used in a project + + Add new API endpoints to manipulate tags in projects + + Add a new API endpoint to edit/update an existing issue/ticket + + Add a new page to see a file's history in git (linked from the file's view page +and the blame page) + + Only consider the 6 most recently active branch in the drop-down to create +new PR + + Fix the view_commit endpoint when the identifier provided is a git tag + + Add an endpoint to renew user API token + + Include a link to where the token can be renewed in the email about API +token nearing expiration + + Allow users to set their own expiration date on API token (up to 2 years) + + Fix the /groups API endpoint and order the output by group name + + Add a new API endpoint to retrieve a project's webhook token + + Expose related_prs on issue API + + Fix the regenerate-repo actions + + Provide some feedback to the user when changing monitoring worked + + Hide the SSH clone URL if the user is not in one of the group with ssh +access + + Order pull requests based on updated_on column when we want to order based +on last updated time + + Fix taking into account the blacklisted patterns + + Rework/fix the API documentation page + + Allow deploy keys to commit to the doc git repository of a project + + Increase a lot the logging when someone asks for access to a git repo + +--- Old: pagure-5.8.1.tar.gz New: pagure-5.9.0.tar.gz Other differences: -- ++ pagure.spec ++ --- /var/tmp/diff_new_pack.q8EnTc/_old 2020-03-25 23:51:29.184001665 +0100 +++ /var/tmp/diff_new_pack.q8EnTc/_new 2020-03-25 23:51:29.184001665 +0100 @@ -1,7 +1,7 @@ # # spec file for package pagure # -# Copyright (c) 2019 Neal Gompa . +# Copyright (c) 2020 Neal Gompa . # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -23,7 +23,7 @@ Name: pagure -Version:5.8.1 +Version:5.9.0 Release:0 Summary:A git-centered forge Group: Development/Tools/Version Control ++ pagure-5.8.1.tar.gz -> pagure-5.9.0.tar.gz ++ /work/SRC/openSUSE:Factory/pagure/pagure-5.8.1.tar.gz /work/SRC/openSUSE:Factory/.pagure.new.3160/pagure-5.9.0.tar.gz differ: char 5, line 1
commit pagure for openSUSE:Factory
Hello community, here is the log from the commit of package pagure for openSUSE:Factory checked in at 2019-12-03 12:42:40 Comparing /work/SRC/openSUSE:Factory/pagure (Old) and /work/SRC/openSUSE:Factory/.pagure.new.4691 (New) Package is "pagure" Tue Dec 3 12:42:40 2019 rev:11 rq:753050 version:5.8.1 Changes: --- /work/SRC/openSUSE:Factory/pagure/pagure.changes2019-11-17 19:23:25.758859028 +0100 +++ /work/SRC/openSUSE:Factory/.pagure.new.4691/pagure.changes 2019-12-03 12:43:08.166120222 +0100 @@ -1,0 +2,9 @@ +Mon Dec 2 20:32:39 UTC 2019 - Neal Gompa + +- Update to 5.8.1 + + Fix the link to the container namespace in srcfpo + + Fix checking if the user is a committer of the repo the PR originates from + + Fix showing the origin of the PR when it originates from the same project + + Do not hard-code UTF-8 when showing a file + +--- Old: pagure-5.8.tar.gz New: pagure-5.8.1.tar.gz Other differences: -- ++ pagure.spec ++ --- /var/tmp/diff_new_pack.TWR0Jm/_old 2019-12-03 12:43:10.294119632 +0100 +++ /var/tmp/diff_new_pack.TWR0Jm/_new 2019-12-03 12:43:10.298119631 +0100 @@ -23,7 +23,7 @@ Name: pagure -Version:5.8 +Version:5.8.1 Release:0 Summary:A git-centered forge Group: Development/Tools/Version Control ++ pagure-5.8.tar.gz -> pagure-5.8.1.tar.gz ++ /work/SRC/openSUSE:Factory/pagure/pagure-5.8.tar.gz /work/SRC/openSUSE:Factory/.pagure.new.4691/pagure-5.8.1.tar.gz differ: char 5, line 1
commit pagure for openSUSE:Factory
Hello community, here is the log from the commit of package pagure for openSUSE:Factory checked in at 2019-11-17 19:23:21 Comparing /work/SRC/openSUSE:Factory/pagure (Old) and /work/SRC/openSUSE:Factory/.pagure.new.26869 (New) Package is "pagure" Sun Nov 17 19:23:21 2019 rev:10 rq:749089 version:5.8 Changes: --- /work/SRC/openSUSE:Factory/pagure/pagure.changes2019-08-13 13:22:20.345401416 +0200 +++ /work/SRC/openSUSE:Factory/.pagure.new.26869/pagure.changes 2019-11-17 19:23:25.758859028 +0100 @@ -1,0 +2,31 @@ +Sat Nov 16 22:46:39 UTC 2019 - Neal Gompa + +- Update to 5.8 + + Enable the ctrl-enter keys to submit forms on tickets and PRs + + Fix spelling errors on documentation + + Fix renewing url on invalid token error message + + Various fixes to the srcfpo theme + + disable smooth scrolling on initial highlight & scroll process + + Accept a with_commits parameter on the branches api to resolve the HEAD commits + + Various fixes to the PR view + + Add support for arrow >= 0.15 + + Select full text on git|ssh url input boxes when they get focus + + Send notification when a branch is created + + Add revision along with tag/branch creation/deletion + + Add asciidoc syntax override + + Fix git blame on unborn HEAD or non-master default branch repos + + Fix the logic to rebase PRs + + Fix setting one's default email address + + Send oldrev as old_commit for git.receive event + + Add a set-default-branch action to pagure-admin + + Fix rendering badges on the PR list page + + Tweak when we show the merge and the rebase buttons + + Fix the logic around interacting with read-only databases in hooks + + Fix .diff and .patch generation for empty commits + + Fix url on the invalid token error message + + Fix typo on the pull request merge error message + + Allow cross-project API token to open pull-request + + Allow updating PRs via the API using cross-project tokens + + Fix the logic to make the merge button appear on pull-request + +--- Old: pagure-5.7.4.tar.gz New: pagure-5.8.tar.gz Other differences: -- ++ pagure.spec ++ --- /var/tmp/diff_new_pack.D1DvOL/_old 2019-11-17 19:23:27.018858493 +0100 +++ /var/tmp/diff_new_pack.D1DvOL/_new 2019-11-17 19:23:27.034858486 +0100 @@ -23,7 +23,7 @@ Name: pagure -Version:5.7.4 +Version:5.8 Release:0 Summary:A git-centered forge Group: Development/Tools/Version Control ++ pagure-5.7.4.tar.gz -> pagure-5.8.tar.gz ++ /work/SRC/openSUSE:Factory/pagure/pagure-5.7.4.tar.gz /work/SRC/openSUSE:Factory/.pagure.new.26869/pagure-5.8.tar.gz differ: char 5, line 1
commit pagure for openSUSE:Factory
Hello community, here is the log from the commit of package pagure for openSUSE:Factory checked in at 2019-08-13 13:21:11 Comparing /work/SRC/openSUSE:Factory/pagure (Old) and /work/SRC/openSUSE:Factory/.pagure.new.9556 (New) Package is "pagure" Tue Aug 13 13:21:11 2019 rev:9 rq:722326 version:5.7.4 Changes: --- /work/SRC/openSUSE:Factory/pagure/pagure.changes2019-04-09 20:19:28.289906673 +0200 +++ /work/SRC/openSUSE:Factory/.pagure.new.9556/pagure.changes 2019-08-13 13:22:20.345401416 +0200 @@ -1,0 +2,12 @@ +Sun Aug 11 14:49:11 UTC 2019 - Neal Gompa + +- Update to 5.7.4 + + Add more administrative functions to pagure_admin + + Add CSP headers support and a mechanism to customize them + + Do not allow rebase via the API if the PR does not allow it + + Allow project-less API token to retrieve issues via the API + + Improve the support for spec file highlighting +- Drop patch that is part of this release + + 0001-Couple-of-fixes-for-the-mirroring-in-feature.patch + +--- Old: 0001-Couple-of-fixes-for-the-mirroring-in-feature.patch pagure-5.5.tar.gz New: pagure-5.7.4.tar.gz Other differences: -- ++ pagure.spec ++ --- /var/tmp/diff_new_pack.6U5gDk/_old 2019-08-13 13:22:21.285401169 +0200 +++ /var/tmp/diff_new_pack.6U5gDk/_new 2019-08-13 13:22:21.289401168 +0200 @@ -23,7 +23,7 @@ Name: pagure -Version:5.5 +Version:5.7.4 Release:0 Summary:A git-centered forge Group: Development/Tools/Version Control @@ -41,8 +41,6 @@ Source10: pagure-README.SUSE # Backports from upstream -## Fix pull mirror service functionality -Patch0001: 0001-Couple-of-fixes-for-the-mirroring-in-feature.patch # Not yet upstreamable patches ## Allow Pagure to use SQLAlchemy >= 1.3.0 ++ pagure-5.5.tar.gz -> pagure-5.7.4.tar.gz ++ /work/SRC/openSUSE:Factory/pagure/pagure-5.5.tar.gz /work/SRC/openSUSE:Factory/.pagure.new.9556/pagure-5.7.4.tar.gz differ: char 5, line 1
commit pagure for openSUSE:Factory
Hello community, here is the log from the commit of package pagure for openSUSE:Factory checked in at 2019-04-09 20:19:26 Comparing /work/SRC/openSUSE:Factory/pagure (Old) and /work/SRC/openSUSE:Factory/.pagure.new.3908 (New) Package is "pagure" Tue Apr 9 20:19:26 2019 rev:8 rq:692603 version:5.5 Changes: --- /work/SRC/openSUSE:Factory/pagure/pagure.changes2019-04-01 12:38:20.453914009 +0200 +++ /work/SRC/openSUSE:Factory/.pagure.new.3908/pagure.changes 2019-04-09 20:19:28.289906673 +0200 @@ -1,0 +2,16 @@ +Tue Apr 9 12:52:31 UTC 2019 - Neal Gompa + +- Update to 5.5 + + Add support for !owner to the API listing projects + + Make sure that TemporaryClone.push also pushes tags + + Various UI improvements + + Allow blocking an user on a project + + Replace calls to pygit2.clone_repository by calls to git clone directly + + Make fork more performant by using 'git push --mirror' + + Use the user's default email when rebasing +- Drop patch that is part of this release + + 0001-pagure-ev-python-3-compatibility.patch +- Backport fix for pull mirroring service + + 0001-Couple-of-fixes-for-the-mirroring-in-feature.patch + +--- Old: 0001-pagure-ev-python-3-compatibility.patch pagure-5.4.tar.gz New: 0001-Couple-of-fixes-for-the-mirroring-in-feature.patch pagure-5.5.tar.gz Other differences: -- ++ pagure.spec ++ --- /var/tmp/diff_new_pack.vCbkTi/_old 2019-04-09 20:19:29.669908554 +0200 +++ /var/tmp/diff_new_pack.vCbkTi/_new 2019-04-09 20:19:29.673908560 +0200 @@ -23,7 +23,7 @@ Name: pagure -Version:5.4 +Version:5.5 Release:0 Summary:A git-centered forge Group: Development/Tools/Version Control @@ -41,8 +41,8 @@ Source10: pagure-README.SUSE # Backports from upstream -## Fix for pagure-ev issues in Python 3 -Patch0001: 0001-pagure-ev-python-3-compatibility.patch +## Fix pull mirror service functionality +Patch0001: 0001-Couple-of-fixes-for-the-mirroring-in-feature.patch # Not yet upstreamable patches ## Allow Pagure to use SQLAlchemy >= 1.3.0 ++ 0001-Couple-of-fixes-for-the-mirroring-in-feature.patch ++ >From cea8e24f3eb1280c88230981ef624d0f0b9e638c Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Mon, 8 Apr 2019 11:57:21 +0200 Subject: [PATCH] Couple of fixes for the mirroring-in feature This commit does a couple of fixes in the code used for the mirroring-in feature. It ensures any exception thrown by pagure.lib.git.mirror_pull_project are caught and properly logged. Otherwise, the script dies in the middle of the processing. It also checks that there is a remote before doing anything and if there is no remote, it just bails. Signed-off-by: Pierre-Yves Chibon --- files/mirror_project_in.py | 5 - pagure/lib/git.py | 3 +++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/files/mirror_project_in.py b/files/mirror_project_in.py index cfca629b..ba04f2fc 100644 --- a/files/mirror_project_in.py +++ b/files/mirror_project_in.py @@ -34,7 +34,10 @@ def main(check=False, debug=False): for project in projects: if debug: print("Mirrorring %s" % project.fullname) -pagure.lib.git.mirror_pull_project(session, project, debug=debug) +try: +pagure.lib.git.mirror_pull_project(session, project, debug=debug) +except Exception as err: +print("ERROR: %s" % err) session.remove() if debug: diff --git a/pagure/lib/git.py b/pagure/lib/git.py index 31253c11..c0e6d023 100644 --- a/pagure/lib/git.py +++ b/pagure/lib/git.py @@ -2846,6 +2846,9 @@ def generate_archive(project, commit, tag, name, archive_fmt): def mirror_pull_project(session, project, debug=False): """ Mirror locally a project from a remote URL. """ remote = project.mirrored_from +if not remote: +_log.info("No remote found, ignoring") +return repopath = tempfile.mkdtemp(prefix="pagure-mirror_in-") lclrepopath = pagure.utils.get_repo_path(project) -- 2.20.1 ++ pagure-5.4.tar.gz -> pagure-5.5.tar.gz ++ /work/SRC/openSUSE:Factory/pagure/pagure-5.4.tar.gz /work/SRC/openSUSE:Factory/.pagure.new.3908/pagure-5.5.tar.gz differ: char 5, line 1
commit pagure for openSUSE:Factory
Hello community, here is the log from the commit of package pagure for openSUSE:Factory checked in at 2019-04-01 12:38:16 Comparing /work/SRC/openSUSE:Factory/pagure (Old) and /work/SRC/openSUSE:Factory/.pagure.new.25356 (New) Package is "pagure" Mon Apr 1 12:38:16 2019 rev:7 rq:689885 version:5.4 Changes: --- /work/SRC/openSUSE:Factory/pagure/pagure.changes2019-02-24 17:20:37.348394739 +0100 +++ /work/SRC/openSUSE:Factory/.pagure.new.25356/pagure.changes 2019-04-01 12:38:20.453914009 +0200 @@ -1,0 +2,22 @@ +Fri Mar 29 13:50:54 UTC 2019 - Neal Gompa + +- Update to 5.4 + + Allow by default the ACL "pull_request_create" on project-less API token + + Implement Pagure Git Auth + + Add a new API endpoint allowing to update an existing PR + + If the user doesn't have a valid ssh key inform but let them log in + + Fix various UI issues + + Add a button to take/drop a pull-request + + Add a new API endpoint to assign pull-request to someone + + Allow dots and plus signs in project names + + Fix seeing releases when the reference provided returned a commit + + Include the PR tags in their JSON representation + + Ensure that forking does not run the hook + + Deprecate fedmsg for fedora-messaging +- Backport fix for pagure-ev issues in Python 3 + + Patch: 0001-pagure-ev-python-3-compatibility.patch +- Add patch to allow SQLAlchemy 1.3.0+ with Pagure + + Patch: 0501-Revert-Add-a-upper-limit-to-sqlalchemy.patch +- Update the service list to enable and start in README.SUSE + +--- Old: pagure-5.3.tar.gz New: 0001-pagure-ev-python-3-compatibility.patch 0501-Revert-Add-a-upper-limit-to-sqlalchemy.patch pagure-5.4.tar.gz Other differences: -- ++ pagure.spec ++ --- /var/tmp/diff_new_pack.8odsuA/_old 2019-04-01 12:38:22.193914847 +0200 +++ /var/tmp/diff_new_pack.8odsuA/_new 2019-04-01 12:38:22.193914847 +0200 @@ -23,7 +23,7 @@ Name: pagure -Version:5.3 +Version:5.4 Release:0 Summary:A git-centered forge Group: Development/Tools/Version Control @@ -40,8 +40,16 @@ # SUSE-specific README providing a quickstart guide Source10: pagure-README.SUSE +# Backports from upstream +## Fix for pagure-ev issues in Python 3 +Patch0001: 0001-pagure-ev-python-3-compatibility.patch + +# Not yet upstreamable patches +## Allow Pagure to use SQLAlchemy >= 1.3.0 +Patch0501: 0501-Revert-Add-a-upper-limit-to-sqlalchemy.patch + # SUSE-specific fixes -# Change the defaults in the example config to match packaging +## Change the defaults in the example config to match packaging Patch1000: pagure-5.0-default-example-cfg.patch BuildArch: noarch @@ -130,6 +138,9 @@ %{?systemd_requires} +# We use the git tools for some actions due to deficiencies in libgit2 and pygit2 +Requires: git-core + # No dependency of the app per se, but required to make it working. OrderWithRequires: gitolite >= 3.0 Requires(pre): gitolite >= 3.0 ++ 0001-pagure-ev-python-3-compatibility.patch ++ >From 47a9abb72e96fac3b03ecefb021a4ec1e8fc95f3 Mon Sep 17 00:00:00 2001 From: Julen Landa Alustiza Date: Thu, 14 Mar 2019 12:56:06 +0100 Subject: [PATCH] pagure-ev: python 3 compatibility --- pagure-ev/pagure_stream_server.py | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/pagure-ev/pagure_stream_server.py b/pagure-ev/pagure_stream_server.py index 0e4a99a1..4439c917 100644 --- a/pagure-ev/pagure_stream_server.py +++ b/pagure-ev/pagure_stream_server.py @@ -26,7 +26,7 @@ import os import redis -from trololio import asyncio as trololio +import trololio from six.moves.urllib.parse import urlparse @@ -137,7 +137,7 @@ def handle_client(client_reader, client_writer): data = None while True: # give client a chance to respond, timeout after 10 seconds -line = yield trololio.From(trololio.wait_for( +line = yield trololio.From(trololio.asyncio.wait_for( client_reader.readline(), timeout=10.0)) if not line.decode().strip(): @@ -199,7 +199,7 @@ def handle_client(client_reader, client_writer): oncall = 0 oncall += 1 yield trololio.From(client_writer.drain()) -yield trololio.From(trololio.sleep(1)) +yield trololio.From(trololio.asyncio.sleep(1)) else: log.info("Sending %s", msg['data']) client_writer.write(('data: %s\n\n' % msg['data']).encode()) @@ -243,8 +243,8 @@ def main(): _get_session() try: -loop =
commit pagure for openSUSE:Factory
Hello community, here is the log from the commit of package pagure for openSUSE:Factory checked in at 2019-02-24 17:20:28 Comparing /work/SRC/openSUSE:Factory/pagure (Old) and /work/SRC/openSUSE:Factory/.pagure.new.28833 (New) Package is "pagure" Sun Feb 24 17:20:28 2019 rev:6 rq:678250 version:5.3 Changes: --- /work/SRC/openSUSE:Factory/pagure/pagure.changes2019-01-21 10:55:17.655660710 +0100 +++ /work/SRC/openSUSE:Factory/.pagure.new.28833/pagure.changes 2019-02-24 17:20:37.348394739 +0100 @@ -1,0 +2,14 @@ +Fri Feb 22 15:16:39 UTC 2019 - Neal Gompa + +- Update to 5.3 + + Add support for AMQP via fedora-messaging + + Improve filtering and searching through issues and PRs + + Add support for forcing highlight types based on file extensions + + Fix naming rules for labels/tags + + Fix support for repoSpanner Git storage backend + + CVE-2019-7628: Do not leak partial API keys in key expiration emails (boo#1124762) +- Drop patches that are part of this release + + 0001-Allow-using-Pagure-with-python-redis-3.0.0.patch + + 0002-Fix-Markdown-usage-to-work-with-Markdown-3.0.patch + +--- Old: 0001-Allow-using-Pagure-with-python-redis-3.0.0.patch 0002-Fix-Markdown-usage-to-work-with-Markdown-3.0.patch pagure-5.2.tar.gz New: pagure-5.3.tar.gz Other differences: -- ++ pagure.spec ++ --- /var/tmp/diff_new_pack.7vOYqz/_old 2019-02-24 17:20:38.608394515 +0100 +++ /var/tmp/diff_new_pack.7vOYqz/_new 2019-02-24 17:20:38.612394514 +0100 @@ -23,7 +23,7 @@ Name: pagure -Version:5.2 +Version:5.3 Release:0 Summary:A git-centered forge Group: Development/Tools/Version Control @@ -40,14 +40,6 @@ # SUSE-specific README providing a quickstart guide Source10: pagure-README.SUSE -# Backports from upstream -# Allow Pagure to work with python-redis >= 3.0.0 -# From: https://pagure.io/pagure/c/2b1a46a3b97af49938d4d4f0d08354e5950aaf86 -Patch0001: 0001-Allow-using-Pagure-with-python-redis-3.0.0.patch -# Fix Pagure to work with Markdown >= 3.0 -# From: https://pagure.io/pagure/c/f5f4b297b2cee938e7e13064c7e55ef7c6426bfd -Patch0002: 0002-Fix-Markdown-usage-to-work-with-Markdown-3.0.patch - # SUSE-specific fixes # Change the defaults in the example config to match packaging Patch1000: pagure-5.0-default-example-cfg.patch ++ pagure-5.2.tar.gz -> pagure-5.3.tar.gz ++ /work/SRC/openSUSE:Factory/pagure/pagure-5.2.tar.gz /work/SRC/openSUSE:Factory/.pagure.new.28833/pagure-5.3.tar.gz differ: char 5, line 1
commit pagure for openSUSE:Factory
Hello community, here is the log from the commit of package pagure for openSUSE:Factory checked in at 2019-01-21 10:55:11 Comparing /work/SRC/openSUSE:Factory/pagure (Old) and /work/SRC/openSUSE:Factory/.pagure.new.28833 (New) Package is "pagure" Mon Jan 21 10:55:11 2019 rev:5 rq:666143 version:5.2 Changes: --- /work/SRC/openSUSE:Factory/pagure/pagure.changes2018-12-14 20:56:55.960760385 +0100 +++ /work/SRC/openSUSE:Factory/.pagure.new.28833/pagure.changes 2019-01-21 10:55:17.655660710 +0100 @@ -1,0 +2,32 @@ +Sat Jan 12 23:44:52 UTC 2019 - Jan Engelhardt + +- Replace old $RPM_* shell vars. + +--- +Thu Jan 10 13:01:50 UTC 2019 - Neal Gompa + +- Update to 5.2 + + Add support for the MQTT protocol + + Add support for mirroring in git repositories from outside sources + + Add support to merge a PR when the fork was deleted + + Add the ability to generate archive from a commit or tag + + Allow searching the content of the comments on an issue tracker + + Allow filtering the issue list by the close status + + Show related PRs on the issue list if there are any + + Add build status to pull requests page + + Add new API endpoints for get and set project options + + Add WIP/experimental/unstable support for third-party extensions to pagure + + Add support for rebasing pull-requests + + Implement a button to rerun CI tests on a pull request + + Support disallowing remote pull requests + + Add an about page in the themes + + Update the chameleon theme +- Backport fix from master to allow using python-redis >= 3.0.0 + + Patch: 0001-Allow-using-Pagure-with-python-redis-3.0.0.patch +- Backport fix from master to fix compatibility with Markdown 3.0+ + + Patch: 0002-Fix-Markdown-usage-to-work-with-Markdown-3.0.patch +- Drop patches that are part of this release + + 0001-Port-pagure-to-markdown-3.0-while-remaining-backward.patch + + 0002-Bypass-old-hooks-rather-than-using-non-existing-syml.patch + +--- Old: 0001-Port-pagure-to-markdown-3.0-while-remaining-backward.patch 0002-Bypass-old-hooks-rather-than-using-non-existing-syml.patch pagure-5.1.4.tar.gz New: 0001-Allow-using-Pagure-with-python-redis-3.0.0.patch 0002-Fix-Markdown-usage-to-work-with-Markdown-3.0.patch pagure-5.2.tar.gz Other differences: -- ++ pagure.spec ++ --- /var/tmp/diff_new_pack.RcjbIq/_old 2019-01-21 10:55:18.823659305 +0100 +++ /var/tmp/diff_new_pack.RcjbIq/_new 2019-01-21 10:55:18.823659305 +0100 @@ -1,7 +1,7 @@ # # spec file for package pagure # -# Copyright (c) 2018 Neal Gompa . +# Copyright (c) 2019 Neal Gompa . # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -23,7 +23,7 @@ Name: pagure -Version:5.1.4 +Version:5.2 Release:0 Summary:A git-centered forge Group: Development/Tools/Version Control @@ -41,12 +41,12 @@ Source10: pagure-README.SUSE # Backports from upstream -# Port pfmarkdown to Markdown v3 while remaining v2 compatible -# From: https://pagure.io/pagure/c/8ed43b1f9581fd81a29cb2902baf92a80d19bfb8 -Patch0001: 0001-Port-pagure-to-markdown-3.0-while-remaining-backward.patch -# Avoid the need for non-existent symlinks to trigger migration to new hooks -# From: https://pagure.io/pagure/c/4937c4e266b2d1a2583b793128f87c66c96a7d5e -Patch0002: 0002-Bypass-old-hooks-rather-than-using-non-existing-syml.patch +# Allow Pagure to work with python-redis >= 3.0.0 +# From: https://pagure.io/pagure/c/2b1a46a3b97af49938d4d4f0d08354e5950aaf86 +Patch0001: 0001-Allow-using-Pagure-with-python-redis-3.0.0.patch +# Fix Pagure to work with Markdown >= 3.0 +# From: https://pagure.io/pagure/c/f5f4b297b2cee938e7e13064c7e55ef7c6426bfd +Patch0002: 0002-Fix-Markdown-usage-to-work-with-Markdown-3.0.patch # SUSE-specific fixes # Change the defaults in the example config to match packaging @@ -76,13 +76,12 @@ BuildRequires: python3-nose BuildRequires: python3-Pillow BuildRequires: python3-psutil -BuildRequires: python3-pygit2 >= 0.24.0 -BuildRequires: python3-Pygments +BuildRequires: python3-pygit2 >= 0.26.0 #BuildRequires: python3-fedora-flask BuildRequires: python3-python3-openid BuildRequires: python3-python-openid-cla BuildRequires: python3-python-openid-teams -BuildRequires: python3-SQLAlchemy > 0.8 +BuildRequires: python3-SQLAlchemy >= 0.8 BuildRequires: python3-straight-plugin BuildRequires:
commit pagure for openSUSE:Factory
Hello community, here is the log from the commit of package pagure for openSUSE:Factory checked in at 2018-12-14 20:54:23 Comparing /work/SRC/openSUSE:Factory/pagure (Old) and /work/SRC/openSUSE:Factory/.pagure.new.28833 (New) Package is "pagure" Fri Dec 14 20:54:23 2018 rev:4 rq:657847 version:5.1.4 Changes: --- /work/SRC/openSUSE:Factory/pagure/pagure.changes2018-10-15 09:40:08.50718 +0200 +++ /work/SRC/openSUSE:Factory/.pagure.new.28833/pagure.changes 2018-12-14 20:56:55.960760385 +0100 @@ -1,0 +2,14 @@ +Thu Dec 13 14:43:19 UTC 2018 - Neal Gompa + +- Update to 5.1.4 + + Fix the alembic migration creating the hook_mirror table + + Close the DB session in one place for all hooks + + Add more logging to the pagure_logcom service + + Configure SMTP info for git_multimail + + Use the PR UID previously read from environment +- Backport fix from master to add compatibility with Markdown 3.0+ + + Patch: 0001-Port-pagure-to-markdown-3.0-while-remaining-backward.patch +- Backport fix from master to properly skip legacy hooks + + Patch: 0002-Bypass-old-hooks-rather-than-using-non-existing-syml.patch + +--- Old: pagure-5.1.3.tar.gz New: 0001-Port-pagure-to-markdown-3.0-while-remaining-backward.patch 0002-Bypass-old-hooks-rather-than-using-non-existing-syml.patch pagure-5.1.4.tar.gz Other differences: -- ++ pagure.spec ++ --- /var/tmp/diff_new_pack.qQx15M/_old 2018-12-14 20:56:56.960759143 +0100 +++ /var/tmp/diff_new_pack.qQx15M/_new 2018-12-14 20:56:56.964759138 +0100 @@ -23,7 +23,7 @@ Name: pagure -Version:5.1.3 +Version:5.1.4 Release:0 Summary:A git-centered forge Group: Development/Tools/Version Control @@ -40,6 +40,13 @@ # SUSE-specific README providing a quickstart guide Source10: pagure-README.SUSE +# Backports from upstream +# Port pfmarkdown to Markdown v3 while remaining v2 compatible +# From: https://pagure.io/pagure/c/8ed43b1f9581fd81a29cb2902baf92a80d19bfb8 +Patch0001: 0001-Port-pagure-to-markdown-3.0-while-remaining-backward.patch +# Avoid the need for non-existent symlinks to trigger migration to new hooks +# From: https://pagure.io/pagure/c/4937c4e266b2d1a2583b793128f87c66c96a7d5e +Patch0002: 0002-Bypass-old-hooks-rather-than-using-non-existing-syml.patch # SUSE-specific fixes # Change the defaults in the example config to match packaging @@ -65,8 +72,7 @@ BuildRequires: python3-docutils BuildRequires: python3-Flask BuildRequires: python3-Flask-WTF -# Pagure is currently not compatible with Markdown v3 -BuildRequires: python3-Markdown < 3 +BuildRequires: python3-Markdown BuildRequires: python3-nose BuildRequires: python3-Pillow BuildRequires: python3-psutil @@ -97,8 +103,7 @@ Requires: python3-docutils Requires: python3-Flask Requires: python3-Flask-WTF -# Pagure is currently not compatible with Markdown v3 -Requires: python3-Markdown < 3 +Requires: python3-Markdown Requires: python3-Pillow Requires: python3-psutil Requires: python3-pygit2 >= 0.24.0 ++ 0001-Port-pagure-to-markdown-3.0-while-remaining-backward.patch ++ >From 8ed43b1f9581fd81a29cb2902baf92a80d19bfb8 Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Wed, 12 Dec 2018 14:50:48 +0100 Subject: [PATCH] Port pagure to markdown 3.0+ while remaining backward compatible Lift the restriction in the requirements.txt Fixes https://pagure.io/pagure/issue/3668 Signed-off-by: Pierre-Yves Chibon --- pagure/pfmarkdown.py | 26 ++ requirements.txt | 2 +- 2 files changed, 23 insertions(+), 5 deletions(-) diff --git a/pagure/pfmarkdown.py b/pagure/pfmarkdown.py index 39820ab2..6e5355d9 100644 --- a/pagure/pfmarkdown.py +++ b/pagure/pfmarkdown.py @@ -34,6 +34,16 @@ import pagure.lib.query from pagure.config import config as pagure_config +try: +from markdown.inlinepatterns import ImagePattern as ImagePattern + +MK_VERSION = 2 +except ImportError: +from markdown.inlinepatterns import ImageInlineProcessor as ImagePattern + +MK_VERSION = 3 + + # the (?From 99cafd173c40d83e06110621ee5f2d3bef82d2c0 Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Mon, 26 Nov 2018 12:02:10 +0100 Subject: [PATCH] Bypass old hooks rather than using non-existing symlinks When we moved to the runner architecture, we changed the way hooks are called. During this move, we changed all of our existing hooks into non-existing symlinks pointing to '/does/not/exists' and we were checking if the
commit pagure for openSUSE:Factory
Hello community, here is the log from the commit of package pagure for openSUSE:Factory checked in at 2018-10-15 09:38:45 Comparing /work/SRC/openSUSE:Factory/pagure (Old) and /work/SRC/openSUSE:Factory/.pagure.new (New) Package is "pagure" Mon Oct 15 09:38:45 2018 rev:3 rq:641329 version:5.1.3 Changes: --- /work/SRC/openSUSE:Factory/pagure/pagure.changes2018-10-11 11:55:56.317986406 +0200 +++ /work/SRC/openSUSE:Factory/.pagure.new/pagure.changes 2018-10-15 09:40:08.50718 +0200 @@ -1,0 +2,19 @@ +Thu Oct 11 16:56:20 UTC 2018 - Neal Gompa + +- Update to 5.1.3 + + Don't sync up ssh keys if there are already some + + Do not notify twice when pushing commits to an open PR + + Update git-multimail to fix it for Python 3 + +--- +Thu Oct 11 12:18:24 UTC 2018 - Neal Gompa + +- Update to 5.1.2 + + Make the sshkey migration more flexible from < 5.1 + + Fix the update date information on the pull-request page + + Fix detecting if the user is a committer via a group + + Fix writing user's ssh keys on disk + + tweak colors of the activity graph + + cache oidc user data + +--- Old: pagure-5.1.1.tar.gz New: pagure-5.1.3.tar.gz Other differences: -- ++ pagure.spec ++ --- /var/tmp/diff_new_pack.ggyFqb/_old 2018-10-15 09:40:19.383545541 +0200 +++ /var/tmp/diff_new_pack.ggyFqb/_new 2018-10-15 09:40:19.383545541 +0200 @@ -23,7 +23,7 @@ Name: pagure -Version:5.1.1 +Version:5.1.3 Release:0 Summary:A git-centered forge Group: Development/Tools/Version Control ++ pagure-5.1.1.tar.gz -> pagure-5.1.3.tar.gz ++ /work/SRC/openSUSE:Factory/pagure/pagure-5.1.1.tar.gz /work/SRC/openSUSE:Factory/.pagure.new/pagure-5.1.3.tar.gz differ: char 5, line 1
commit pagure for openSUSE:Factory
Hello community, here is the log from the commit of package pagure for openSUSE:Factory checked in at 2018-10-11 11:55:44 Comparing /work/SRC/openSUSE:Factory/pagure (Old) and /work/SRC/openSUSE:Factory/.pagure.new (New) Package is "pagure" Thu Oct 11 11:55:44 2018 rev:2 rq:640846 version:5.1.1 Changes: --- /work/SRC/openSUSE:Factory/pagure/pagure.changes2018-10-08 17:45:45.050458926 +0200 +++ /work/SRC/openSUSE:Factory/.pagure.new/pagure.changes 2018-10-11 11:55:56.317986406 +0200 @@ -1,0 +2,24 @@ +Tue Oct 9 14:56:15 UTC 2018 - Neal Gompa + +- Invert Conflicts to Requires OpenSSH >= 7.4 + +--- +Tue Oct 9 14:38:32 UTC 2018 - Neal Gompa + +- Update to 5.1.1 + + Fix adding and removing ssh keys in the user's profile + +--- +Tue Oct 9 12:16:28 UTC 2018 - Neal Gompa + +- Update to 5.1 + + Multiple fixes to the UI to address visual quirks and glitches + + Initial implementation of HTTP(S) push support + + Rework how SSH keys are stored in the database + + Multiple changes and fixes around the ACL checker + + Adding 'list-groups' function to pagure-admin + + Add a new API endpoint to retrieve the list of files changed in a PR +- Add Conflicts for OpenSSH < 7.4 due to SSH key handling rework +- Re-wrap previous changelog entry for readability + +--- @@ -4,2 +28,2 @@ -- Trim bias from description. Replace old $RPM_* shell vars by - macros. +- Trim bias from description. +- Replace old $RPM_* shell vars by macros. Old: pagure-5.0.1.tar.gz New: pagure-5.1.1.tar.gz Other differences: -- ++ pagure.spec ++ --- /var/tmp/diff_new_pack.y3GTdD/_old 2018-10-11 11:55:57.681984672 +0200 +++ /var/tmp/diff_new_pack.y3GTdD/_new 2018-10-11 11:55:57.681984672 +0200 @@ -23,7 +23,7 @@ Name: pagure -Version:5.0.1 +Version:5.1.1 Release:0 Summary:A git-centered forge Group: Development/Tools/Version Control @@ -82,6 +82,8 @@ BuildRequires: python3-munch BuildRequires: python3-redis +# We require OpenSSH 7.4+ for SHA256 support +Requires: openssh >= 7.4 Requires: python3-alembic Requires: python3-arrow ++ pagure-5.0.1.tar.gz -> pagure-5.1.1.tar.gz ++ /work/SRC/openSUSE:Factory/pagure/pagure-5.0.1.tar.gz /work/SRC/openSUSE:Factory/.pagure.new/pagure-5.1.1.tar.gz differ: char 5, line 1