-
-
Notifications
You must be signed in to change notification settings - Fork 71
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
Add release engine for Sparkle #478
Comments
Here's the minimal required Appcast item schema: <item>
<title>{release.name}</title>
<link>{product.url}</link>
<sparkle:version>{release.version}</sparkle:version>
<sparkle:channel>{release.channel}</sparkle:channel>
<description>
<![CDATA[
{release.description}
]]>
</description>
<pubDate>{release.created_at}</pubDate>
<enclosure url="{artifact.url}"
sparkle:edSignature="{release.signature}"
length="{release.filesize}"
type="application/octet-stream" />
</item> Channel should be |
Sparkle, at least v2, does seem to send a useful user agent:
If we ever needed to use that to figure out how to respond, e.g. with an XML appcast when listing releases instead of JSON. |
Sparkle does support custom HTTP headers. This may be workable with an appcast that has relative URLs. |
If we automatically generated the appcast server side, then we’d need to allow an account admin to export their own private keys so that they can use it to sign their releases. We have to do this because Sparkle is eventually going to support signed appcasts, and if we’re generating them, we’d need the private key. I don’t like this for 2 reasons though:
To derisk 2, we could allow a separate publishing key to be provided to Keygen CLI. |
If we generate the appcast on behalf of the user, there's no way to set Another reason to not generate it ourselves and just let the publisher do it... |
What if we serialized a release's metadata as
Or simply serialize any metadata keys with a |
Respond with an XML payload that follows the Appcast format. Requires #475, #476 and #477.
Depends on outcome of sparkle-project/Sparkle#1980.
The text was updated successfully, but these errors were encountered: