mirror of
https://github.com/sparkle-project/Sparkle
synced 2026-11-24 04:38:16 +00:00
Also log out the download failure when a delta update fails to download (such as a 404 error for example). Additionally, add a check to make sure that top-level appcast items cannot be delta update items.
65 lines
2.5 KiB
XML
65 lines
2.5 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<rss version="2.0" xmlns:sparkle="http://www.andymatuschak.org/xml-namespaces/sparkle">
|
|
<channel>
|
|
<title>For unit test only</title>
|
|
<!-- Implicitly no channels -->
|
|
<item>
|
|
<title>Version 2.0</title>
|
|
<description>desc</description>
|
|
<pubDate>Sat, 26 Jul 2014 15:20:11 +0000</pubDate>
|
|
<enclosure url="http://localhost:1337/Sparkle_Test_App.zip" sparkle:version="2.0" />
|
|
<sparkle:criticalUpdate sparkle:version="1.5" />
|
|
</item>
|
|
<!-- Invalid channel name -->
|
|
<item>
|
|
<title>Version 3.0</title>
|
|
<sparkle:tags><sparkle:criticalUpdate /></sparkle:tags>
|
|
<enclosure url="http://localhost:1337/Sparkle_Test_App.zip" sparkle:version="3.0" length="1346234" />
|
|
<sparkle:deltas>
|
|
<enclosure url="http://localhost:1337/3.0_from_2.0.patch"
|
|
sparkle:version="3.0"
|
|
sparkle:deltaFrom="2.0"
|
|
length="1235"
|
|
type="application/octet-stream"
|
|
sparkle:edSignature="..." />
|
|
|
|
<enclosure url="http://localhost:1337/3.0_from_1.0.patch"
|
|
sparkle:version="3.0"
|
|
sparkle:deltaFrom="1.0"
|
|
length="1485"
|
|
type="application/octet-stream"
|
|
sparkle:edSignature="..." />
|
|
</sparkle:deltas>
|
|
|
|
<sparkle:channel></sparkle:channel>
|
|
</item>
|
|
<!-- Beta channel -->
|
|
<item>
|
|
<title>Version 4.0</title>
|
|
<sparkle:version>4.0</sparkle:version>
|
|
<pubDate>Sat, 26 Jul 2014 15:20:13 +0000</pubDate>
|
|
<enclosure url="http://localhost:1337/Sparkle_Test_App.zip" length="1346234" />
|
|
<sparkle:channel>beta</sparkle:channel>
|
|
</item>
|
|
<!-- Nightly channel -->
|
|
<item>
|
|
<title>Version 5.0</title>
|
|
<sparkle:version>5.0</sparkle:version>
|
|
<enclosure url="http://localhost:1337/Sparkle_Test_App.zip" length="1346234" />
|
|
<sparkle:channel>nightly</sparkle:channel>
|
|
</item>
|
|
<!-- A Windows release -->
|
|
<item>
|
|
<title>Version 6.0</title>
|
|
<sparkle:version>6.0</sparkle:version>
|
|
<enclosure url="http://localhost:1337/Sparkle_Test_App.zip" length="1346234" sparkle:os="windows" />
|
|
</item>
|
|
<!-- An invalid release with top level delta item -->
|
|
<item>
|
|
<title>Version 7.0</title>
|
|
<sparkle:version>7.0</sparkle:version>
|
|
<enclosure url="http://localhost:1337/Sparkle_Test_App.zip" length="1346234" sparkle:deltaFrom="5.0" sparkle:edSignature="..." />
|
|
</item>
|
|
</channel>
|
|
</rss>
|