Menu

Where do we tell user how to fetch and build a new release?

2020-08-23
2020-09-04
  • Jonathan S Watson

    Is there any single place in the documentation that tells how to update Jamulus to a new release, when working from the source code?
    For example, Raspberry Pi users may need to do that. I could not find official instructions, so if they exist then we need to provide better ways to find them.

    As a starting point, the following commands worked to update to a new Jamulus release.

    sudo apt update
    cd jamulus
    git pull
    git checkout r3_5_10 # change these numbers to match the release you want
    make clean # remove old Qt files
    make # might take an hour
    sudo cp Jamulus /usr/local/bin/Jamulus
    cd

     
  • Jonathan S Watson

    I added the update information to the install page.
    https://github.com/corrados/jamulus/wiki/Installation-for-Linux

    But which should the last command be?
    1) sudo cp Jamulus /usr/local/bin/Jamulus
    2) sudo make install

    Also, how do you make comments line up? The preview shows them correctly, but the finished page does not.

     

    Last edit: Jonathan S Watson 2020-09-02
    • Gilgongo

      Gilgongo - 2020-09-03

      Hi Jonathan,

      There were in fact upgrade instructions on the wiki, which simply said:

      "To upgrade Jamulus, download the new sources and repeat the above instructions."

      The reason for this is that you don't need git to install Jamulus, and you can just download and unzip the latest release from here or from the Sourceforge page.

      I agree that info was too hidden though so I've pulled out separately.

      BTW we should not repeat the compilation instrucitons as they might change over time. Having important info like that in more than one place is not a good idea.

      If you want to provide instructions for automatically getting the lagest version using git, then we can pull that out separately. However, we don't want to make it look harder to use the Linux version than it is (or make the install insructions longer than they already are), so I'd put that in a footnote.

      I'll also add this to the server page, where I've suggested the following if people want to grab the latest version for compliation (it's fine to have this kind of thing there if people are used to scripting and the CLUI):

      R=`curl -s https://api.github.com/repos/corrados/jamulus/releases/latest | grep -oP '"tag_name": "\K(.*)(?=")'`
      wget https://github.com/corrados/jamulus/archive/$R.tar.gz
      tar -xvf $R.tar.gz
      
       

      Last edit: Gilgongo 2020-09-03
      • Gilgongo

        Gilgongo - 2020-09-04

        BTW at the risk of making the Linux install look slighty more complicatated, I've added the commands to use to grab the current release automatically from Github (and linked to this from the server page too).