plugins
plugins copied to clipboard
fixme: SwiftLint updated universal downloads since release 0.58.0.
Issue/Discussion.
Since version 0.50.0, SwiftLint has been using a new naming scheme and format (no longer portable_swiftlint.zip) for their universal releases (now called Universal MacOS Binary- a binary file). If support for older versions is valuable but changes to trunk are not wanted, renaming older versions to swiftlint-legacy and appending the new download under swiftlint could resolve this, although it would be breaking for few. Otherwise, a few options are available:
- Allow alternative links for downloads (ex: when a status code of 404 is hit continuously).
- Allow versioned downloads under the same name (or equivalently but more ambiguously, url becomes urls with order-priority).
-
This requires trunk perform unarchiving optionally which could be already implemented.
-
- As previously mentioned, redefine the current swiftlint plugin as
swiftlint-legacy(slightly breaking for older workflows) and through a replacement plugin fix the download.
There may be other fixes that I am not aware of but hopefully this gets the ball rolling :)