master @ 35 LINES
[ HISTORY ] [ UP ]
┌─ TS ───────────────────────────────────────────────────────────────────────┐
│ import type { GitRepo } from "./lib/git"; │
│ │
│ // Repos rendered by /git/. In production the builder sets │
│ // OOKNET_GIT_ROOT and paths resolve to bare mirrors │
│ // ($OOKNET_GIT_ROOT/<slug>.git); on dev machines the fallback paths │
│ // point at local checkouts. Missing paths are skipped either way, so │
│ // any machine builds. See .internal/deploy-plan.md. │
│ const ROOT = process.env.OOKNET_GIT_ROOT; │
│ const at = (slug: string, dev: string) => (ROOT ? `${ROOT}/${slug}.git` : dev); │
│ │
│ export const REPOS: GitRepo[] = [ │
│ { │
│ slug: "ooknet-org", │
│ name: "ooknet.org", │
│ path: at("ooknet-org", ".."), │
│ desc: "personal website - a text-mode knowledge base and the ascii design syst │
│ em that renders it", │
│ clone: "https://git.ooknet.org/ooks/ooknet.org.git", │
│ }, │
│ { │
│ slug: "ooknet", │
│ name: "ooknet", │
│ path: at("ooknet", "../../ooknet"), │
│ desc: "my personal nixos infrastructure configuration", │
│ clone: "https://git.ooknet.org/ooks/ooknet.git", │
│ }, │
│ { │
│ slug: "wowsim-stats", │
│ name: "wowsim-stats", │
│ path: at("wowsim-stats", "../../wowsim-stats"), │
│ desc: "a nix pipeline that orchestrates mist of pandaria simulations at scale, │
│ and a statically generated challenge mode leaderboard", │
│ clone: "https://git.ooknet.org/ooks/wowsim-stats.git", │
│ exclude: ["web/public/data"], │
│ }, │
│ ]; │
└────────────────────────────────────────────────────────────────────────────────────┘
┌─ TS ─────────────────────────────────┐
│ import type { GitRepo } from "./lib/git"; │
│ │
│ // Repos rendered by /git/. In production th │
│ e builder sets │
│ // OOKNET_GIT_ROOT and paths resolve to bare │
│ mirrors │
│ // ($OOKNET_GIT_ROOT/<slug>.git); on dev mac │
│ hines the fallback paths │
│ // point at local checkouts. Missing paths a │
│ re skipped either way, so │
│ // any machine builds. See .internal/deploy- │
│ plan.md. │
│ const ROOT = process.env.OOKNET_GIT_ROOT; │
│ const at = (slug: string, dev: string) => (R │
│ OOT ? `${ROOT}/${slug}.git` : dev); │
│ │
│ export const REPOS: GitRepo[] = [ │
│ { │
│ slug: "ooknet-org", │
│ name: "ooknet.org", │
│ path: at("ooknet-org", ".."), │
│ desc: "personal website - a text-mode kn │
│ owledge base and the ascii design system tha │
│ t renders it", │
│ clone: "https://git.ooknet.org/ooks/ookn │
│ et.org.git", │
│ }, │
│ { │
│ slug: "ooknet", │
│ name: "ooknet", │
│ path: at("ooknet", "../../ooknet"), │
│ desc: "my personal nixos infrastructure │
│ configuration", │
│ clone: "https://git.ooknet.org/ooks/ookn │
│ et.git", │
│ }, │
│ { │
│ slug: "wowsim-stats", │
│ name: "wowsim-stats", │
│ path: at("wowsim-stats", "../../wowsim-s │
│ tats"), │
│ desc: "a nix pipeline that orchestrates │
│ mist of pandaria simulations at scale, and a │
│ statically generated challenge mode leaderb │
│ oard", │
│ clone: "https://git.ooknet.org/ooks/wows │
│ im-stats.git", │
│ exclude: ["web/public/data"], │
│ }, │
│ ]; │
└──────────────────────────────────────────────┘
──────────────────────────────────────────────────────────────────────────────────────
OOKNET
────────────────────────────────────────────────
OOKNET