From 100b49d0f8c9cd1e23f0e5d9607a01e065c92ddb Mon Sep 17 00:00:00 2001 From: Dave Miller Date: Thu, 14 Sep 2023 06:40:29 -0500 Subject: [PATCH] Bug 1850481: Tell 5.0 git users to use 5.2 (#148) --- THIS_BRANCH_IS_DEAD.txt | 11 +++++++++-- checksetup.pl | 10 ++++++++++ skins/standard/global.css | 19 +++++++++++++++++++ template/en/default/index.html.tmpl | 8 ++++++++ 4 files changed, 46 insertions(+), 2 deletions(-) diff --git a/THIS_BRANCH_IS_DEAD.txt b/THIS_BRANCH_IS_DEAD.txt index c3a9b3edf6..4e623903bd 100644 --- a/THIS_BRANCH_IS_DEAD.txt +++ b/THIS_BRANCH_IS_DEAD.txt @@ -2,5 +2,12 @@ Due to some errors with the 5.0.5 and 5.0.6 releases, which contained intrusive commits that should not have been made on a stable branch, this branch has been retired. -If you came from 5.0.4 or earlier, you can continue on the 5.0.4 branch to get releases 5.0.4.1 and later. -If you came from 5.0.5 or 5.0.6, you can continue on the 5.2 branch and pick up where this branch left off. +If you came from 5.0.4 or earlier, you can continue on the 5.0.4 branch to get +releases 5.0.4.1 and later by using the following command: + git checkout 5.0.4 + +If you came from 5.0.5 or 5.0.6 (the fact you're reading this means this is +probably you), you can continue on the 5.2 branch and pick up where this +branch left off by using the following command: + git checkout 5.2 + diff --git a/checksetup.pl b/checksetup.pl index 8575849372..8be6e58133 100755 --- a/checksetup.pl +++ b/checksetup.pl @@ -26,6 +26,7 @@ use Safe; use Bugzilla::Constants; use Bugzilla::Install::Requirements; +use Term::ANSIColor qw(colored); use Bugzilla::Install::Util qw(install_string get_version_and_os init_console success); @@ -222,6 +223,15 @@ if (Bugzilla->params->{'urlbase'} eq '') { } if (!$silent) { success(get_text('install_success')); + + print colored(< +

This installation was git pulled from the 5.0 branch, which is no longer + supported. Please run git checkout 5.2 to pick up where this branch left off. + Please see Bug 1850481 for details.

+

Only members of the 'admin' group can see this message.

+ +[% END %] [% IF release %]
[% IF release.data %] -- 2.47.2