diff --git a/roles/pagure/files/hotfix/0002-Add-pagure-io-Flock-2026-sunset-banner.patch b/roles/pagure/files/hotfix/0002-Add-pagure-io-Flock-2026-sunset-banner.patch index becaee0005..b0866bcb9e 100644 --- a/roles/pagure/files/hotfix/0002-Add-pagure-io-Flock-2026-sunset-banner.patch +++ b/roles/pagure/files/hotfix/0002-Add-pagure-io-Flock-2026-sunset-banner.patch @@ -1,13 +1,13 @@ Date: Thu, 12 Mar 2026 00:00:00 +0000 -Subject: [PATCH] Add site-wide banner on pagure.io for Flock 2026 sunset - announcement +Subject: [PATCH] Add site-wide banner on pagure.io for read-only transition -Add a banner linking to the decommissioning discussion and encouraging -migration to forge.fedoraproject.org. +Add a banner announcing pagure.io will become read-only by July 31, 2026 +at the latest, linking to forge.fedoraproject.org and the decommissioning +discussion. --- - pagure/themes/pagureio/templates/theme.html | 11 +++++++++++ - 1 file changed, 11 insertions(+) + pagure/themes/pagureio/templates/theme.html | 10 ++++++++++ + 1 file changed, 10 insertions(+) diff --git a/pagure/themes/pagureio/templates/theme.html b/pagure/themes/pagureio/templates/theme.html index 17a97160..e5a1ef1d 100644 @@ -20,10 +20,9 @@ index 17a97160..e5a1ef1d 100644 +{% if config['APP_URL'] in ['https://stg.pagure.io/', 'https://pagure.io/'] %} +
+
-+ pagure.io is expected to be decommissioned at or around Flock 2026, June 14-16, 2026. -+ Fedora Project contributors are encouraged to migrate Fedora Project related work to -+ forge.fedoraproject.org. -+ Discussion and feedback. ++ pagure.io will become read-only by July 31, 2026 at the latest. ++ Repositories are available on forge.fedoraproject.org. Migrate your work there and update your git remotes. ++ Read the announcement and share feedback. +
+
+{% endif %} diff --git a/roles/pagure/files/hotfix/0003-Add-GIT_PUSH_MESSAGE-to-hooks.patch b/roles/pagure/files/hotfix/0003-Add-GIT_PUSH_MESSAGE-to-hooks.patch index 839d0677dc..8dd9ba4aa4 100644 --- a/roles/pagure/files/hotfix/0003-Add-GIT_PUSH_MESSAGE-to-hooks.patch +++ b/roles/pagure/files/hotfix/0003-Add-GIT_PUSH_MESSAGE-to-hooks.patch @@ -1,27 +1,29 @@ Date: Thu, 12 Mar 2026 00:00:00 +0000 -Subject: [PATCH] Add hardcoded Flock 2026 sunset message to post-receive hook +Subject: [PATCH] Add read-only transition message to post-receive hook Print a fixed message in the terminal on git push announcing pagure.io -decommissioning by Flock 2026 and migration to forge.fedoraproject.org. +will become read-only by July 31, 2026 at the latest and migration to +forge.fedoraproject.org. --- - pagure/hooks/__init__.py | 9 +++++++++ - 1 file changed, 9 insertions(+) + pagure/hooks/__init__.py | 10 ++++++++++ + 1 file changed, 10 insertions(+) diff --git a/pagure/hooks/__init__.py b/pagure/hooks/__init__.py index 24544dcc..d24262ba 100644 --- a/pagure/hooks/__init__.py +++ b/pagure/hooks/__init__.py -@@ -548,6 +548,15 @@ def run_hook_file(hooktype): +@@ -548,6 +548,16 @@ def run_hook_file(hooktype): if pagure_config.get("HOOK_DEBUG", False): print("Running %s hooks for %s" % (hooktype, project.fullname)) + if hooktype == "post-receive": + print() + print("===============================================================================") -+ print("pagure.io is expected to be decommissioned by Flock 2026.") ++ print("pagure.io will become read-only by July 31, 2026 at the latest.") + print() -+ print("Migrate to forge.fedoraproject.org. Discussion:") ++ print("Migrate your repositories to forge.fedoraproject.org and update your git remotes.") ++ print("Discussion:") + print("https://discussion.fedoraproject.org/t/decommissioning-of-pagure-io-anticipated-by-flock-2026/181997") + print("===============================================================================") + print() @@ -29,5 +31,5 @@ index 24544dcc..d24262ba 100644 session, pushuser, --- +-- 2.49.0