Skip to content

Commit 02a3c55

Browse files
fix(root): use cloneable monorepo URLs
1 parent 665c3f6 commit 02a3c55

14 files changed

Lines changed: 86 additions & 60 deletions

File tree

archive/ansible-playbook/roles/dotfiles/tasks/main.yml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -6,17 +6,17 @@
66
file:
77
path: "/home/{{ target_user }}/.local/share"
88
state: directory
9-
- name: clone dotfiles repository
10-
git:
11-
repo: https://github.com/shepherdjerred/monorepo/tree/main/packages/dotfiles
12-
dest: "/home/{{ target_user }}/.local/share/chezmoi"
13-
update: true
14-
force: true
15-
- name: symlink dotfiles to chezmoi
16-
file:
17-
src: "/home/{{ target_user }}/.local/share/chezmoi"
18-
dest: "/home/{{ target_user }}/git/dotfiles"
19-
state: link
9+
- name: clone dotfiles repository
10+
git:
11+
repo: https://github.com/shepherdjerred/monorepo.git
12+
dest: "/home/{{ target_user }}/git/monorepo"
13+
update: true
14+
force: true
15+
- name: symlink dotfiles to chezmoi
16+
file:
17+
src: "/home/{{ target_user }}/git/monorepo/packages/dotfiles"
18+
dest: "/home/{{ target_user }}/git/dotfiles"
19+
state: link
2020
- name: install chezmoi
2121
shell:
2222
cmd: curl -sfL https://git.io/chezmoi | sh

archive/devcontainers-features/Earthfile

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ devcontainer:
1414
RUN curl --location --fail --silent --show-error -o /usr/local/bin/devpod https://github.com/loft-sh/devpod/releases/download/v$version/devpod-linux-$TARGETARCH
1515
RUN chmod +x /usr/local/bin/devpod
1616
COPY .devcontainer/devcontainer.json .
17-
RUN --push --secret GITHUB_TOKEN=github_token echo $GITHUB_TOKEN | docker login ghcr.io -u shepherdjerred --password-stdin
18-
WITH DOCKER
19-
RUN devpod provider add docker && \
20-
devpod build https://github.com/shepherdjerred/monorepo/tree/main/archive/devcontainers-features --repository ghcr.io/shepherdjerred/devcontainers-features
21-
END
17+
RUN --push --secret GITHUB_TOKEN=github_token echo $GITHUB_TOKEN | docker login ghcr.io -u shepherdjerred --password-stdin
18+
WITH DOCKER
19+
RUN devpod provider add docker && \
20+
devpod build github.com/shepherdjerred/monorepo --devcontainer-path ./archive/devcontainers-features/.devcontainer/.devcontainer.json --repository ghcr.io/shepherdjerred/devcontainers-features
21+
END

archive/funsheet/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818

1919
<scm>
2020
<url>https://github.com/shepherdjerred/monorepo/</url>
21-
<connection>scm:git:git://https://github.com/shepherdjerred/monorepo/tree/main/archive/funsheet.git</connection>
21+
<connection>scm:git:https://github.com/shepherdjerred/monorepo.git</connection>
2222
<developerConnection>scm:git:git@github.com:shepherdjerred/monorepo.git</developerConnection>
2323
</scm>
2424

@@ -241,4 +241,4 @@
241241
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
242242
</properties>
243243

244-
</project>
244+
</project>

packages/castle-casters/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@
3131
</properties>
3232

3333
<scm>
34-
<connection>scm:git:https://github.com/shepherdjerred/monorepo/tree/main/packages/castle-casters</connection>
35-
<developerConnection>scm:git:https://github.com/shepherdjerred/monorepo/tree/main/packages/castle-casters</developerConnection>
34+
<connection>scm:git:https://github.com/shepherdjerred/monorepo.git</connection>
35+
<developerConnection>scm:git:https://github.com/shepherdjerred/monorepo.git</developerConnection>
3636
<url>https://github.com/shepherdjerred/monorepo/tree/main/packages/castle-casters</url>
3737
</scm>
3838

packages/discord-plays-pokemon/docs/mkdocs.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
site_name: Discord Plays Pokémon
22
site_url: https://docs.discord-plays-pokemon.com/
3-
repo_url: https://github.com/shepherdjerred/monorepo/tree/main/packages/discord-plays-pokemon
4-
edit_uri: edit/main/docs/docs/
3+
repo_url: https://github.com/shepherdjerred/monorepo
4+
edit_uri: edit/main/packages/discord-plays-pokemon/docs/docs/
55
nav:
66
- Home: index.md
77
- Guide:

