New build of versions notification/information

Discussion in 'Feedback/Feature Requests' started by Hedloff, Jul 13, 2017.

  1. Hedloff

    Hedloff Well-Known Member

    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 :)
     
  2. NiteWave

    NiteWave Administrator

    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
     
  3. Hedloff

    Hedloff Well-Known Member

    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 :)
     
  4. Michael A

    Michael A Administrator Staff Member

    Last edited: Jul 24, 2017
  5. Hedloff

    Hedloff Well-Known Member

    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
     
  6. Hedloff

    Hedloff Well-Known Member

    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.
     

    Attached Files:

    • 522.png
      522.png
      File size:
      12.5 KB
      Views:
      1
  7. NiteWave

    NiteWave Administrator

    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: Nov 22, 2017

Share This Page