diff --git a/scripts/gen_html/daily.tmpl b/scripts/gen_html/daily.tmpl index a98cfd2..6c05c0a 100644 --- a/scripts/gen_html/daily.tmpl +++ b/scripts/gen_html/daily.tmpl @@ -16,6 +16,7 @@
diff --git a/scripts/gen_html/gen.sh b/scripts/gen_html/gen.sh index c313d8b..92ca6ee 100755 --- a/scripts/gen_html/gen.sh +++ b/scripts/gen_html/gen.sh @@ -17,16 +17,17 @@ fi iso_dir_prefix="/sabayon/rsync/rsync.sabayon.org/iso" main_dir=$iso_dir_prefix dailies_dir=$iso_dir_prefix/daily +monthly_dir=$iso_dir_prefix/monthly unset iso_dir_prefix -for dir in "$main_dir" "$dailies_dir"; do +for dir in "$main_dir" "$dailies_dir" "$monthly_dir"; do if [ ! -d "$dir" ]; then warn "'$dir' doesn't exist or is not a directory" exit 2 fi done -common_args="--skip .. --skip main.html --skip daily.html --skip style.css" +common_args="--skip .. --skip main.html --skip daily.html --skip monthly.html --skip style.css" tmpfile="$script_dir/tmp.html" @@ -38,6 +39,7 @@ fi # main if ! "$script" $common_args \ main --template "$script_dir/main.tmpl" --dir "$main_dir" \ + --skip daily --skip monthly \ > "$tmpfile"; then warn "script for main releases failed" rm -f "$tmpfile" @@ -65,6 +67,21 @@ if ! mv "$tmpfile" "$dailies_dir/daily.html"; then exit 2 fi +# monthly +if ! "$script" $common_args \ + main --template "$script_dir/monthly.tmpl" --dir "$monthly_dir" \ + > "$tmpfile"; then + warn "script for monthly releases failed" + rm -f "$tmpfile" + exit 2 +fi + +if ! mv "$tmpfile" "$monthly_dir/monthly.html"; then + warn "mv $tmpfile $monthly_dir/monthly failed" + rm -f "$tmpfile" + exit 2 +fi + # CSS if ! cp "$script_dir/style.css" "$main_dir/"; then warn "cp $script_dir/style.css $main_dir/ failed" diff --git a/scripts/gen_html/main.tmpl b/scripts/gen_html/main.tmpl index 278afcf..f70df72 100644 --- a/scripts/gen_html/main.tmpl +++ b/scripts/gen_html/main.tmpl @@ -16,6 +16,7 @@ diff --git a/scripts/gen_html/monthly.tmpl b/scripts/gen_html/monthly.tmpl new file mode 100644 index 0000000..647da50 --- /dev/null +++ b/scripts/gen_html/monthly.tmpl @@ -0,0 +1,163 @@ + + + + ++ + skip to download links + +
+ + + ++ +
+ +
+Sabayon comes in different flavours to choose.
+To distinguish between them, a suffix is appended to file names.
+Here's a short description. More details can be found in this thread on Sabayon forum.
+
main releases:
+additionally, these Core releases are available:
+ +
+All of them have a smaller footprint making them fit into a single CD, or USB memory sticks.
+SpinBase and ServerBase are provided with a very minimal Anaconda Installer and CoreCDX should be preferred for non-standard filesystem/partition layouts.
+
| Name | +Architecture | +Download link | +Torrent | +md5sum | +Package list | +Size | +Date | +
|---|---|---|---|---|---|---|---|
| ">
+ |
+
+ |
+
+ |
+
+ |
+
+ |
+
+ |
+
+ |
+
+ |
+
All dates are in day-month-year format.
+ +
+ Other:
+
+