-
-
Notifications
You must be signed in to change notification settings - Fork 64
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 Sparkle distribution engine #481
Conversation
What about deltas? Could eventually define a <item>
<title>Version 2.0 </title>
<link>https://myproductwebsite.com</link>
<sparkle:version>2.0</sparkle:version>
<description>foo bar baz</description>
<pubDate>Wed, 09 Jan 2006 19:20:11 +0000</pubDate>
<enclosure url="http://you.com/2.0_full.zip"
length="123"
type="application/octet-stream"
sparkle:edSignature="..." />
<sparkle:deltas>
<enclosure url="http://you.com/1.5-2.0.delta"
sparkle:deltaFrom="1.5"
length="1485"
type="application/octet-stream"
sparkle:edSignature="..." />
<enclosure url="http://you.com/1.6-2.0.delta"
sparkle:deltaFrom="1.6"
length="1428"
type="application/octet-stream"
sparkle:edSignature="..." />
</sparkle:deltas>
</item> |
I'm not sure if Sparkle will work with relative |
df5bfbe
to
d487163
Compare
|
||
include Rails.application.routes.url_helpers | ||
|
||
def initialize(account:, product:, releases:) | ||
def initialize(account:, product:, releases:, host: 'api.keygen.sh') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe we can eventually use Current.host
here, if we get traction with custom domains.
@@ -4,19 +4,21 @@ | |||
|
|||
class GenerateAppcastService < BaseService | |||
SUPPORTED_FILETYPES = %i[zip dmg pkg mpkg tar.gz tar.bz2].freeze | |||
SUPPORTED_PLATFORMS = %i[macos windows].freeze | |||
SUPPORTED_PLATFORMS = %i[macos windows windows-x86 windows-x64].freeze |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What if we just removed filtering platforms and filetypes? Unsupported items would simply be ignored, and it’d be more forward compatible.
d4f2e94
to
d146389
Compare
Add caching. |
ad595e0
to
a5b0dc0
Compare
3fc8952
to
d515cb6
Compare
a78fcc6
to
1462020
Compare
b18f142
to
ac4cdaf
Compare
cab84a1
to
a390331
Compare
Related to #478. Requires #470 to be able to read a product.