Skip to content

Conversation

scribblemaniac
Copy link
Member

This adds the update information to the appimage through linuxdeploy's updateinformation parameter when building from the release branch. This should cause it to generate a .zsync file which is zipped together with the AppImage for release uploads. In future releases this file will be included with the other release assets on Github.

This is marked WIP because I do not have the ability to full test this (my fork's CI environment is not set up to support uploads). I need someone to test that it uploads the files correctly still for the Linux builds, particularly on a release branch. I have tested enough to tell that it will work up until the upload step at least on both release and non-release branches. If someone could share the uploaded or link the release zip here, that would also be helpful as someone needs to verify that the update information is correctly embedded in the appimage and I should be able to do that if I get a copy of the appimage.

Also bundle zsync data for release builds.
@J5lx
Copy link
Member

J5lx commented Nov 20, 2021

Pretty cool! I’ll take a look at this later today

Copy link
Member

@J5lx J5lx left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good overall. I noticed one small issue in the zsync metadata which still contained the original filename (from before the rename), but I fixed that over here: scribblemaniac#8 I also adjusted the upload action to upload both files individually instead of zipped. Once that is merged (the zsync fix to be precise) this PR should be good to go as far as I’m concerned. Well done!

P.S. Here are the links to the AppImage and the zsync file.

@J5lx J5lx self-assigned this Nov 21, 2021
@scribblemaniac
Copy link
Member Author

The appimage seems to have the correct data as far as I can tell. Thanks for testing and the fixes.

Copy link
Member

@J5lx J5lx left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It’s been far too long. Since all issues have been addressed, I reckon it’s time to merge this. I’ll also update the release checklist as discussed on Discord.

J5lx added a commit that referenced this pull request Jan 11, 2022
[WIP] Add AppImageUpdate support to Linux AppImage releases
@J5lx
Copy link
Member

J5lx commented Jan 11, 2022

GitHub apparently didn’t recognize the merge again, so I’m closing this manually. The PR has been merged, though.

@J5lx J5lx closed this Jan 11, 2022
@scribblemaniac scribblemaniac changed the title [WIP] Add AppImageUpdate support to Linux AppImage releases Add AppImageUpdate support to Linux AppImage releases Jan 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

Successfully merging this pull request may close these issues.

3 participants