provide easy url to grab latest nightly AppImage
Currently if I go to https://bintray.com/musescore/nightlies-linux/ to download the latest app image for my architecture, I have to
- click on package for my desired branch & architecuture
- click the Version marked with "latest nightly badge" (which should be topmost entry in right hand side list)
- click the green "Files" tab
- click on the link that doesn't end with .zsync
It would save time and confusion if there was just one url on the musescore.org download page for each branch & architecture which always points to latest appimage.
(Don't forget that after it downloads, you have to chmod +x before executing, because linux sets downloaded files as nonexecutable for security purposes.)
Note: I realize that the AppImage update feature will hopefully be comming, but still for initial download, this would be very useful.
Comments
I don't see anything easy on bintray for this. We will need to use some call to their API.
Javascript will be hard since they don't support CORS...
A call to https://api.bintray.com/packages/musescore/nightlies-linux/MuseScoreNig… will give the latest_version for the 32bit, 2.0.3 nightlies. From there we can construct a link to https://bintray.com/artifact/download/musescore/nightlies-linux/MuseSco…
Another way would be to register a webhook https://bintray.com/docs/api/#_register_a_webhook and have musescore.org notified when a new package is available...
You can link directly to the latest version for a particular architecture like this:
https://bintray.com/musescore/nightlies-linux/MuseScoreNightly-2.0.3-i6…
(Simply add "
_latestVersion#files
" to the end of the package URL.)You can also modify the code for the Latest Version badge to do the same:
We can add a note to the package pages to say what the zsync files are there for.
In reply to You can link directly to the by shoogle
Thanks!
>> You can link directly to the latest version for a particular architecture like this...
I've updated https://musescore.org/en/download#Nightly-versions to have download links for x86 32-bit & 64-bit Linuxes, both 2.0.3 and master. I think that these AppImages are ready for regular people to use, now that I think gotten out most AppImage packaging bugs! (I removed the old linux nightly link which is outdated by several months.)
>> You can also modify the code for the Latest Version badge to do the same.
I say that markdown should be added to the github.com/musescore/MuseScore readme.md
>> We can add a note to the package pages to say what the zsync files are there for.
I think if lasconic add a note to his "nightlies-linux" bintray packages README, then people who click on the readme link https://bintray.com/musescore/nightlies-linux/MuseScoreNightly-2.0.3-i6… will figure it out.
In reply to Thanks! >> You can link by ericfontainejazz
There is a security issue if any peon forum user like myself can edit the offical download links! I could redirect to malware!! :O I realize you do see the changes in the revision history, but you might be too busy to notice.
In reply to There is a security issue if by ericfontainejazz
It's a choice by design, to allow anyone to contribute without having to ask permission first. Obviously this openness can only work when several of us keep track of the recent changes and revert things if needed.
In reply to It's a choice by design, to by Thomas
got it. The fact that you have responding here is reassuring. :)
In reply to got it. The fact that you by ericfontainejazz
FYI, I've updated the Linux Penguin .png in https://musescore.org/en/download#Nightly-versions heading to point to https://bintray.com/musescore/nightlies-linux/ instead of the outdated site.
Someone will need to update for all the other languages, I suppose.
In reply to It's a choice by design, to by Thomas
Thomas (or anyone), what would be the easiest way to update these nightly links in downloads page for *ALL* languages? I don't want to manually go through everything, but will if necessary.
In reply to Thomas (or anyone), what by ericfontainejazz
done for the German page, many others are marked as outdated.
Any if you't nor been given translators' rights for those, you won't be able to fix them
In reply to done for the German page, by Jojo-Schmitz
thanks Jojo.
It seems I don't have any permissions outside of /en/, so I'll leave this to someone else to fix.
In reply to Thomas (or anyone), what by ericfontainejazz
Actually, easiest would be to redirect http://prereleases.musescore.org/linux/nightly/ to https://bintray.com/musescore/nightlies-linux/
I don't think I have permission to do that...can you do that? That old page is way outdated.
In reply to Actually, easiest would be to by ericfontainejazz
Nope, I can't. Thomas can.
In reply to Actually, easiest would be to by ericfontainejazz
Wow, I didn't know MuseScore was active in 1969. ;)
In reply to Actually, easiest would be to by ericfontainejazz
Ok, I'll look into the redirection today. Keeping you posted.
In reply to Ok, I'll look into the by Thomas
The prereleases.musescore.org page will be directed to the nightly anchor on the download page. From there, Linux users will able to choose the version and 32/64 and be redirected to bintray where instructions will be available if we fix #102126: AppImage nightlies on bintray: set version description with installation procedure
In reply to You can link directly to the by shoogle
The download link is good but we know miss a place to host the instructions to run the AppImage. We could add it to the package page indeed but nobody will read it since they are directed to the version page. Can we edit the description of a version when uploading? I created an issue to track this #102126: AppImage nightlies on bintray: set version description with installation procedure
Once 2.0.3 is released it would be good to have a top-level helper page for AppImages, like this one for Ubuntu packages, perhaps located at /appimage or /linux. Come to think of it, it might be a good idea to split the handbook page on Installation into separate pages for Windows, Mac and Linux, and simply have the /linux top-level URL redirect to the Linux handbook page. Same could potentially be done for /windows and /mac. /de/linux would redirect to the German handbook page, etc.
For release packages, see #102131: Download page for AppImage release packages with installation instructions