Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
# Pin to a Base release tag so CI is not affected by Base master changes.
# Update this tag when a new Base release is made.
- name: Check out Base
run: git clone --depth 1 --branch v0.4.4 https://github.com/codeforester/base.git ../base
run: git clone --depth 1 --branch v0.4.4 https://github.com/basefoundry/base.git ../base

- name: Set up Base
run: ../base/bin/basectl setup base --no-notify
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ runtime variety found in a medium-sized engineering organization.
The long-term direction is documented in
[Representative Environment Design](docs/representative-environment.md).
`base-demo` is intentionally positioned between a toy sample and
[`banyanlabs`](https://github.com/codeforester/banyanlabs): it borrows the
[`banyanlabs`](https://github.com/basefoundry/banyanlabs): it borrows the
shape of a realistic platform environment while keeping each service shallow so
Base orchestration remains the point.

Expand All @@ -19,8 +19,8 @@ Base orchestration remains the point.
Clone `base` and `base-demo` as peer directories:

```bash
git clone https://github.com/codeforester/base.git
git clone https://github.com/codeforester/base-demo.git
git clone https://github.com/basefoundry/base.git
git clone https://github.com/basefoundry/base-demo.git
```

From the `base-demo` repository root on a machine where Base is already set up:
Expand Down
4 changes: 2 additions & 2 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@

# Project-owned values.
PROJECT_NAME="${PROJECT_NAME:-base-demo}"
PROJECT_REPO_URL="${PROJECT_REPO_URL:-https://github.com/codeforester/base-demo.git}"
PROJECT_REPO_URL="${PROJECT_REPO_URL:-https://github.com/basefoundry/base-demo.git}"
WORKSPACE_DIR="${WORKSPACE_DIR:-$HOME/work}"
BASE_DIR="${BASE_DIR:-$WORKSPACE_DIR/base}"
PROJECT_DIR="${PROJECT_DIR:-$WORKSPACE_DIR/$PROJECT_NAME}"
BASE_INSTALL_URL="${BASE_INSTALL_URL:-https://raw.githubusercontent.com/codeforester/base/master/install.sh}"
BASE_INSTALL_URL="${BASE_INSTALL_URL:-https://raw.githubusercontent.com/basefoundry/base/master/install.sh}"
RUN_UPDATE_PROFILE="${RUN_UPDATE_PROFILE:-true}"

INSTALLER_TMP=""
Expand Down
2 changes: 1 addition & 1 deletion services/go-api/go.mod
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module github.com/codeforester/base-demo/services/go-api
module github.com/basefoundry/base-demo/services/go-api

go 1.21
18 changes: 18 additions & 0 deletions tests/validate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,24 @@ grep -Fq '.base/activate.sh' base_manifest.yaml || {
exit 1
}

stale_ref_scan_paths=(
README.md
install.sh
.github
services
docs
base_manifest.yaml
CHANGELOG.md
.ai-context
)
stale_github_refs="$(
grep -RInE '(github\.com|raw\.githubusercontent\.com)/codeforester|codeforester/(base-demo|banyanlabs|base)([^[:alnum:]_.-]|$)' "${stale_ref_scan_paths[@]}" || true
)"
if [[ -n "$stale_github_refs" ]]; then
printf 'Found stale codeforester GitHub references:\n%s\n' "$stale_github_refs" >&2
exit 1
fi

grep -Fq 'hello: ./src/hello.sh' base_manifest.yaml || {
printf 'base_manifest.yaml does not declare the hello command.\n' >&2
exit 1
Expand Down
Loading