mirror of
https://github.com/sparkle-project/Sparkle
synced 2026-11-27 05:04:27 +00:00
The update cycle is refactored and simplified. Notably we remove a suite of classes (automatic, probe, UI scheduled, UI initiated, core, basic, more..) and collapse them into a single update driver. If the update driver is started in automatic mode, it can escalate into UI mode without ending the cycle (previously we would end the cycle and flag that the next cycle had to be started in a UI mode carrying the previous update). SPUUpdater doesn't do installer progress queries anymore and thus these have been reduced. Even if a prior update has been downloaded before, the updater uses the regular scheduled check interval and the update driver is responsible for determining whether or not the impatient update interval has elapsed. Every update check checks if a newer superseded update is available and if it should replace any updates that have been previously been downloaded or started installing. The two conditions we do not check for superseded updates is if the installer is ran in the system domain (requiring authorization), and updating other bundles from an external updater (to not conflict with apps self-updating themselves). This change adds a UI test to test a superseded update is downloaded and began to install automatically. Fixes #2469. Previous attempt was in #2908 but I decided that was hacking the current architecture too much and exposing issues making it hard to implement this functionality correctly. Used AI for much of this refactoring, reviewing, and code implementation.
164 lines
8.4 KiB
XML
164 lines
8.4 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!-- sparkle-sign-warning:
|
|
IMPORTANT: This file must be re-signed if modifications are made to this file! The updated signature will be at the end of the file.
|
|
-->
|
|
<rss version="2.0" xmlns:sparkle="http://www.andymatuschak.org/xml-namespaces/sparkle" xmlns:dc="http://purl.org/dc/elements/1.1/">
|
|
<channel>
|
|
<title>Sparkle Test App Changelog</title>
|
|
<description>Most recent changes with links to updates.</description>
|
|
<language>en</language>
|
|
<item>
|
|
<title>Version 3.1</title>
|
|
<sparkle:version>3.1</sparkle:version>
|
|
<link>https://sparkle-project.org</link>
|
|
<sparkle:channel>supercede2</sparkle:channel>
|
|
<description>
|
|
<![CDATA[
|
|
<p>Superseding update.</p>
|
|
]]>
|
|
</description>
|
|
<pubDate>Sat, 26 Jul 2014 15:20:11 +0000</pubDate>
|
|
<enclosure url="http://localhost:1337/Sparkle_Test_App_Superseding.zip" length="$INSERT_SUPERCEDE2_ARCHIVE_LENGTH" type="application/octet-stream" sparkle:edSignature="$INSERT_SUPERCEDE2_EDDSA_SIGNATURE" />
|
|
</item>
|
|
|
|
<item>
|
|
<title>Version 3.0</title>
|
|
<sparkle:version>3.0</sparkle:version>
|
|
<link>https://sparkle-project.org</link>
|
|
<sparkle:channel>supercede1</sparkle:channel>
|
|
<description>
|
|
<![CDATA[
|
|
<p>Initial update, expected to be superseded before it's installed.</p>
|
|
]]>
|
|
</description>
|
|
<pubDate>Sat, 26 Jul 2014 15:20:11 +0000</pubDate>
|
|
<enclosure url="http://localhost:1337/Sparkle_Test_App.zip" length="$INSERT_SUPERCEDE1_ARCHIVE_LENGTH" type="application/octet-stream" sparkle:edSignature="$INSERT_SUPERCEDE1_EDDSA_SIGNATURE" />
|
|
</item>
|
|
|
|
<item>
|
|
<title>Version 2.2</title>
|
|
<sparkle:version>2.2</sparkle:version>
|
|
<link>https://sparkle-project.org</link>
|
|
<sparkle:channel>automatic</sparkle:channel>
|
|
<sparkle:fullReleaseNotesLink>releasenotes.html</sparkle:fullReleaseNotesLink>
|
|
<description>
|
|
<![CDATA[
|
|
<ul>
|
|
<li>Lorem ipsum dolor sit amet, consectetur adipiscing elit.</li>
|
|
</ul>
|
|
]]>
|
|
</description>
|
|
<pubDate>Sat, 26 Jul 2014 15:20:11 +0000</pubDate>
|
|
<enclosure url="http://localhost:1337/Sparkle_Test_App.zip" length="$INSERT_ARCHIVE_LENGTH" type="application/octet-stream" sparkle:edSignature="$INSERT_EDDSA_SIGNATURE" />
|
|
</item>
|
|
|
|
<item>
|
|
<title>Version 2.1</title>
|
|
<sparkle:version>2.1</sparkle:version>
|
|
<link>https://sparkle-project.org</link>
|
|
<sparkle:channel>delta</sparkle:channel>
|
|
<sparkle:fullReleaseNotesLink>releasenotes.html</sparkle:fullReleaseNotesLink>
|
|
<description sparkle:format="markdown">
|
|
< because it allows them to blog or write text without having to write all the opening/closing HTML tags. This makes blogging or writing software release notes with markdown a pleasant experience.
|
|
|
|
From a good friend:
|
|
|
|
> Markdown is also useful for applications that cannot embed WKWebView directly, such as apps without a download client entitlement, or Catalyst applications.
|
|
>
|
|
>> In quotes you can also have nested quotes, and the lines in nested quotes can be long enough to span over the next few lines, assuming that the lines are long enough.
|
|
>>
|
|
>> And that is how nested quotes can work. A known limitation is properly styling lists in blockquotes so I'd suggest to avoid that.
|
|
>
|
|
|
|
After this paragraph, you should see extra spacing from using a line break.
|
|
|
|
---
|
|
|
|
Code blocks from markdown are also supported using a monospace font:
|
|
|
|
```sh
|
|
me@Compy ~/D/P/Sparkle> ls
|
|
Autoupdate/ Carthage-dev.json Configurations/ generate_appcast/ InstallerLauncher/ Package.swift Sparkle/ TestAppHelper/ Vendor/
|
|
bin/ CHANGELOG DerivedData/ generate_keys/ InstallerStatus/ README.markdown sparkle-cli/ TestApplication/
|
|
BinaryDelta/ CODE_OF_CONDUCT.md Documentation/ INSTALL LICENSE Resources/ Sparkle.podspec Tests/
|
|
build/ common_cli/ Downloader/ InstallerConnection/ Makefile sign_update/ Sparkle.xcodeproj/ UITests/
|
|
```
|
|
|
|
Note though, Sparkle's markdown support does not support tables or images. It needs to work without loading additional resources and without switching to TextKit 1.
|
|
|
|
## Version 2.0
|
|
|
|
* **Redesigned Interface**: Enjoy a refreshed, modern UI that improves navigation and streamlines workflows across the app.
|
|
* **Cloud Sync Support**: Projects and settings can now be synced securely across multiple devices using your account.
|
|
* **Customizable Shortcuts**: Create and manage keyboard shortcuts for almost any action.
|
|
* Improved launch performance and reduced memory usage during startup.
|
|
* Fixed an issue where notifications could appear twice in some cases.
|
|
* Addressed several minor visual glitches in dark mode.]]>
|
|
</description>
|
|
<pubDate>Sat, 26 Jul 2014 15:20:11 +0000</pubDate>
|
|
<!-- Note: this file won't actually exist to ensure delta update works -->
|
|
<enclosure url="http://localhost:1337/Sparkle_Test_App.zip" length="100000" type="application/octet-stream" sparkle:edSignature="ootgYIwmnS1wa7Q/5SXDXnOVdKnjkjrFhm/D7ukW77k=" />
|
|
|
|
<sparkle:deltas>
|
|
<enclosure url="http://localhost:1337/patch.delta"
|
|
sparkle:deltaFrom="$INSERT_DELTA_FROM_VERSION"
|
|
length="$INSERT_DELTA_ARCHIVE_LENGTH"
|
|
type="application/octet-stream"
|
|
sparkle:edSignature="$INSERT_DELTA_EDDSA_SIGNATURE" />
|
|
</sparkle:deltas>
|
|
</item>
|
|
|
|
<item>
|
|
<title>Version 2.0</title>
|
|
<sparkle:version>2.0</sparkle:version>
|
|
<link>https://sparkle-project.org</link>
|
|
<sparkle:fullReleaseNotesLink>releasenotes.html</sparkle:fullReleaseNotesLink>
|
|
<description>
|
|
<![CDATA[
|
|
<style>
|
|
strong {
|
|
font-weight: 600;
|
|
}
|
|
ul li {
|
|
margin-bottom: 0.2em;
|
|
}
|
|
</style>
|
|
<h3>Version 2.0</h3>
|
|
<ul>
|
|
<li><strong>Redesigned Interface</strong>: Enjoy a refreshed, modern UI that improves navigation and streamlines workflows across the app.</li>
|
|
<li><strong>Cloud Sync Support</strong>: Projects and settings can now be synced securely across multiple devices using your account.</li>
|
|
<li><strong>Customizable Shortcuts</strong>: Create and manage keyboard shortcuts for almost any action.</li>
|
|
<li>Improved launch performance and reduced memory usage during startup.</li>
|
|
<li>Fixed an issue where notifications could appear twice in some cases.</li>
|
|
<li>Addressed several minor visual glitches in dark mode.</li>
|
|
</ul>
|
|
]]>
|
|
</description>
|
|
<pubDate>Sat, 26 Jul 2014 15:20:11 +0000</pubDate>
|
|
<enclosure url="http://localhost:1337/Sparkle_Test_App.zip" length="$INSERT_ARCHIVE_LENGTH" type="application/octet-stream" sparkle:edSignature="$INSERT_EDDSA_SIGNATURE" />
|
|
</item>
|
|
</channel>
|
|
</rss>
|
|
<!-- sparkle-signatures:
|
|
edSignature: $INSERT_EDDSA_FEED_SIGNATURE
|
|
length: $INSERT_FEED_LENGTH
|
|
-->
|