From cb37d98d91d48fcf0804d8c5ed03cffca01493cc Mon Sep 17 00:00:00 2001 From: Leo Farias Date: Thu, 24 Sep 2026 19:52:54 -0400 Subject: [PATCH 1/2] chore: update OKF release owner after BTWLD transfer --- .github/workflows/README.md | 10 +++++----- README.md | 6 +++--- pubspec.yaml | 4 ++-- test/ci/gate_test.dart | 2 +- tool/ci/install-engine.sh | 2 +- tool/release/homebrew/okf.rb | 6 +++--- tool/release/tool/grind.dart | 2 +- 7 files changed, 16 insertions(+), 16 deletions(-) mode change 100755 => 100644 tool/ci/install-engine.sh diff --git a/.github/workflows/README.md b/.github/workflows/README.md index 3a2432d..b25f6f8 100644 --- a/.github/workflows/README.md +++ b/.github/workflows/README.md @@ -25,7 +25,7 @@ Release notes come from the first `## ` section of `CHANGELOG.md`. ## Release process 1. Bump `version:` in `pubspec.yaml` -2. Update `lib/src/version.dart` and the `conceptadev/okf@vX.Y.Z` reference in +2. Update `lib/src/version.dart` and the `btwld/okf@vX.Y.Z` reference in `README.md` to the same value (`dart test test/ci_gate_test.dart` checks all three agree) 3. Add the matching `## X.Y.Z` section at the top of `CHANGELOG.md` @@ -43,7 +43,7 @@ must match step 1. cli_pkg hardcodes the GitHub release's `tag_name` to the **bare** version, so the release job also publishes a `X.Y.Z` tag at the same commit and the release assets hang off that one. Both tags therefore exist for every - release, and `conceptadev/okf@vX.Y.Z` keeps working as an action ref. + release, and `btwld/okf@vX.Y.Z` keeps working as an action ref. - **CHANGELOG**: cli_pkg reads `CHANGELOG.md` for the GitHub release body - **Assets**: `okf---.tar.gz` per platform, attached to the bare-version release. Only the @@ -55,11 +55,11 @@ must match step 1. | Secret | Used by | Purpose | | --- | --- | --- | | `GITHUB_TOKEN` | automatic | create the release, upload assets | -| `HOMEBREW_TAP_GH_TOKEN` | `pkg-homebrew-update` | push to `conceptadev/homebrew-tap` | +| `HOMEBREW_TAP_GH_TOKEN` | `pkg-homebrew-update` | push to `btwld/homebrew-tap` | pub.dev needs no secret: the `release` job requests `id-token: write` and setup-dart exchanges that OIDC token for temporary credentials. This requires -automated publishing to be configured on pub.dev for `conceptadev/okf` with +automated publishing to be configured on pub.dev for `btwld/okf` with this workflow filename (`release.yml`) and a `v{{version}}` tag pattern. cli_pkg's `pkg-pub-deploy` is deliberately unused: it can only publish from a long-lived `PUB_CREDENTIALS` file. @@ -94,5 +94,5 @@ canonically owns the repository. cli_pkg does not follow redirects on POST. ### Homebrew step fails to push -`HOMEBREW_TAP_GH_TOKEN` needs write access to `conceptadev/homebrew-tap`, and +`HOMEBREW_TAP_GH_TOKEN` needs write access to `btwld/homebrew-tap`, and the tap must already contain `Formula/okf.rb`. diff --git a/README.md b/README.md index bf3118e..05fb3fd 100644 --- a/README.md +++ b/README.md @@ -30,7 +30,7 @@ implementation and is not affiliated with or endorsed by Google. Install the command-line tool with Homebrew: ```console -brew install conceptadev/tap/okf +brew install btwld/tap/okf ``` With Dart 3.9 or later, add the library: @@ -94,7 +94,7 @@ Gate a repository on OKF Spec conformance with one step and no configuration: ```yaml steps: - - uses: conceptadev/okf@v0.5.0 + - uses: btwld/okf@v0.5.0 ``` The action downloads the released `okf` archive for the ref in `uses`, unpacks @@ -402,4 +402,4 @@ their generated schema companions are available through the public OKF library. Apache License 2.0. [spec]: https://github.com/GoogleCloudPlatform/knowledge-catalog/blob/62432a095456147ee71e70ac6e4dc0d2dea3ac30/okf/SPEC.md -[example]: https://github.com/conceptadev/okf/blob/main/example/okf.dart +[example]: https://github.com/btwld/okf/blob/main/example/okf.dart diff --git a/pubspec.yaml b/pubspec.yaml index 2c08f2e..3e12775 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,8 +1,8 @@ name: okf description: A format-first Dart toolkit for reading, validating, writing, indexing, and graphing Open Knowledge Format bundles. version: 0.5.0 -repository: https://github.com/conceptadev/okf -issue_tracker: https://github.com/conceptadev/okf/issues +repository: https://github.com/btwld/okf +issue_tracker: https://github.com/btwld/okf/issues topics: - okf - knowledge diff --git a/test/ci/gate_test.dart b/test/ci/gate_test.dart index 8f8e606..d7018e6 100644 --- a/test/ci/gate_test.dart +++ b/test/ci/gate_test.dart @@ -169,7 +169,7 @@ void main() { expect( formula, contains( - RegExp(r'url "https://github\.com/conceptadev/okf/archive/refs/tags/v'), + RegExp(r'url "https://github\.com/btwld/okf/archive/refs/tags/v'), ), reason: "the ref must be the tag form Homebrew's url audit accepts", ); diff --git a/tool/ci/install-engine.sh b/tool/ci/install-engine.sh old mode 100755 new mode 100644 index 95f8d69..ff75336 --- a/tool/ci/install-engine.sh +++ b/tool/ci/install-engine.sh @@ -30,7 +30,7 @@ trap 'rm -f "$archive"' EXIT curl --fail --silent --show-error --location --retry 3 \ --output "$archive" \ - "https://github.com/conceptadev/okf/releases/download/$release/$asset" + "https://github.com/btwld/okf/releases/download/$release/$asset" tar --extract --gzip --file "$archive" --directory "$directory" # cli_pkg archives unpack to "/". diff --git a/tool/release/homebrew/okf.rb b/tool/release/homebrew/okf.rb index c1ed31e..5abfdd6 100644 --- a/tool/release/homebrew/okf.rb +++ b/tool/release/homebrew/okf.rb @@ -1,4 +1,4 @@ -# Canonical source: conceptadev/okf, tool/release/homebrew/okf.rb. Edit it +# Canonical source: btwld/okf, tool/release/homebrew/okf.rb. Edit it # there and copy the result into the tap; a hand edit made only in the tap is # lost at the next release. # @@ -12,8 +12,8 @@ # third-party tap would make every install pull that tap in. class Okf < Formula desc "Format-first toolkit for Open Knowledge Format bundles" - homepage "https://github.com/conceptadev/okf" - url "https://github.com/conceptadev/okf/archive/refs/tags/v0.3.0.tar.gz" + homepage "https://github.com/btwld/okf" + url "https://github.com/btwld/okf/archive/refs/tags/v0.3.0.tar.gz" sha256 "d7edf53e48533cea185cb237a563470af0515843b08862bc8267b3f4d6972df0" license "Apache-2.0" diff --git a/tool/release/tool/grind.dart b/tool/release/tool/grind.dart index de23cf2..91483eb 100644 --- a/tool/release/tool/grind.dart +++ b/tool/release/tool/grind.dart @@ -10,7 +10,7 @@ const _packageName = 'okf'; // never an account that merely redirects to it. GitHub keeps redirects alive // after a repository moves, and cli_pkg does not follow redirects on POST, so // a stale owner here fails only at release creation, after every check passed. -const _owner = 'conceptadev'; +const _owner = 'btwld'; final Directory _releaseToolRoot = Directory.current; final Directory _repoRoot = Directory( From 6f0c29e611af8ca617b747dabe59694c8ee8c371 Mon Sep 17 00:00:00 2001 From: Leo Farias Date: Fri, 25 Sep 2026 14:32:10 -0400 Subject: [PATCH 2/2] ci: refresh migration checks after runner recovery