Lance Lovette
0e26a3e27a
Correct generate_appcast -s command line argument usage help
...
Fixes sparkle-project/Sparkle#1766
2021-02-20 19:46:34 -08:00
Lance Lovette
16dc6c2b5b
Fix -f command line argument handling
...
https://github.com/sparkle-project/Sparkle/issues/1763
2021-02-17 20:14:34 -08:00
Zorg
afe03b7161
Fix compile errors in generate_appcast
2021-01-30 23:24:50 -08:00
Gwynne Raskind
93e4fd9424
Fix generate_appcast so links to localized release notes are embedded as full URLs instead of unescaped filenames. This makes them load reliably in complex contexts (such as the presence of characters like spaces in the filenames).
2020-10-12 12:43:43 -05:00
Denis Dzyubenko
6f1fceb7d4
generate_appcast follow symbolic links
...
When archives are stored as symlinks e.g. due to storing binary files in a
git-annex repository, everything works file except file size in the generate
feed xml file. This patch makes generate_appcast correctly determine file size
by following the symlink
(cherry picked from commit 7233bb93e7 )
2020-09-23 07:28:12 -05:00
Brad Andalman
65cab6a14d
generate_appcast can update the release notes element’s URL when required
...
Previously, generate_appcast could only add or remove the release notes element for an update. This was probably fine, because it was unlikely to change: the release notes URL was determined by the SUFeedURL.
However, now that —release-notes-url-prefix was added, the release notes element CAN change. So, with this commit, if the release notes element is present for an update, the URL will be set correctly.
(cherry picked from commit 7c7e924ed4 )
2020-09-23 07:26:54 -05:00
Kornel
923f15220f
Merge pull request #1648 from oneeightyg/feature-1646-generate-appcast-output-filename
2020-09-23 07:26:36 -05:00
Kornel
5fcc9a8aa9
Merge pull request #1644 from oneeightyg/feature-1642-release-notes-url-prefix
...
Add —release-notes-url-prefix to generate_appcast
(cherry picked from commit 7ea72a2af4 )
2020-09-23 07:24:03 -05:00
Gwynne Raskind
a95f1592cd
Fix several dozen warnings. Fix several things to actually respect the 10.9 minimum of the beta.
2020-07-25 02:19:50 -05:00
Gwynne Raskind
9422bf16ae
Forward-port improvements to generate_appcast from main branch (overridable download URL prefixes, extracting archives to uniqued output directory names during generation, -h flag to print usage, support for specifying Ed25519 key as string on command line, much smarter args parsing, ability to override keychain used to find signing keys)
2020-07-24 20:43:22 -05:00
Gwynne Raskind
418068e902
Forward-port PR #1499 (localized release notes in appcast) to 2.x
2020-07-24 20:33:35 -05:00
Kornel
0900d09ab3
Run swiftlint
2020-06-10 12:19:02 +01:00
Rajiv Shah
1755a3da05
Silence two warnings
2020-06-10 12:17:38 +01:00
Rajiv Shah
bb56b5b259
Run SwifLint autocorrect
2020-06-10 12:15:34 +01:00
Jordan Rose
a9ba760d6e
Rename generate_appcast briding header to match standard naming
2020-06-10 12:14:30 +01:00
Tony Arnold
8b40e22432
Update generate_appcast command line tool to support ed25519 signatures
...
This code has been ported directly from `master`.
Co-authored-by: Kornel Lesiński <github@pornel.net >
# Conflicts:
# Sparkle.xcodeproj/project.pbxproj
2020-06-10 12:14:30 +01:00
Daniel Jalkut
ee64dc7574
Update imports to use framework-style imports to avoid warnings when CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES. Add CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER to xcconfig file to protect against any changes that would introduce such warnings for clients who have the waring enabled.
2019-02-04 13:39:48 -05:00
Tamás Lustyik
a582d46096
Restored legacy CLI for backward compatibility
2018-05-13 21:33:03 +02:00
Tamás Lustyik
3f3ace055d
Fixed index out of bounds
2018-05-13 17:28:29 +02:00
Tamás Lustyik
886e4b2c81
More complex argument parsing to support both inputs
2018-05-13 16:28:05 +02:00
Tamás Lustyik
a418d8fe64
Function to load the private key directly from the keychain
2018-05-13 16:04:48 +02:00
Tamás Lustyik
b48e80aa27
Minor naming improvement
2018-05-13 15:50:46 +02:00
Kornel
c83c9221f7
Hidden verbose flag
2018-03-18 13:27:45 +00:00
Kornel
b46315df9c
Outdated comment
2018-03-18 13:27:43 +00:00
Kornel
ec7f55d173
Handle SecTransformExecute errors
...
Fixes #1129
2017-09-27 18:45:52 +02:00
Kornel
94074e2bdc
Merge pull request #1111 from sparkle-project/swift4
...
Update to Xcode 9/Swift 4
2017-08-14 13:02:21 +01:00
Kornel
43b4472d3c
Better error message
2017-08-01 15:55:25 +01:00
Kornel
260170f372
Warning
2017-08-01 15:54:52 +01:00
Kornel
ea85fc6442
Update to Xcode 9/Swift 4
2017-07-27 16:42:44 +01:00
Kornel Lesiński
ac042821d8
Special case for .tar.gz extension
2017-03-15 18:42:08 +00:00
Kornel Lesiński
662e84400a
Inline release notes if they don't look like a standalone HTML document
2017-03-15 18:42:08 +00:00
Kornel Lesiński
1683d2de34
Simplify release notes link check
2017-03-15 18:42:08 +00:00
Kornel Lesiński
615a08bc32
Feed formatting
2017-03-15 18:42:08 +00:00
Brett Walker
ac8c37096e
ignore .html files when scanning for archives
2017-03-11 12:09:53 +01:00
Brett Walker
c623480f72
when generating the appcast, if an .html file exists of the same name as
...
the archive, then it will be linked in as the releaseNotesLink
2017-03-08 10:57:59 +01:00
Brett Walker
5210e1d3ac
added sparkle:shortVersionString to the enclosure, #1032
2017-02-10 16:53:30 +01:00
Brett Walker
c0d4640508
percent encode the filename used in the delta url
2017-02-08 22:40:37 +01:00
Kornel Lesiński
03abfe2739
Fix #1020
2017-01-28 12:10:03 +00:00
Kornel Lesiński
27c560b7d5
Proper fix for #995
2017-01-13 01:02:55 +00:00
Kornel Lesiński
fbb040926e
Fix URL/path confusion
...
Fixes #995
2017-01-13 00:44:41 +00:00
Kornel Lesiński
ee80a66896
Don't try to preserve namespace prefixes, because Apple's serializer is buggy
...
filed as rdar 29901669
2017-01-06 16:29:29 +00:00
Kornel Lesiński
187ae4fe57
Verify that the XML is serialized properly
2017-01-06 16:29:29 +00:00
Kornel Lesiński
ca4d51561e
Silence too-verbose delta
2017-01-06 16:29:29 +00:00
Kornel Lesiński
915c2047bf
Fix accuracy of error message
2017-01-06 16:29:29 +00:00
Kornel Lesiński
271d504f6d
Expose magic numbers
2017-01-01 14:14:25 +00:00
Kornel Lesiński
9c0ccd4a57
Put latest version first to make wildcard filename matching easier
2017-01-01 14:14:25 +00:00
Kornel Lesiński
d38b29c858
Use more precise version for deltas to avoid filename clashes
2016-12-26 14:32:26 +01:00
Kornel Lesiński
e2b9fc7ffd
Fix path
2016-12-26 14:26:03 +01:00
Kornel Lesiński
0a45be54c4
Appcast helper tool
2016-12-23 19:22:13 +01:00