derf / db-fakedisplay

App/Infoscreen for Railway Departures in Germany
https://dbf.finalrewind.org
GNU Affero General Public License v3.0
60 stars 5 forks source link

"db-infoscreen" Versionsnummer bei Selfhosting ausgeben. #8

Open pm-pm opened 4 years ago

pm-pm commented 4 years ago

Bitte auch die Versionsnummer bei selbst gehosteten Systemen mit ausgeben.

https://dbf.finalrewind.org/_about db-infoscreen v2.5.8-3-g27bb2b6

http://mydomian.com/_about db-infoscreen vexperimental

Die Versionen von DE::IRIS und DE::HAFASwerden in beiden Faellen angezeigt.

derf commented 4 years ago

Liegt ein für den perl/mojolicious-Nutzer lesbares Git-Repository im selben Verzeichnis wie index.pl?

Aktuell gibt es nämlich keine direkt im Quelltext vermerkte Versionsangabe, sondern es wird immer git describe befragt.

pm-pm commented 4 years ago

Ich habe das (Release) File runtergeladen, entpackt und gestartet.

#:/opt/db-fakedisplay# ls -la
insgesamt 60
drwxrwxr-x  8 root root 4096 Jan  5 18:39 .
drwxr-xr-x 15 root root 4096 Jan  7 15:36 ..
-rw-rw-r--  1 root root 1586 Jan  5 18:39 COPYING
-rw-rw-r--  1 root root  335 Jan  5 18:39 cpanfile
-rw-rw-r--  1 root root  431 Jan  5 18:39 Dockerfile
-rw-rw-r--  1 root root   62 Jan  5 18:39 docker-run.sh
drwxrwxr-x  2 root root 4096 Jan  5 18:39 examples
-rw-rw-r--  1 root root   53 Jan  5 18:39 .gitignore
-rw-rw-r--  1 root root  233 Jan  5 18:39 index.pl
drwxrwxr-x  3 root root 4096 Jan  5 18:39 lib
drwxrwxr-x  3 root root 4096 Jan  5 18:39 public
-rw-rw-r--  1 root root 2518 Jan  5 18:39 README.md
drwxrwxr-x  2 root root 4096 Jan  5 18:39 scripts
drwxrwxr-x  2 root root 4096 Jan  5 18:39 t
drwxrwxr-x  3 root root 4096 Jan  5 18:39 templates

#:/opt/db-fakedisplay# perl index.pl daemon -m production -l http://*:xxxx
derf commented 4 years ago

Hmja, das ist so nicht vorgesehen, im Nachhinein aber nachvollziehbar.

Ich war bisher immer von git clone https://github.com/derf/db-fakedisplay und dann git pull zum Updaten ausgegangen. Mal schauen, ob ich dieses Release-Feature von GitHub mit abgefrühstückt bekomme.