slitaz-forge rev 213

Add roadmap.slitaz.org files
author Christophe Lincoln <pankso@slitaz.org>
date Tue Mar 27 19:28:34 2012 +0200 (2012-03-27)
parents e66637a701c4
children 61b895366e0e
files roadmap/README roadmap/favicon.ico roadmap/header.html roadmap/images/home.png roadmap/releases/4.0/goals.html roadmap/releases/4.0/update-toolchain.conf roadmap/releases/4.0/write-relnotes.conf roadmap/releases/5.0/add-new-pkgs.conf roadmap/releases/5.0/goals.html roadmap/releases/5.0/update-toolchain.conf roadmap/roadmap.cgi roadmap/style.css
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/roadmap/README	Tue Mar 27 19:28:34 2012 +0200
     1.3 @@ -0,0 +1,41 @@
     1.4 +SliTaz Roadmap
     1.5 +================================================================================
     1.6 +
     1.7 +
     1.8 +SliTaz roadmap provide guide lines to the next Slitaz Stable realease. We use
     1.9 +our Mercurial repo to collaborate on the roadmap. All task are added and edited
    1.10 +in releases/[slitaz-release] and then commited to Hg. Any tasks can have a wiki
    1.11 +page link, description with HTML code, etc. Each release have also a goals.html
    1.12 +page with the summary of the goals to the next release.
    1.13 +
    1.14 +All contributors are welcome to collaborate and add themself to the PEOPLE 
    1.15 +variable of a task. The optionnal release task Wiki should be created under
    1.16 +the space name en:releases:slitaz-release:task-name, example:
    1.17 +
    1.18 +	http://doc.slitaz.org/en:releases:5.0:update-toolchain
    1.19 +	
    1.20 +All the task are under SliTaz Mercurial repositories in the slitaz-forge repo.
    1.21 +To clone the repos and collaborate on task you can clone the roadmap with:
    1.22 +
    1.23 +	hg clone http://hg.slitaz.org/slitaz-forge
    1.24 +
    1.25 +
    1.26 +
    1.27 +Task configuration format
    1.28 +-------------------------
    1.29 +As usual, keep it simple and somthing most people know about: a config files ;-)
    1.30 +Bugs refer to the bug number on http://bugs.slitaz.org/ separated by space.
    1.31 +
    1.32 +# SliTaz task
    1.33 +
    1.34 +TASK="Update full Toolchain"
    1.35 +STATUS="TODO"
    1.36 +PRIORITY="1"
    1.37 +PEOPLE="Pankso"
    1.38 +WIKI=""
    1.39 +BUGS=""
    1.40 +
    1.41 +DESC=""
    1.42 +
    1.43 +
    1.44 +================================================================================
     2.1 Binary file roadmap/favicon.ico has changed
     3.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.2 +++ b/roadmap/header.html	Tue Mar 27 19:28:34 2012 +0200
     3.3 @@ -0,0 +1,25 @@
     3.4 +<!DOCTYPE html>
     3.5 +<html xmlns="http://www.w3.org/1999/xhtml">
     3.6 +<head>
     3.7 +	<title>SliTaz Roadmap</title>
     3.8 +	<meta charset="utf-8" />
     3.9 +	<link rel="shortcut icon" href="favicon.ico" />
    3.10 +	<link rel="stylesheet" type="text/css" href="style.css" />
    3.11 +</head>
    3.12 +<body>
    3.13 +
    3.14 +<div id="header">
    3.15 +	<div id="logo"></div>
    3.16 +	<div id="network">
    3.17 +		<a href="http://www.slitaz.org/">
    3.18 +			<img src="images/home.png" alt="[ Home ]" /></a>
    3.19 +		<a href="http://scn.slitaz.org/">SCN</a>
    3.20 +		<a href="http://forum.slitaz.org/">Forum</a>
    3.21 +		<a href="http://hg.slitaz.org/">Hg</a>
    3.22 +		<a href="http://cook.slitaz.org/">Cook</a>
    3.23 +	</div>
    3.24 +	<h1><a href="roadmap.cgi">SliTaz Roadmap</a></h1>
    3.25 +</div>
    3.26 +
    3.27 +<!-- Content -->
    3.28 +<div id="content">
     4.1 Binary file roadmap/images/home.png has changed
     5.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     5.2 +++ b/roadmap/releases/4.0/goals.html	Tue Mar 27 19:28:34 2012 +0200
     5.3 @@ -0,0 +1,8 @@
     5.4 +
     5.5 +<h3>Goals</h3>
     5.6 +
     5.7 +<p>
     5.8 +	Releae in March 2012 - New packages build bot and tools, better
     5.9 +	project organization. Bunch of new packages and use the russian 
    5.10 +	dolls as default Live system.
    5.11 +</p>
     6.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     6.2 +++ b/roadmap/releases/4.0/update-toolchain.conf	Tue Mar 27 19:28:34 2012 +0200
     6.3 @@ -0,0 +1,10 @@
     6.4 +# SliTaz task
     6.5 +
     6.6 +TASK="Update full Toolchain"
     6.7 +STATUS="DONE"
     6.8 +PRIORITY="1"
     6.9 +PEOPLE="Pankso"
    6.10 +WIKI=""
    6.11 +BUGS=""
    6.12 +
    6.13 +DESC=""
     7.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     7.2 +++ b/roadmap/releases/4.0/write-relnotes.conf	Tue Mar 27 19:28:34 2012 +0200
     7.3 @@ -0,0 +1,12 @@
     7.4 +# SliTaz task
     7.5 +
     7.6 +TASK="Write the Release Notes"
     7.7 +STATUS="DONE"
     7.8 +PRIORITY="1"
     7.9 +PEOPLE="Pankso, Claudinei, Paul, Bellard, Erjo, Christian, Domcox"
    7.10 +WIKI=""
    7.11 +BUGS=""
    7.12 +
    7.13 +DESC="When relnotes are finished, we commit then to slitaz-doc and
    7.14 +to the list for translation. Then we commit a copy for SliTaz Website
    7.15 +documentation section."
     8.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     8.2 +++ b/roadmap/releases/5.0/add-new-pkgs.conf	Tue Mar 27 19:28:34 2012 +0200
     8.3 @@ -0,0 +1,10 @@
     8.4 +# SliTaz task
     8.5 +
     8.6 +TASK="Add a bunch of new packages"
     8.7 +STATUS="TODO"
     8.8 +PRIORITY="2"
     8.9 +PEOPLE="All"
    8.10 +WIKI=""
    8.11 +BUGS=""
    8.12 +
    8.13 +DESC=""
     9.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     9.2 +++ b/roadmap/releases/5.0/goals.html	Tue Mar 27 19:28:34 2012 +0200
     9.3 @@ -0,0 +1,8 @@
     9.4 +
     9.5 +<h3>Goals</h3>
     9.6 +
     9.7 +<p>
     9.8 +	Releae in March 2013 - Port To ARM platform, masively add and update
     9.9 +	packages. Be even more fast and light. Take care about old hardware
    9.10 +	compatibility.
    9.11 +</p>
    10.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    10.2 +++ b/roadmap/releases/5.0/update-toolchain.conf	Tue Mar 27 19:28:34 2012 +0200
    10.3 @@ -0,0 +1,10 @@
    10.4 +# SliTaz task
    10.5 +
    10.6 +TASK="Update full Toolchain"
    10.7 +STATUS="TODO"
    10.8 +PRIORITY="1"
    10.9 +PEOPLE="Pankso"
   10.10 +WIKI=""
   10.11 +BUGS=""
   10.12 +
   10.13 +DESC=""
    11.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    11.2 +++ b/roadmap/roadmap.cgi	Tue Mar 27 19:28:34 2012 +0200
    11.3 @@ -0,0 +1,98 @@
    11.4 +#!/bin/sh
    11.5 +#
    11.6 +. /usr/lib/slitaz/httphelper
    11.7 +header
    11.8 +
    11.9 +# Default to next stable release.
   11.10 +rel="5.0"
   11.11 +[ "$(GET release)" ] && rel="$(GET release)"
   11.12 +taskdir="releases/$rel"
   11.13 +
   11.14 +# Show a task.
   11.15 +show_task() {
   11.16 +	cat << EOT
   11.17 +<pre>
   11.18 +Task      : $TASK
   11.19 +People    : $PEOPLE
   11.20 +EOT
   11.21 +	if [ "$WIKI" ]; then
   11.22 +		echo "Wiki page : <a href="$WIKI">$WIKI</a>"
   11.23 +	fi
   11.24 +	if [ "$DESC" ]; then
   11.25 +		cat << EOT
   11.26 +
   11.27 +Desccription
   11.28 +------------
   11.29 +$DESC
   11.30 +EOT
   11.31 +	fi
   11.32 +	echo '</pre>'
   11.33 +}
   11.34 +
   11.35 +# Usage: list_tasks STATUS
   11.36 +list_tasks() {
   11.37 +	echo "<h3>Tasks List: $1</h3>"
   11.38 +	count=0
   11.39 +	for pr in 1 2 3 4
   11.40 +	do
   11.41 +		for task in $(fgrep -H "$1" $taskdir/*.conf | cut -d ":" -f 1)
   11.42 +		do
   11.43 +			. $task
   11.44 +			if [ "$PRIORITY" == "$pr" ]; then
   11.45 +				show_task
   11.46 +			fi
   11.47 +		done
   11.48 +	done
   11.49 +	[ "$1" == "TODO" ] && [ "$todo" == "0" ] && echo "All done."
   11.50 +	[ "$1" == "DONE" ] && [ "$done" == "0" ] && echo "Nothing done."
   11.51 +}
   11.52 +
   11.53 +# xHTML header.
   11.54 +cat header.html
   11.55 +
   11.56 +case " $(GET) " in
   11.57 +	*\ README\ *)
   11.58 +		echo '<h2>README</h2>'
   11.59 +		echo '<pre>'
   11.60 +		cat README
   11.61 +		echo '</pre>' ;;
   11.62 +	*)
   11.63 +		# Get the tasks done and todo
   11.64 +		tasks=$(ls -1 $taskdir/*.conf | wc -l)
   11.65 +		done=$(fgrep "DONE" $taskdir/*.conf | wc -l)
   11.66 +		todo=$(fgrep "TODO" $taskdir/*.conf | wc -l)
   11.67 +		pct=0
   11.68 +		[ $tasks -gt 0 ] && pct=$(( ($done * 100) / $tasks ))
   11.69 +		cat << EOT
   11.70 +<h2>Release: $rel</h2>
   11.71 +
   11.72 +<p>
   11.73 +	Tasks: $tasks in total - $done finised - $todo todo
   11.74 +</p>
   11.75 +<div class="pctbar">
   11.76 +	<div class="pct" style="width: ${pct}%;">${pct}%</div>
   11.77 +</div>
   11.78 +<p>
   11.79 +	Tasks lists are order by priority. Please read the <a href="?README">README</a>
   11.80 +	for more information about SliTaz Roadmap web interface and Hg repo.
   11.81 +</p>
   11.82 +EOT
   11.83 +		cat $taskdir/$release/goals.html
   11.84 +		list_tasks TODO
   11.85 +		list_tasks DONE ;;
   11.86 +esac
   11.87 +
   11.88 +# Close xHTML page
   11.89 +cat << EOT
   11.90 +</div>
   11.91 +
   11.92 +<div id="footer">
   11.93 +	<a href="http://www.slitaz.org/">SliTaz Website</a> - Roadmap:
   11.94 +	<a href="?release=4.0">4.0</a>
   11.95 +</div>
   11.96 +
   11.97 +</body>
   11.98 +</html>
   11.99 +EOT
  11.100 +
  11.101 +exit 0
    12.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    12.2 +++ b/roadmap/style.css	Tue Mar 27 19:28:34 2012 +0200
    12.3 @@ -0,0 +1,98 @@
    12.4 +/* CSS style for SliTaz Cooker */
    12.5 +
    12.6 +html { min-height: 102%; }
    12.7 +body { font: 13px sans-serif, vernada, arial; margin: 0; }
    12.8 +h1 { margin: 0; padding: 8px; color: #fff; font-size: 20px; }
    12.9 +h1 a { color: #fff; text-decoration: none; }
   12.10 +h2 { color: #444; } h3 { color: #666; font-size: 140%; }
   12.11 +a { text-decoration: underline; color: #215090; }
   12.12 +a:hover { text-decoration: none; }
   12.13 +img { border: 0pt none; vertical-align: middle; }
   12.14 +pre {
   12.15 +	background-color: #f8f8f8;
   12.16 +	border: 1px solid #ddd;
   12.17 +	padding: 10px;
   12.18 +	overflow: auto;
   12.19 +	font-size: 96%;
   12.20 +}
   12.21 +
   12.22 +/* Header */
   12.23 +
   12.24 +#header {
   12.25 +	background: #351a0a;
   12.26 +	height: 40px;
   12.27 +	border-bottom: 8px solid #d66018;
   12.28 +}
   12.29 +
   12.30 +#header h1 {
   12.31 +	margin: 0;
   12.32 +	/* padding: 8px 0 0 42px; */
   12.33 +	width: 250px;
   12.34 +}
   12.35 +
   12.36 +#header h1 a { 
   12.37 +	color: white; 
   12.38 +	text-decoration: none;
   12.39 +	font-size: 20px;
   12.40 +	font-style: italic;
   12.41 +}
   12.42 +
   12.43 +#header h1 a:hover, #network a:hover { 
   12.44 +	color: #d66018;
   12.45 +}
   12.46 +
   12.47 +/* Header links */
   12.48 +
   12.49 +#network { 
   12.50 +	float: right; 
   12.51 +	padding: 10px 5px 0; 
   12.52 +	font-size: 12px;
   12.53 +}
   12.54 +
   12.55 +#network a {
   12.56 +	padding: 0 6px;
   12.57 +	color: #fff; 
   12.58 +	font-weight: bold;
   12.59 +	text-decoration: none;
   12.60 +}
   12.61 +
   12.62 +/* Content */
   12.63 +
   12.64 +#content {
   12.65 +	margin: 40px auto;
   12.66 +	text-align: justify;
   12.67 +	width: 720px;
   12.68 +}
   12.69 +
   12.70 +.important { background: #ffa400; }
   12.71 +
   12.72 +/* Progress bar */
   12.73 +
   12.74 +.pct { background: #9dff4a; padding: 2px 4px; }
   12.75 +
   12.76 +.pctbar {
   12.77 +	margin: 0;
   12.78 +	color: #666;
   12.79 +	background: #f1f1f1;
   12.80 +	border: 1px solid #ddd;
   12.81 +	overflow: hidden;
   12.82 +}
   12.83 +
   12.84 +/* Round corner */
   12.85 +
   12.86 +pre, .button, .pctbar {
   12.87 +	-moz-border-radius: 4px;
   12.88 +	-webkit-border-radius: 4px;
   12.89 +	border-radius: 4px;
   12.90 +}
   12.91 +
   12.92 +/* Footer */
   12.93 +
   12.94 +#footer {
   12.95 +	text-align: center;
   12.96 +	padding: 20px;
   12.97 +	border-top: 1px solid #ddd;
   12.98 +	font-size: 90%;
   12.99 +}
  12.100 +
  12.101 +#footer a { padding: 0 2px; }