commit da403c90d1c08f979dc60f7e5f485828babbc02f
parent ae81517af3330698c5c04050cfc305707d28da73
Author: Paco Esteban <paco@onna.be>
Date: Wed, 24 Apr 2019 19:29:49 +0200
we cannot use $Id$ anymore (sadly ...)
Diffstat:
25 files changed, 17 insertions(+), 26 deletions(-)
diff --git a/content/blocking-abusers.md b/content/blocking-abusers.md
@@ -87,4 +87,4 @@ the script.
----
[1]: https://www.geoghegan.ca/pfbadhost.html
-$Id: blocking-abusers.md,v 1.4 2019/03/25 19:15:00 paco Exp $
+Last updated: XXlastXX
diff --git a/content/brymen869s-serial-cable.md b/content/brymen869s-serial-cable.md
@@ -67,4 +67,4 @@ have data logging on my meter for almost no cost.
[3]: https://git.onna.be/brymen_bm869s_ir_cable.git
[4]: https://onna.be/files/brymen_cable_attachemnt_v2.stl
-$Id: brymen869s-serial-cable.md,v 1.4 2019/03/25 19:15:00 paco Exp $
+Last updated: XXlastXX
diff --git a/content/free-cetus.md b/content/free-cetus.md
@@ -215,4 +215,4 @@ right next to me).
[12]: https://slic3r.org/
[13]: https://octoprint.org/
-$Id: free-cetus.md,v 1.5 2019/03/25 19:15:00 paco Exp $
+Last updated: XXlastXX
diff --git a/content/gopher.md b/content/gopher.md
@@ -103,4 +103,4 @@ So now the terminal lovers can find this site at gopher://onna.be/
[2]: https://github.com/kimholviala/gophernicus
[3]: https://github.com/kimholviala/gophernicus/blob/master/README.Gophermap
-$Id: gopher.md,v 1.4 2019/03/25 19:15:00 paco Exp $
+Last updated: XXlastXX
diff --git a/content/ipv6-config-he.md b/content/ipv6-config-he.md
@@ -167,4 +167,4 @@ levels ;-)
[3]: https://en.wikipedia.org/wiki/List_of_IPv6_tunnel_brokers
[4]: https://ipv6.he.net/certification/
-$Id: ipv6-config-he.md,v 1.5 2019/03/25 19:15:00 paco Exp $
+Last updated: XXlastXX
diff --git a/content/nfs-performance-improvements-openbsd.md b/content/nfs-performance-improvements-openbsd.md
@@ -50,4 +50,4 @@ this stage.
-----
[1]: https://marc.info/?l=openbsd-misc&m=146130062830832&w=2
-$Id: nfs-performance-improvements-openbsd.md,v 1.5 2019/03/29 17:17:44 paco Exp $
+Last updated: XXlastXX
diff --git a/content/partkeepr-barcodes-and-TME.md b/content/partkeepr-barcodes-and-TME.md
@@ -80,4 +80,4 @@ similar, so I can adapt the script.
[5]: https://git.onna.be/parteye/
[6]: https://developers.tme.eu
-$Id: partkeepr-barcodes-and-TME.md,v 1.4 2019/03/25 19:15:00 paco Exp $
+Last updated: XXlastXX
diff --git a/content/pass-terminal.md b/content/pass-terminal.md
@@ -55,4 +55,4 @@ how/when passwords are requested.
-----
[1]: https://www.passwordstore.org/
-$Id: pass-terminal.md,v 1.4 2019/03/25 19:15:00 paco Exp $
+Last updated: XXlastXX
diff --git a/content/raidz-disk-change.md b/content/raidz-disk-change.md
@@ -91,4 +91,4 @@ your machine !
-----
-$Id: raidz-disk-change.md,v 1.4 2019/03/25 19:15:00 paco Exp $
+Last updated: XXlastXX
diff --git a/content/self-hosted-xmpp-server.md b/content/self-hosted-xmpp-server.md
@@ -62,4 +62,4 @@ more than encrypted email for instance).
[4]: https://conversations.im/
[5]: http://www.profanity.im/
-$Id: ipv6-config-he.md,v 1.5 2019/03/25 19:15:00 paco Exp $
+Last updated: XXlastXX
diff --git a/content/teensy-midi-controller.md b/content/teensy-midi-controller.md
@@ -89,4 +89,4 @@ Have fun !
[8]: https://www.youtube.com/channel/UCuWKHSHTHMV_nVSeNH4gYAg
[9]: https://www.youtube.com/channel/UCnZEv3hADF9ELOIwUNu6RVg
-$Id: teensy-midi-controller.md,v 1.3 2019/03/25 19:15:00 paco Exp $
+Last updated: XXlastXX
diff --git a/deploy.sh b/deploy.sh
@@ -18,10 +18,12 @@ usage() {
generate_html() {
orig=$1
dest=$2
+ last=$(TZ=UTC date)
menu=$(sed 's/"/\\"/g' templates/menu_template.html)
echo " - generating $dest"
lowdown -s -D html-skiphtml "$orig" > "$dest"
sed -i'' "s!XXmenuXX!${menu}!" "$dest"
+ sed -i'' "s!XXlastXX!${last}!" "$dest"
test "$3" = "1" && touch generate_index_html.flag
}
@@ -45,8 +47,10 @@ generate_html_index() {
generate_gopher() {
orig=$1
dest=$2
+ last=$(TZ=UTC date)
echo " - generating $dest"
sed '1,/---------/d' "$orig" > "$dest"
+ sed -i'' "s!XXlastXX!${last}!" "$dest"
test "$3" = "1" && touch generate_gophermap.flag
}
@@ -157,14 +161,14 @@ if [ -f generate_index_html.flag ] || [ "$force" = "1" ]; then
fi
# generate gophermap
-if [ "$gopherChanged" -gt 0 ] || [ "$force" = "1" ]; then
+if [ -f generate_gophermap.flag ] || [ "$force" = "1" ]; then
echo " - generate gopher map"
generate_gophermap "$sortedArticles"
rm generate_gophermap.flag
fi
# generate phlog map
-if [ "$phlogChanged" -gt 0 ] || [ "$force" = "1" ]; then
+if [ -f generate_phlogmap.flag ] || [ "$force" = "1" ]; then
echo " - generate phlog map"
generate_phlogmap "$sortedEntries"
rm generate_phlogmap.flag
diff --git a/phlog/20181113-1342_entry.txt b/phlog/20181113-1342_entry.txt
@@ -8,4 +8,3 @@ done or what I plan to do in the short term. But kind of public so maybe
it helps somebody ...
------------------------------------------------------------------------
-$Id: 20181113-1342_entry.txt,v 1.1 2018/11/13 12:47:18 paco Exp $
diff --git a/phlog/20181113-1844_entry.txt b/phlog/20181113-1844_entry.txt
@@ -38,4 +38,3 @@ I'm going to dive into some cables now and then have a gigantic beer !
[1] - gopher://onna.be:70/0/raidz_disk_change.txt
------------------------------------------------------------------------
-$Id: 20181113-1844_entry.txt,v 1.1 2018/11/13 17:59:08 paco Exp $
diff --git a/phlog/20181115-1906_entry.txt b/phlog/20181115-1906_entry.txt
@@ -34,4 +34,3 @@ Ok, the bottle is almost empty now. Time to take a look at RSS and
phlogroll.
------------------------------------------------------------------------
-$Id: 20181115-1906_entry.txt,v 1.1 2018/11/15 19:20:29 paco Exp $
diff --git a/phlog/20181116-2245_entry.txt b/phlog/20181116-2245_entry.txt
@@ -41,4 +41,3 @@ Mob (Let the tribe increase - 1983) and I found it a little gloomy to
end this post. I totally recommend the band by the way.
------------------------------------------------------------------------
-$Id: 20181116-2245_entry.txt,v 1.1 2018/11/16 23:26:46 paco Exp $
diff --git a/phlog/20181117-1934_entry.txt b/phlog/20181117-1934_entry.txt
@@ -23,4 +23,3 @@ definitely do some exercise ... I've been not working out lately and I'm
starting to feel it :-/
------------------------------------------------------------------------
-$Id: 20181117-1934_entry.txt,v 1.1 2018/11/17 19:54:28 paco Exp $
diff --git a/phlog/20181118-2212_entry.txt b/phlog/20181118-2212_entry.txt
@@ -49,4 +49,3 @@ of rain does not sound like a bad plan :-)
[2] https://github.com/solderpunk/VF-1
------------------------------------------------------------------------
-$Id: 20181118-2212_entry.txt,v 1.1 2018/11/18 22:31:25 paco Exp $
diff --git a/phlog/20181123-1914_entry.txt b/phlog/20181123-1914_entry.txt
@@ -53,4 +53,3 @@ with the traditional slicers.
Now I'll have a big beer and read some rss feeds. Geek weekend ahead !
------------------------------------------------------------------------
-$Id: 20181123-1914_entry.txt,v 1.1 2018/11/23 19:36:24 paco Exp $
diff --git a/phlog/20190107-1400_entry.txt b/phlog/20190107-1400_entry.txt
@@ -29,4 +29,3 @@ the layout already while I was writing this ...
[1] https://configure.ergodox-ez.com/layouts/GyPj
------------------------------------------------------------------------
-$Id: 20190107-1400_entry.txt,v 1.1 2019/01/15 15:13:20 paco Exp $
diff --git a/phlog/20190115-1519_entry.txt b/phlog/20190115-1519_entry.txt
@@ -36,4 +36,3 @@ It's all for today, I guess.
[3] - https://smoothieware.org/
------------------------------------------------------------------------
-$Id: 20190115-1519_entry.txt,v 1.2 2019/01/15 15:34:05 paco Exp $
diff --git a/phlog/20190214-0808_entry.txt b/phlog/20190214-0808_entry.txt
@@ -44,4 +44,3 @@ Over and out.
[2] https://vcvrack.com/
------------------------------------------------------------------------
-$Id: 20190214-0808_entry.txt,v 1.1 2019/02/14 08:25:53 paco Exp $
diff --git a/phlog/20190330-2151_entry.txt b/phlog/20190330-2151_entry.txt
@@ -40,4 +40,3 @@ And that's all for now.
[3]: https://linkerd.io
------------------------------------------------------------------------
-$Id: 20190330-2151_entry.txt,v 1.2 2019/03/30 21:44:33 paco Exp $
diff --git a/phlog/20190402-0824_entry.txt b/phlog/20190402-0824_entry.txt
@@ -26,4 +26,3 @@ stick to just one answer per category ...
[1]: gopher://gopher.black:70/1/phlog/20190330-fun-questions
------------------------------------------------------------------------
-$Id: 20190402-0824_entry.txt,v 1.1 2019/04/02 09:24:08 paco Exp $
diff --git a/phlog/20190414-1728_entry.txt b/phlog/20190414-1728_entry.txt
@@ -50,4 +50,3 @@ You're welcome.
[1]: http://pubs.opengroup.org/onlinepubs/9699919799/utilities/contents.html
------------------------------------------------------------------------
-$Id: 20190414-1728_entry.txt,v 1.2 2019/04/14 18:05:29 paco Exp $