Skip to content

Commit 5361345

Browse files
committed
fix: transitous repo url
1 parent 26717c4 commit 5361345

3 files changed

Lines changed: 12 additions & 4 deletions

File tree

apps/api/src/services/admin-cli.ts

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,9 +206,17 @@ export async function runOpenmapxCliJobCommand(ctx: JobContext, args: string[]):
206206
);
207207
}
208208

209+
// The CLI imports `@integrations/poi-search` via the tsconfig path alias
210+
// declared in packages/cli/tsconfig.json. tsx applies tsconfig paths from
211+
// a single tsconfig.json (resolved from cwd by default, and there's no
212+
// tsconfig at the repo root), so point it at the CLI's tsconfig
213+
// explicitly. Same effect as `pnpm -C packages/cli exec tsx src/index.ts`
214+
// on the host.
215+
const tsxTsconfig = join(rootDir, "packages", "cli", "tsconfig.json");
216+
209217
await ctx.log(`$ openmapx ${args.join(" ")}`);
210218

211-
const child = spawn(tsxBin, [cliEntry, ...args], {
219+
const child = spawn(tsxBin, ["--tsconfig", tsxTsconfig, cliEntry, ...args], {
212220
cwd: rootDir,
213221
env: process.env,
214222
stdio: ["ignore", "pipe", "pipe"],

apps/web/src/components/admin/services/DataWorkflowsPage.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -469,7 +469,7 @@ function DataOperationsSection({ apiUrl }: { apiUrl: string }) {
469469
<TextField
470470
size="small"
471471
label="Transitous repo URL"
472-
placeholder="https://github.com/transitous/transitous"
472+
placeholder="https://github.com/public-transport/transitous"
473473
value={apiKeysRepoUrl}
474474
onChange={(e) => setApiKeysRepoUrl(e.target.value)}
475475
/>

docs/INTEGRATIONS.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2881,7 +2881,7 @@ Not applicable (generic protocol, no third-party service terms).
28812881

28822882
## Transitous
28832883

2884-
### GitHub Tree API — `https://api.github.com/repos/transitous/transitous/git/trees/main?recursive=1`
2884+
### GitHub Tree API — `https://api.github.com/repos/public-transport/transitous/git/trees/main?recursive=1`
28852885
- License: Proprietary (GitHub ToS)
28862886
- Data sent: No user data (static resource)
28872887
- Data received: Full recursive file tree of the Transitous repo; paths matching feeds/*.json extracted as feed definition files
@@ -2896,7 +2896,7 @@ Not applicable (generic protocol, no third-party service terms).
28962896
- Env vars: `GITHUB_TOKEN` — optional
28972897
- Self-hostable: No
28982898

2899-
### Raw Feed Files — `https://raw.githubusercontent.com/transitous/transitous/main/feeds/{country}.json`
2899+
### Raw Feed Files — `https://raw.githubusercontent.com/public-transport/transitous/main/feeds/{country}.json`
29002900
- Data sent: Country identifier (file path)
29012901
- Data received: Feed definitions: name, type, download URL, license (SPDX), skip flag. Only type=http + spec=gtfs entries included.
29022902
- Purpose: Build the GTFS feed catalog from Transitous feed definitions. Cached 24h in memory.

0 commit comments

Comments
 (0)