Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

upload the zsync file #4529

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

Fuseteam
Copy link

i might still need to look into deleting the old zsync file just like it's deleting the old appimage file but otherwise this is ready

@Fuseteam Fuseteam force-pushed the fix-appimage-update branch from 5e21675 to 3eb4438 Compare May 14, 2022 16:28
@nextcloud-desktop-bot
Copy link

AppImage file:

To test this change/fix you can simply download above AppImage file and test it.

Please make sure to quit your existing Nextcloud app and backup your data.

@Fuseteam
Copy link
Author

i don't quite see why it failed

@Thatoo
Copy link
Contributor

Thatoo commented May 18, 2022

It fails because devs didn't yet review it which is the first step.

@FlexW and @mgallien could you review this PR please that would allow to upload the zsync file missing for the AppImage to be able to auto-update .

@mgallien
Copy link
Collaborator

mgallien commented Jun 3, 2022

@Fuseteam very sorry for the extra delay on our side to get a proper review

thanks for your work

@Fuseteam
Copy link
Author

Fuseteam commented Jun 3, 2022

no worries, i look forward to the review~

p.s. i see the DCO is now failing, anything i need to do?

@Thatoo
Copy link
Contributor

Thatoo commented Jun 3, 2022

no worries, i look forward to the review~

p.s. i see the DCO is now failing, anything i need to do?

Yes, you'll have to merge the master branch into your Fuseteam:fix-appimage-update branch. However, don't do it right now as you'll have to do it everytime something change in master till you merge so wait for the review and when the review is ok, you merge master into your branch and then DCO will start again and will be, hopefully, OK.

@mgallien mgallien force-pushed the fix-appimage-update branch from f880a5b to 710423a Compare June 29, 2022 07:51
@mgallien
Copy link
Collaborator

no worries, i look forward to the review~

p.s. i see the DCO is now failing, anything i need to do?

The best is to follow the instructions here

@Fuseteam
Copy link
Author

Fuseteam commented Jul 3, 2022

@mgallien is the review ok?

@Fuseteam Fuseteam force-pushed the fix-appimage-update branch from 710423a to 711fabc Compare July 13, 2022 17:00
@Fuseteam
Copy link
Author

Fuseteam commented Jul 13, 2022

@mgallien the DCO is fine now
tho one of the workflow yaml files seems broken, afaik my pr didn't touch it

@Fuseteam Fuseteam force-pushed the fix-appimage-update branch from 711fabc to 273a2dc Compare July 22, 2022 18:21
@Fuseteam Fuseteam force-pushed the fix-appimage-update branch from 273a2dc to b28f9cd Compare December 12, 2022 17:58
@Fuseteam
Copy link
Author

bah the rebase broke the DCO xd

@Fuseteam Fuseteam force-pushed the fix-appimage-update branch from b28f9cd to 1b38c3c Compare December 12, 2022 18:00
@Thatoo
Copy link
Contributor

Thatoo commented Dec 23, 2022

@mgallien could you review please and tell @Fuseteam if something is wrong in his code?

@Fuseteam Fuseteam force-pushed the fix-appimage-update branch from 1b38c3c to 560d36f Compare February 15, 2023 14:46
@Fuseteam
Copy link
Author

@mgallien are there are blockers left for this PR?

@mgallien mgallien force-pushed the fix-appimage-update branch from 560d36f to 83d3413 Compare February 17, 2023 12:08
@mgallien
Copy link
Collaborator

@mgallien are there are blockers left for this PR?

not sure how to test the upgrade path of an AppImage
@Fuseteam do you have pointers to documentation about that ?
despite having to work with AppImage, I am still lacking some good docs reference

@mgallien
Copy link
Collaborator

@mgallien are there are blockers left for this PR?

DCO is still unhappy
see error message

