New build of versions notification/information

Hedloff

Well-Known Member
#1
Hello,

It would be great if you could post in the forums and even in twitter if you release new builds of a version. Like on version 5.2 there are build 2 out now.
How can I know that without you telling us about it? Is there also a command in ssh to check build version? That would also be great :)
 

NiteWave

Administrator
#2
Just FYI, this is not a formal document or API, but can get latest build's info.
  • package time stamp -- Last-Modified
Code:
~>curl -I https://www.litespeedtech.com/packages/5.0/lsws-5.2-ent-x86_64-linux.tar.gz.lastbuild
HTTP/1.1 200 OK
ETag: "2-596814f3-565c8f9a9e5b1040"
Last-Modified: Fri, 14 Jul 2017 00:48:51 GMT
Content-Type: application/octet-stream
Accept-Ranges: bytes
Content-Length: 2
Date: Fri, 14 Jul 2017 02:16:14 GMT
Server: LiteSpeed
Alt-Svc: quic=":443"; v="35,37"
Connection: Keep-Alive
  • build number
it's download URL + ".lastbuild"
Code:
~>curl -i https://www.litespeedtech.com/packages/5.0/lsws-5.2-ent-x86_64-linux.tar.gz.lastbuild
HTTP/1.1 200 OK
ETag: "2-596814f3-565c8f9a9e5b1040"
Last-Modified: Fri, 14 Jul 2017 00:48:51 GMT
Content-Type: application/octet-stream
Accept-Ranges: bytes
Content-Length: 2
Date: Fri, 14 Jul 2017 02:24:43 GMT
Server: LiteSpeed
Alt-Svc: quic=":443"; v="35,37"
Connection: Keep-Alive

3
build is 3 at the time being
 

Hedloff

Well-Known Member
#3
Ok....that has to work for now.
But I would really appriciate some kind of changelog in the future if that is possible or an easier way to see the build version :)
 

Hedloff

Well-Known Member
#5
Thanks :)
See that command "cat /usr/local/lsws/autoupdate/build" will work fine!

But I miss "some" release notes. For example for build 6 and build 8 :D
 

Hedloff

Well-Known Member
#6
On some server I see version 5.2.2 build 9.
But if I run /usr/local/lsws/admin/misc/lsup.sh -f -v 5.2.2 on some server I see build 4 is installed.

Could you please explain this? They have run on build 9 for quite some time now.
 

Attachments

NiteWave

Administrator
#7
lsws web admin just read /usr/local/lsws/autoupdate/build and display it.
if for some reason, this file is not updated then it'll be displayed as it is. build 9 should belong 5.2.1
if you already run lsup.sh at command line as root, the file should be always updated correctly.
it's root:root when update on command line as root, can't be overwritten when update it via lsws web admin.
 
Last edited:
Top