pacmax beta

Alfred Pac by attaswift on GitHub

swift evolution

An Alfred workflow for looking up Swift evolution proposals

From their README

alfred-swift-evolution

An Alfred workflow for looking up Swift evolution proposals. Written in Swift, of course.

Requirements

You must have Swift 5 or newer installed (either by a version of Xcode or Command Line Tools).

Download

Download version 2.2.0 of alfred-swift-evolution.alfredworkflow.

Usage

Type se followed by a space to list all proposals (more recent first). Optionally type a search string to filter results.

You can filter by proposal number:

Filter by number

Or by proposal status:

Filter by status

Or by keyword:

Filter by keyword

Available actions:

  • Press Return to open the proposal in the browser.
  • Hold down Command to copy the proposal title to the clipboard.
  • Hold down Shift+Command to copy a Markdown link to the proposal to the clipboard.
  • (To copy the URL, hit Tab on a proposal and select Copy as Plain Text from the menu.)

Workflow variables

The script forwards four variables to Alfred that can be used in subsequent workflow actions:

If you want to customize the workflow for your needs, you can use these variables in your actions. Refer to the "Copy Markdown link" action for an example.

Latest release

  • 2.2.02 years ago, 47 KBDownload

    Fixes (also sort of a new feature):

    • Support the new Swift Evolution JSON metadata format.

      If you get a parse error in v2.1.0, please update to v2.2.0.

      For details on the new metadata format, see James Dempsey’s Swift Forum thread Swift Evolution Metadata Transition (2024-04). A benefit of the new format is that we can display and search some additional metadata, e.g. the upcoming feature flag a proposal introduces.

3 earlier releases
  • 2.1.03 years ago, 47 KBDownload

    New maintainer: @ole

    Bugfixes and improvements:

    • Fix broken proposal retrieval by adapting to data format and URL changes on swift.org.

    • The proposal title is now displayed more prominently in Alfred (together with the proposal ID).

    • New actions in Alfred:

      • Hold down Command to copy the proposal title to the clipboard.
      • Hold down Shift+Command to copy a Markdown link to the proposal to the clipboard.
      • (To copy the URL, hit Tab on a proposal and select Copy as Plain Text from the menu. This is not a new feature.)
    • The script now forwards four variables to Alfred that can be used in subsequent workflow actions:

      If you want to customize the workflow for your needs, you can use these variables in your actions. Refer to the "Copy Markdown link" action for an example.

    • Display more detailed error messages in Alfred on network or parsing failures.

  • 2.0.19 years ago, 44 KBDownload

    This is a bugfix release with the following changes:

    • The query string is now case insensitive, as it should be.
    • You can now search for proposals using the internal name of a particular proposal status (such as .rejected or .acceptedWithRevisions).
    • You now have to insert a space between <kbd>se</kbd> and your query string. Previously, the workflow also triggered for queries such as <kbd>setup</kbd>, which was not a good idea.
    • The timing of how the script is run when you modify the query string has been tweaked.
  • 2.0.09 years ago, 45 KBDownload

    This third release of alfred-swift-evolution contains the following improvements:

    • The script implementing the workflow is now written in Swift.
    • Proposal information is now downloaded from the JSON API behind the official Swift evolution review status page.
    • Alfred now displays a list of matching proposals, not just a generic item for running the actual lookup.
    • Matching proposals are now listed with their title and current status.
    • You can filter proposals by keyword or status, not just by proposal number.

    (The first two releases of the workflow are not included in this repository.)