From 631528dbb8f9043023f8aa0a20a0e9c81efcbc33 Mon Sep 17 00:00:00 2001
From: "Ryan C. Gordon" <[EMAIL REDACTED]>
Date: Mon, 15 Feb 2021 17:35:30 +0000
Subject: [PATCH] Fix todo.php to point to the current GitHub milestone.
---
include/nextver.inc.php | 1 +
todo.php | 11 +++++------
2 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/include/nextver.inc.php b/include/nextver.inc.php
index dd98f8e..b9c46d8 100644
--- a/include/nextver.inc.php
+++ b/include/nextver.inc.php
@@ -4,6 +4,7 @@
$current_sdl_minor = 0;
$current_sdl_patch = 14;
$next_sdl_version_duedate = "Apr 2, 2021 23:59:59 GMT-0800";
+$github_milestone_id = '1'; // sadly, these don't have version strings, so we have to update for each release.
// don't touch these.
$current_sdl_version = "$current_sdl_major.$current_sdl_minor.$current_sdl_patch";
diff --git a/todo.php b/todo.php
index 2c2178d..bec6ff1 100644
--- a/todo.php
+++ b/todo.php
@@ -1,16 +1,15 @@
<!DOCTYPE html>
<html>
- <head>
+ <head>
<?php
require_once('include/nextver.inc.php');
- // This URL should always work, assuming you've created the appropriate "target-X.Y.Z" keywork in Bugzilla and tagged some bugs with it.
- $url = "https://bugzilla.libsdl.org/buglist.cgi?bug_status=UNCONFIRMED&bug_status=NEW&bug_status=WAITING&bug_status=RESPONDED&bug_status=ASSIGNED&bug_status=REOPENED&keywords=target-$next_sdl_version&keywords_type=allwords&known_name=$next_sdl_version%20TODO&order=Bug%20Number&query_format=advanced";
+ $url = "https://github.com/libsdl-org/SDL/milestone/$github_milestone_id";
?>
<title>Simple DirectMedia Layer - Next release's TODO list!</title>
<meta http-equiv="Refresh" content="0; url=<?php print($url)?>">
<?php require_once("include/meta.inc.php"); ?><?php $current_page = basename(__FILE__, '.php'); ?>
</head>
- <body>
+ <body>
<div id="wrapper">
<?php require_once("include/header.inc.php"); ?>
<div id="left">
@@ -30,9 +29,9 @@
instead.
</p>
</div>
- <div class="clearer"></div>
+ <div class="clearer"></div>
</div>
- <?php require_once("include/footer.inc.php"); ?>
+ <?php require_once("include/footer.inc.php"); ?>
</body>
</html>