7896398d0623 — Ted Unangst 4 months ago
crypto bump means go 1.20+ is now required
5 files changed, 10 insertions(+), 6 deletions(-)

M README
M docs/changelog.txt
M docs/honk.8
M go.mod
M preflight.sh
M README +1 -1
@@ 24,7 24,7 @@ But you may need to get your hands dirty
 ## build
 
 It should be sufficient to type make after unpacking a release.
-You'll need a go compiler version 1.18 or later. And libsqlite3.
+You'll need a go compiler version 1.20 or later. And libsqlite3 3.34.0+.
 
 Even on a fast machine, building from source can take several seconds.
 

          
M docs/changelog.txt +4 -0
@@ 1,5 1,9 @@ 
 changelog
 
+### next
+
++ Document that go 1.20+ is now required.
+
 ### 1.4.0 Pink Peppercorn
 
 + Another tune up for thread sort.

          
M docs/honk.8 +1 -1
@@ 43,7 43,7 @@ FastCGI can be used by prefixing the lis
 .Ss Build
 Building
 .Nm
-requires a go compiler 1.18 and libsqlite.
+requires a go compiler 1.20+ and libsqlite 3.34.0+.
 On
 .Ox
 this is the go and sqlite3 packages.

          
M go.mod +1 -1
@@ 1,6 1,6 @@ 
 module humungus.tedunangst.com/r/honk
 
-go 1.18
+go 1.20
 
 require (
 	github.com/gorilla/mux v1.8.1

          
M preflight.sh +3 -3
@@ 1,11 1,11 @@ 
 set -e
 
-go version > /dev/null 2>&1 || (echo go 1.18+ is required && false)
+go version > /dev/null 2>&1 || (echo go 1.20+ is required && false)
 
 v=`go version | egrep -o "go1\.[^.]+"` || echo failed to identify go version
-if [ "$v" \< "go1.18" ] ; then
+if [ "$v" \< "go1.20" ] ; then
 	echo go version is too old: $v
-	echo go 1.18+ is required
+	echo go 1.20+ is required
 	false
 fi