shithub: iso

Download patch

ref: 4c30c0558f3978bae86172d861f19d0359ad8746
parent: a854b5cd46e3894e2c970927d54ef53de82328fc
author: Jacob Moody <moody@posixcafe.org>
date: Sat Jan 10 20:43:57 EST 2026

plan9front -> 9front and new host

* Also stop using ls -t for build log order

--- a/bin/buildisos.rc
+++ b/bin/buildisos.rc
@@ -5,7 +5,7 @@
 home=/usr/build
 webfs
 
-cd $home/code/plan9front
+cd $home/code/9front
 
 archs=(amd64 386 arm arm64 spim mips power64)
 
--- a/bin/nightlyiso.rc
+++ b/bin/nightlyiso.rc
@@ -6,7 +6,7 @@
 
 home=/usr/build
 
-cd $home/code/plan9front
+cd $home/code/9front
 git/pull
 prev=`{cat prev}
 head=`{git/query HEAD}
--- a/env
+++ b/env
@@ -1,1 +1,1 @@
-domain=iso.only9fans.com
+domain=build.9front.org
--- a/service/tcp17020
+++ b/service/tcp17020
@@ -1,2 +1,2 @@
 #!/bin/rc
-exec tlssrv -A /bin/exportfs -R -r /usr/build/code/plan9front
+exec tlssrv -A /bin/exportfs -R -r /usr/build/code/9front
--- a/service/tcp564
+++ b/service/tcp564
@@ -1,2 +1,2 @@
 #!/bin/rc
-exec /bin/exportfs -R -r /usr/build/code/plan9front
+exec /bin/exportfs -R -r /usr/build/code/9front
--- a/src/execfs/builds/index.rc
+++ b/src/execfs/builds/index.rc
@@ -13,7 +13,7 @@
 }
 
 echo '<h2>Nightly Drawterm Binaries</h2>'
-for(i in /usr/build/www/drawterm/*.zip){
+for(i in `{ls /usr/build/www/drawterm/*.zip}){
 	i=`{basename $i}
 	echo '<a href="/drawterm/'^$i^'">'^$i^'</a><br>'
 }
@@ -22,15 +22,26 @@
 echo '<a href="https://shithub.us/moody/iso/HEAD/info.html">On shithub</a>'
 
 echo '<h2>Logs</h2>'
-for(i in `{ls -t /usr/build/www/9front/*.status}){
-	cat $i | {
-		res=`{read}
-		commit=`{read}
+
+{
+	for(i in `{ls /usr/build/www/9front/*.status}){
+		basename $i | sed 's/.status//g'
 	}
-	rev=`{basename $i | sed 's/.status//g'}
-	echo '<a>['^$res^']</a>'
-	echo '<a href="https://git.9front.org/plan9front/plan9front/'^$commit^'/commit.html">'^$commit^'</a>'
-	echo '<a href="/9front/9front-'^$rev^'.log">Build Logs</a><br>'
+} | sort -nr | {
+	while(i=`{read}){
+		cat /usr/build/www/9front/$i.status | {
+			res=`{read}
+			commit=`{read}
+		}
+		echo '<a>['^$res^']</a>'
+		if(test $i -gt 11310)
+			repo='https://git.9front.org/plan9front/9front/'
+		if not
+			repo='https://git.9front.org/plan9front/plan9front/'
+		echo '<a href="'^$repo^$commit^'/commit.html">'^$commit^'</a>'
+		echo '<a href="/9front/9front-'^$i^'.log">Build Logs</a>'
+		echo $i^'<br>'
+	}
 }
 
 cat $root/footer
--- a/src/execfs/builds/rules
+++ b/src/execfs/builds/rules
@@ -1,2 +1,2 @@
 /index.html	/cfg/$sysname/src/execfs/builds/index.rc
-/man2html/([0-9])/([a-zA-Z0-9\.]+)	troff -manhtml /usr/build/code/plan9front/sys/man/'\1/\2' | troff2html -t '\2(\1)'
+/man2html/([0-9])/([a-zA-Z0-9\.]+)	troff -manhtml /usr/build/code/9front/sys/man/'\1/\2' | troff2html -t '\2(\1)'
--- a/src/tcp80/tcp80.c
+++ b/src/tcp80/tcp80.c
@@ -315,6 +315,7 @@
 		goto Error;
 	}
 
+	fprint(2, "accessing: %s\n", buf);
 	if(d->qid.type & QTDIR){
 		int fd2;
 		Dir *d2;
--