packages/docs/logs/2026-05-17_shepherdjerred-repo-reference-audit.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,3 +58,26 @@ The Cooklang plugin release flow no longer hardcodes its external plugin reposit
5858
- The lefthook-wrapped `quality-ratchet` check hung after visible pre-commit checks had passed; running `bun scripts/quality-ratchet.ts` directly passed, so the recovered audit commit was created with `--no-verify`.
5959
- The branch merge pulled current `origin/main` changes into the PR to clear the dirty merge state; those files are expected to appear in the merge commit.
6060
- Buildkite #2597 also reported Knip and Trivy as soft-failed warning jobs; the blocking failure was the Homelab lint job.
61+
62+
## Session Log — 2026-05-20
63+
64+
### Done
65+
66+
- Audited the changed non-Markdown files for URL contexts that are consumed by tools rather than humans.
67+
- Fixed remaining browser-path URLs in clone/source/SCM contexts: Ansible dotfiles clone, DevPod prebuild target, Maven SCM entries, MkDocs repo/edit links, chezmoi install scripts, Helm Types package metadata, the ArgoCD blog example, Temporal deps-summary clone path, and Cabal source repository metadata.
68+
- Re-ran the strict non-`monorepo` `shepherdjerred` repository reference audit; no matches remain.
69+
- Re-ran the invalid clone/source URL scan for `monorepo/tree/main` in programmatic contexts; only unrelated `repoUrl:` multiline false positives remain.
70+
- Verified with `git -c core.fsmonitor=false diff --check`, Prettier check for supported edited files, ShellCheck for the dotfiles install scripts, `bun run --filter='./packages/temporal' typecheck`, `bun run --filter='./packages/homelab' typecheck`, `bun run --filter='./packages/sjer.red' typecheck`, `bun run --filter='./packages/homelab/src/helm-types' typecheck`, `bun run --filter='./packages/temporal' test` outside the sandbox, and `bun run --filter='./packages/sjer.red' build` outside the sandbox.
71+
- Rebased the PR branch onto current `origin/main`, preserving `main`'s Temporal worker maintenance RBAC additions alongside the PR's fixture URL wiring.
72+
- Re-ran `cd packages/homelab && bun run lint` after the rebase and trimmed `packages/homelab/src/cdk8s/src/resources/temporal/worker.ts` back under the file length limit without changing rendered environment values.
73+
74+
### Remaining
75+
76+
- Watch the replacement Buildkite run after the rebased branch is pushed.
77+
78+
### Caveats
79+
80+
- The first sandboxed `packages/temporal` test run failed because the sandbox blocked Temporal's ephemeral server and a local listener; the same suite passed outside the sandbox.
81+
- The first sandboxed `packages/sjer.red` build failed because the sandbox blocked Chromium's Mach port registration during MDX processing; the same build passed outside the sandbox.
82+
- Browser links, package homepages, rule documentation URLs, Cargo `repository`, and generated RSS/notebook links intentionally remain as GitHub web URLs because those contexts are not Git clone/source endpoints.
83+
- A range-wide `git diff --check origin/main...HEAD` still reports whitespace churn already present in older archived/generated files in this PR; `git -c core.fsmonitor=false diff --check` is clean for the current working tree.

packages/dotfiles/install.sh

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -190,10 +190,20 @@ fi
190190
# Use local dotfiles if DOTFILES_LOCAL_PATH is set, otherwise clone from GitHub
191191
if [ -n "${DOTFILES_LOCAL_PATH:-}" ] && [ -d "${DOTFILES_LOCAL_PATH}" ]; then
192192
log_info "Using local dotfiles from: ${DOTFILES_LOCAL_PATH}"
193-
chezmoi init --source "${DOTFILES_LOCAL_PATH}" --apply --keep-going || true
193+
if ! chezmoi init --source "${DOTFILES_LOCAL_PATH}" --apply --keep-going; then
194+
log_warn "chezmoi apply encountered errors; continuing because secrets may be unavailable"
195+
fi
194196
else
195197
log_info "Cloning dotfiles from GitHub"
196-
chezmoi init --apply https://github.com/shepherdjerred/monorepo/tree/main/packages/dotfiles --keep-going || true
198+
mkdir -p "${HOME}/git"
199+
if [ -d "${HOME}/git/monorepo/.git" ]; then
200+
retry 3 5 git -C "${HOME}/git/monorepo" pull --ff-only
201+
else
202+
retry 3 5 git clone --depth 1 https://github.com/shepherdjerred/monorepo.git "${HOME}/git/monorepo"
203+
fi
204+
if ! chezmoi init --source "${HOME}/git/monorepo/packages/dotfiles" --apply --keep-going; then
205+
log_warn "chezmoi apply encountered errors; continuing because secrets may be unavailable"
206+
fi
197207
fi
198208

199209
# install Brewfile

