From 1585f918a15e06ac63a699138f17c572a70f57f6 Mon Sep 17 00:00:00 2001 From: Kojiro Futamura <156894+futamura@users.noreply.github.com> Date: Fri, 21 Aug 2026 17:10:59 +0900 Subject: [PATCH] fix: make the SPI author line a full sentence SPI only adds the "Written by" prefix and the full stop to the author line it derives from the commit history. A `metadata.authors` value from .spi.yml is rendered verbatim, so the previous value would have shown as a bare fragment next to the other sentences on the package page. The value now carries the prefix and the full stop itself. SPI reads this from the default branch only -- the release manifest is not consulted -- so the change lands whenever SPI next reprocesses main. --- .spi.yml | 6 ++++-- CHANGELOG.md | 4 ++++ 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/.spi.yml b/.spi.yml index c69bdd7..7d6cc46 100644 --- a/.spi.yml +++ b/.spi.yml @@ -9,9 +9,11 @@ # available. version: 1 # Overrides the author line SPI derives from the commit history, which still -# credits the repository's former `gumob` handle. +# credits the repository's former `gumob` handle. SPI renders this value +# verbatim -- unlike the derived line, it gets no "Written by" prefix and no +# full stop -- so the value has to be a complete sentence. metadata: - authors: Kojiro Futamura and contributors + authors: Written by Kojiro Futamura and contributors. builder: configs: - documentation_targets: [Punycode] diff --git a/CHANGELOG.md b/CHANGELOG.md index 4f2f6ac..90f2b29 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +### Fixed + +- The author line on the Swift Package Index page reads as a sentence again. SPI renders `metadata.authors` from `.spi.yml` verbatim, without the "Written by" prefix and full stop it adds to the line it derives from the commit history, so the value now carries them itself. + ## [4.0.2] - 2026-08-21 ### Added