Commit sha: [22bbfef](https://github.com/nextcloud/desktop/pull/4529/commits/22bbfef50d500e4d0a7e885b098144bb41bbeaf2), Author: Rahammetoela Toekiman, Committer: Matthieu Gallien; Expected "Rahammetoela Toekiman [[email protected]](mailto:[email protected])", but got "Fuseteam [[email protected]](mailto:[email protected])".

@codecov
Copy link

codecov bot commented Feb 17, 2023

Codecov Report

Merging #4529 (a3bab86) into master (10b623e) will decrease coverage by 2.33%.
The diff coverage is n/a.

❗ Current head a3bab86 differs from pull request most recent head 8b3539e. Consider uploading reports for the commit 8b3539e to get more accurate results

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #4529      +/-   ##
==========================================
- Coverage   60.16%   57.83%   -2.33%     
==========================================
  Files         145      141       -4     
  Lines       18771    18149     -622     
==========================================
- Hits        11293    10496     -797     
- Misses       7478     7653     +175     

see 70 files with indirect coverage changes

@Fuseteam
Copy link
Author

@mgallien are there are blockers left for this PR?

not sure how to test the upgrade path of an AppImage @Fuseteam do you have pointers to documentation about that ? despite having to work with AppImage, I am still lacking some good docs reference

i do not, but iirc https://github.com/AppImageCommunity/AppImageUpdate uses the zsync file to detect if there's an update and download it

@Fuseteam Fuseteam force-pushed the fix-appimage-update branch from 83d3413 to f2a02b0 Compare February 17, 2023 18:40
@Fuseteam
Copy link
Author

@mgallien DCO seems happy now, not sure about the rest

@Fuseteam
Copy link
Author

Oh wait now i see the full error

@Fuseteam Fuseteam force-pushed the fix-appimage-update branch from f2a02b0 to 0a0ad12 Compare February 17, 2023 20:34
@Fuseteam
Copy link
Author

@mgallien now it should be fine

@Fuseteam
Copy link
Author

lol 2 years and counting xD

@Fuseteam Fuseteam force-pushed the fix-appimage-update branch from 01e312c to 38b25a5 Compare October 2, 2024 14:55
@Rello Rello added this to the 3.16.0 milestone Dec 3, 2024
@mgallien
Copy link
Collaborator

mgallien commented Jan 8, 2025

@Fuseteam sorry for the extra long delay
I could never really find time to work on this
sorry to ask again (unless I missed if)
what would be still needed to have automated update for AppImage ?
let me then keep an active eye on this to ensure we eventually get all of this done

@mgallien
Copy link
Collaborator

mgallien commented Jan 8, 2025

given that the deployment on some proper place to distribute update packages would happen when we do a release similar to what we need to do with sparkle framework on macOS
we can look into modifying our release steps to take this into account (no matter if that is automated or not)
see for example #2599

@Fuseteam
Copy link
Author

Fuseteam commented Jan 8, 2025

@Fuseteam sorry for the extra long delay I could never really find time to work on this sorry to ask again (unless I missed if) what would be still needed to have automated update for AppImage ? let me then keep an active eye on this to ensure we eventually get all of this done

i think this is supposed to fix it, i believe all we need is to get the zsync file uploaded so that the appimage is able to download just the delta on its own. This PR should do that if memory serves

@Fuseteam
Copy link
Author

Fuseteam commented Jan 8, 2025

granted i have moved on to use the snap version as that has automatic updates out of the box. I moved on in part because appimages rely on fuse2 library which has been unmaintained for years at this point (fuse3 is already out) and some distros have begun not shipping fuse2 out of the box. the snap is community maintained, but if you guys would like to incorporate it in the release steps that would be nice too.

That said i'm willing to see this pr to the end

@mgallien
Copy link
Collaborator

mgallien commented Jan 8, 2025

@Fuseteam with regard to Linux, the only currently official package format is AppImage because that was supposed to be able to run anywhere
thanks for letting me know that this may have to change in the future
up to now, all other packages are supported by us but run by the community as they wish and on their own
I will check the current state of the AppImage update mechanism and come back here soon

Signed-off-by: Rahammetoela Toekiman <[email protected]>
Signed-off-by: Rahammetoela Toekiman <[email protected]>
Signed-off-by: Rahammetoela Toekiman <[email protected]>
Signed-off-by: Rahammetoela Toekiman <[email protected]>
Signed-off-by: Rahammetoela Toekiman <[email protected]>
@Fuseteam Fuseteam force-pushed the fix-appimage-update branch from 38b25a5 to 9521d3e Compare January 8, 2025 14:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants