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

Support Squirrel flag JSON output for SUFeedURL - Sparkle #1304

Closed
rishimodha opened this issue Nov 2, 2019 · 8 comments
Closed

Support Squirrel flag JSON output for SUFeedURL - Sparkle #1304

rishimodha opened this issue Nov 2, 2019 · 8 comments
Assignees
Labels
feature request New feature request hockeyapp Related to HockeyApp's transition to App Center

Comments

@rishimodha
Copy link

Describe the solution you'd like
Support the Squirrel flag for the Sparkle update feed. This was supported on HockeyApp and it is required for Electron AutoUpdater, which does not support XML output and requires JSON. See example: https://rink.hockeyapp.net/api/2/apps/bc02347d258a40e2af46cc8de3566bab.json?squirrel=true

Describe alternatives you've considered
It won't be possible for us to complete the transition to AppCenter from HockeyApp until support for Squirrel JSON format is added. Please do not force a transition before this is supported as it will cut off our customer's ability to update their apps.

@rishimodha rishimodha added the feature request New feature request label Nov 2, 2019
@ajaykn
Copy link

ajaykn commented Nov 4, 2019

Hi @rishimodha,

Thanks for bringing up this issue to our notice.
This was of low priority when we started sparkle feed support in AppCenter.

Now, we have added the support of Squirrel JSON format.
Here is the corresponding AppCenter sparkle feed url for your example.

https://api.appcenter.ms/v0.1/public/sparkle/apps/<app_secret>?squirrel=true
This returns the latest release in JSON format and if there is no release then returns empty object.

https://api.appcenter.ms/v0.1/public/sparkle/apps/<app_secret>
This as usual returns the latest 5 releases in xml format.

Please let us know your experience on this and get back to us if you have any other concerns/requirements.

@rishimodha
Copy link
Author

@Ajaykn21 thanks for adding this.

If possible, can you add handling to redirect the HockeyApp URL that contains the squirrel tag to the corresponding AppCenter URL with the squirrel tag?

@ajaykn
Copy link

ajaykn commented Nov 4, 2019

Yeah @rishimodha, we are working on this already and will update over here once it is ready.

@dipree dipree added the hockeyapp Related to HockeyApp's transition to App Center label Nov 4, 2019
@rishimodha
Copy link
Author

@Ajaykn21 - Any update on this?

@ajaykn
Copy link

ajaykn commented Nov 11, 2019

@rishimodha , we are flooded with other priority requests. We have started working on this and will update you once done.

@ajaykn
Copy link

ajaykn commented Nov 13, 2019

@rishimodha, we have released this to Production.
And we redirect HockeyApp Sparkle feed to AppCenter Sparkle feed for the apps that are transitioned.

Example:
https://rink.hockeyapp.net/api/2/apps/<hockeyapp_App_id>.json?squirrel=true will be redirected to
https://api.appcenter.ms/v0.1/public/sparkle/apps/<appcenter_app_secret>?squirrel=true

Although, it is recommended to update your apps SUFeedUrl to AppCenter Sparkle feed url.
Can you please check and let us know.

@rishimodha
Copy link
Author

@Ajaykn21 Yes, this working great. Thank you!

@ajaykn
Copy link

ajaykn commented May 3, 2020

@rishimodha can we close this issue, as this is already fixed ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request New feature request hockeyapp Related to HockeyApp's transition to App Center
Projects
None yet
Development

No branches or pull requests

3 participants