From 463ad6d86a690f7e56e4c674c85916f2fb323179 Mon Sep 17 00:00:00 2001 From: Rito Rhymes Date: Sun, 3 May 2026 22:00:57 -0400 Subject: [PATCH] Add Template Workspace Deferment Add the template repo manifest with canonical eips-wg template metadata while keeping production and staging pointed at the same eips-wg template target. Align CI and publish build-eips commands with the V2 command surface by using editorial check for PR validation and plain build for publishing. Add explicit setup-script stubs and contributor guidance that direct users to bootstrap supported workspaces from EIPs or ERCs until raw template-repo bootstrap is supported. --- .build-eips.repo.toml | 12 ++++++++++++ .github/CONTRIBUTING.md | 7 +++++++ .github/workflows/ci.yml | 4 ++-- .github/workflows/publish.yml | 7 ++----- scripts/dev-setup | 5 +++++ scripts/dev-setup.ps1 | 3 +++ 6 files changed, 31 insertions(+), 7 deletions(-) create mode 100644 .build-eips.repo.toml create mode 100755 scripts/dev-setup create mode 100644 scripts/dev-setup.ps1 diff --git a/.build-eips.repo.toml b/.build-eips.repo.toml new file mode 100644 index 0000000..62eefcc --- /dev/null +++ b/.build-eips.repo.toml @@ -0,0 +1,12 @@ +repo_id = "template" + +# Template has no distinct production deployment target yet; production and +# staging collapse to the canonical eips-wg template repo until a production +# target is named. Update this section if that changes. +[production] +repository = "https://github.com/eips-wg/template.git" +base_url = "https://eips-wg.github.io/template/" + +[staging] +repository = "https://github.com/eips-wg/template.git" +base_url = "https://eips-wg.github.io/template/" diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md index 1323905..1a23660 100644 --- a/.github/CONTRIBUTING.md +++ b/.github/CONTRIBUTING.md @@ -1,3 +1,10 @@ Please review [EIP-1](https://eips.ethereum.org/1/) for proposal guidelines. +Raw template-repo workspace bootstrap is deferred pending future `build-eips` +support. + +For supported workspace bootstrap and direct `build-eips` commands today, +start from the active `EIPs` or `ERCs` repo with `./scripts/dev-setup` and +use . + diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3f53ba2..80ded52 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -50,10 +50,10 @@ jobs: with: fetch-depth: 0 - - name: EIPs Build (Check) + - name: Template Build (Check) uses: ./.github/actions/build-eips with: - args: check --format github + args: editorial check --against-upstream --format github markdownlint: if: github.event.pull_request.base.repo.owner.login == 'ethereum' || github.event.pull_request.base.repo.owner.login == 'eips-wg' diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 1fde71c..0e8b56e 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -17,13 +17,10 @@ jobs: with: fetch-depth: 0 - - name: EIPs Build (Build) + - name: Template Build (Build) uses: ./.github/actions/build-eips with: - # Disable eipw lints because there will never be any changed files - # between this checkout and `master` because, well, we just checked - # out `master`. - args: build --no-lint + args: build - name: Upload Artifact id: artifact diff --git a/scripts/dev-setup b/scripts/dev-setup new file mode 100755 index 0000000..7a19d0c --- /dev/null +++ b/scripts/dev-setup @@ -0,0 +1,5 @@ +#!/bin/sh + +printf '%s\n' "error: raw template-repo local bootstrap is deferred pending future template support in build-eips." >&2 +printf '%s\n' "Use the active EIPs or ERCs repo with ./scripts/dev-setup for supported local workspace bootstrap today." >&2 +exit 1 diff --git a/scripts/dev-setup.ps1 b/scripts/dev-setup.ps1 new file mode 100644 index 0000000..6c44276 --- /dev/null +++ b/scripts/dev-setup.ps1 @@ -0,0 +1,3 @@ +[Console]::Error.WriteLine("error: raw template-repo local bootstrap is deferred pending future template support in build-eips.") +[Console]::Error.WriteLine("Use the active EIPs or ERCs repo with .\scripts\dev-setup.ps1 for supported local workspace bootstrap today.") +exit 1