diff --git a/bugs.php b/bugs.php new file mode 100644 index 0000000..7b2702c --- /dev/null +++ b/bugs.php @@ -0,0 +1,25 @@ + +# +# common wrapper for showing bug lists from bug.kde.org +# +# syntax: +# bugs.php?/ +# +# - references the $urls array keys in lib.inc +# - version to show e.g 4.8.1 for the related version +# or 4.8 for all versions in this branch +# + include(dirname(__FILE__)."/lib.inc"); + $query = isset($_SERVER['QUERY_STRING']) ? $_SERVER['QUERY_STRING'] : ""; + if (strpos($query,'/') !== FALSE) + list($type, $version) = explode('/',$query); + else { + $type = $query; + $version = ""; + } + $url = buglist($type, $version); + if ($url) + Header("Location: $url"); +?> \ No newline at end of file diff --git a/openbugs.php b/openbugs.php new file mode 100644 index 0000000..9f85c5b --- /dev/null +++ b/openbugs.php @@ -0,0 +1,16 @@ + +# +# redirect to bugs.kde.org and shows a list of open bugs +# +# syntax: +# openbugs.php - shows all open bugs +# openbugs.php? - shows bugs of e.g. 4.8.1 or 4.8 +# for all releases of the mentioned branch +# + include(dirname(__FILE__)."/lib.inc"); + $version = isset($_SERVER['QUERY_STRING']) ? $_SERVER['QUERY_STRING'] : ""; + $url = buglist('openbugs',$version); + Header("Location: $url"); +?> \ No newline at end of file diff --git a/resolvedbugs.php b/resolvedbugs.php new file mode 100644 index 0000000..2970679 --- /dev/null +++ b/resolvedbugs.php @@ -0,0 +1,16 @@ + +# +# redirect to bugs.kde.org and shows a list of resolved bugs +# +# syntax: +# resolvedbugs.php - shows all resolved bugs +# resolvedbugs.php? - shows resolved bugs of e.g. 4.8.1 +# or 4.8 for all releases of the mentioned branch +# + include(dirname(__FILE__)."/lib.inc"); + $version = isset($_SERVER['QUERY_STRING']) ? $_SERVER['QUERY_STRING'] : ""; + $url = buglist('resolvedbugs',$version); + Header("Location: $url"); +?> \ No newline at end of file diff --git a/resolvedfeatures.php b/resolvedfeatures.php new file mode 100644 index 0000000..0fb28e5 --- /dev/null +++ b/resolvedfeatures.php @@ -0,0 +1,16 @@ + +# +# redirect to bugs.kde.org and shows a list of resolved features +# +# syntax: +# resolvedfeatures.php - shows all resolved features +# resolvedfeatures.php? - shows resolved features of e.g. 4.8.1 +# or 4.8 for all releases of the mentioned branch +# + include(dirname(__FILE__)."/lib.inc"); + $version = isset($_SERVER['QUERY_STRING']) ? $_SERVER['QUERY_STRING'] : ""; + $url = buglist('resolvedfeatures',$version); + Header("Location: $url"); +?> \ No newline at end of file diff --git a/todofeatures.php b/todofeatures.php new file mode 100644 index 0000000..8f2d98f --- /dev/null +++ b/todofeatures.php @@ -0,0 +1,6 @@ + \ No newline at end of file