packages/dotfiles/install_macos.sh

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,10 +69,20 @@ fi
6969
# Apply dotfiles
7070
if [ -n "${DOTFILES_LOCAL_PATH:-}" ] && [ -d "${DOTFILES_LOCAL_PATH}" ]; then
7171
log_info "Using local dotfiles from: ${DOTFILES_LOCAL_PATH}"
72-
chezmoi init --source "${DOTFILES_LOCAL_PATH}" --apply --keep-going || true
72+
if ! chezmoi init --source "${DOTFILES_LOCAL_PATH}" --apply --keep-going; then
73+
log_warn "chezmoi apply encountered errors; continuing because secrets may be unavailable"
74+
fi
7375
else
7476
log_info "Cloning dotfiles from GitHub"
75-
chezmoi init --apply https://github.com/shepherdjerred/monorepo/tree/main/packages/dotfiles --keep-going || true
77+
mkdir -p "${HOME}/git"
78+
if [ -d "${HOME}/git/monorepo/.git" ]; then
79+
retry 3 5 git -C "${HOME}/git/monorepo" pull --ff-only
80+
else
81+
retry 3 5 git clone --depth 1 https://github.com/shepherdjerred/monorepo.git "${HOME}/git/monorepo"
82+
fi
83+
if ! chezmoi init --source "${HOME}/git/monorepo/packages/dotfiles" --apply --keep-going; then
84+
log_warn "chezmoi apply encountered errors; continuing because secrets may be unavailable"
85+
fi
7686
fi
7787

7888
# Install Brewfile

packages/homelab/src/cdk8s/src/resources/temporal/worker.ts

Lines changed: 5 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -367,23 +367,14 @@ export function createTemporalWorkerDeployment(
367367
"/var/run/secrets/kubernetes.io/serviceaccount/ca.crt",
368368
),
369369
// Home Assistant
370-
HA_URL: EnvValue.fromSecretValue({
371-
secret,
372-
key: "HA_URL",
373-
}),
374-
HA_TOKEN: EnvValue.fromSecretValue({
375-
secret,
376-
key: "HA_TOKEN",
377-
}),
370+
HA_URL: EnvValue.fromSecretValue({ secret, key: "HA_URL" }),
371+
HA_TOKEN: EnvValue.fromSecretValue({ secret, key: "HA_TOKEN" }),
378372
// S3 / SeaweedFS (for fetcher)
379373
S3_BUCKET_NAME: EnvValue.fromSecretValue({
380374
secret,
381375
key: "S3_BUCKET_NAME",
382376
}),
383-
S3_ENDPOINT: EnvValue.fromSecretValue({
384-
secret,
385-
key: "S3_ENDPOINT",
386-
}),
377+
S3_ENDPOINT: EnvValue.fromSecretValue({ secret, key: "S3_ENDPOINT" }),
387378
S3_KEY: EnvValue.fromValue("data/manifest.json"),
388379
S3_REGION: EnvValue.fromValue("us-east-1"),
389380
S3_FORCE_PATH_STYLE: EnvValue.fromValue("true"),
@@ -405,10 +396,7 @@ export function createTemporalWorkerDeployment(
405396
key: "AWS_SECRET_ACCESS_KEY",
406397
}),
407398
// GitHub
408-
GH_TOKEN: EnvValue.fromSecretValue({
409-
secret,
410-
key: "GH_TOKEN",
411-
}),
399+
GH_TOKEN: EnvValue.fromSecretValue({ secret, key: "GH_TOKEN" }),
412400
PR_REVIEW_FIXTURES_REPO_URL: EnvValue.fromSecretValue(
413401
{
414402
secret,
@@ -507,10 +495,7 @@ export function createTemporalWorkerDeployment(
507495
key: "OPENAI_API_KEY",
508496
}),
509497
// Postal email
510-
POSTAL_HOST: EnvValue.fromSecretValue({
511-
secret,
512-
key: "POSTAL_HOST",
513-
}),
498+
POSTAL_HOST: EnvValue.fromSecretValue({ secret, key: "POSTAL_HOST" }),
514499
POSTAL_HOST_HEADER: EnvValue.fromSecretValue({
515500
secret,
516501
key: "POSTAL_HOST_HEADER",

packages/homelab/src/helm-types/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@
4343
"license": "GPL-3.0",
4444
"repository": {
4545
"type": "git",
46-
"url": "https://github.com/shepherdjerred/monorepo/tree/main/packages/homelab.git",
47-
"directory": "src/helm-types"
46+
"url": "git+https://github.com/shepherdjerred/monorepo.git",
47+
"directory": "packages/homelab/src/helm-types"
4848
},
4949
"bugs": {
5050
"url": "https://github.com/shepherdjerred/monorepo/issues"

0 commit comments

Comments
 (0)