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
+
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);
}
if (!$silent) {
success(get_text('install_success'));
+
+ print colored(<<EOF, COLOR_ERROR);
+
+NOTICE: 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 https://bugzilla.mozilla.org/show_bug.cgi?id=1850481 for details.
+
+EOF
+
}
__END__
text-align: center;
}
+#dead_branch {
+ border: 2px solid red;
+ padding: 0.5em 1em;
+ margin: 1em;
+ font-weight: bold;
+}
+
+#dead_branch .notice {
+ font-size: 80%;
+ font-weight: normal;
+}
+
+#dead_branch code {
+ background-color: white;
+ font-size: 110%;
+ padding-left: .5em;
+ padding-right: .5em;
+}
+
#new_release {
border: 2px solid red;
padding: 0.5em 1em;
header_addl_info = "version $constants.BUGZILLA_VERSION"
%]
+[% IF user.in_group("admin") %]
+ <div id="dead_branch">
+ <p>This installation was git pulled from the 5.0 branch, which is no longer
+ supported. Please run <code>git checkout 5.2</code> to pick up where this branch left off.
+ Please see <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=1850481">Bug 1850481</a> for details.</p>
+ <p class="notice">Only members of the 'admin' group can see this message.</p>
+ </div>
+[% END %]
[% IF release %]
<div id="new_release">
[% IF release.data %]