Switch to dark theme

Workspaces and projects

A repository using urepo has one root configuration file, .urepo/urepo.toml, which defines the workspace. Inside that workspace, folders are organized into projects connected by directed dependency edges.

Vocabulary

urepo uses nine canonical words across commands, configuration keys, and output:

Word Meaning
workspace The repository root containing .urepo/urepo.toml
project A folder that owns files, tasks, tools, stacks, or release rules
task One named command or list of commands belonging to a project
store Content-addressed cache of task records and output blobs, locally and in S3
tool A pinned runtime or CLI (python, node, uv, pnpm, bun, pulumi, railway) locked in .urepo/urepo.lock
stack A project's local Docker Compose services with isolated worktree ports
environment One stage in a release chain (dev, qa, prod)
release Moving a project in an environment to a target commit
extension A built-in or local plugin that detects projects, tasks, inputs, or release steps

Addresses and targets

Every task and release has a stable address that needs no shell quoting:

Form Example Refers to
<project> hub/api One project, or a subtree prefix (hub matches hub and hub/*)
<project>+ hub/api+ The same projects and every project they depend on, directly or not
<project>:<task> hub/api:test One task of a project
<project>@<environment> hub/api@prod One project's release in an environment

When a command omits its target, urepo selects the project of the current folder and every project nested beneath it. Running from the workspace root selects the whole workspace.

Project discovery and ownership

urepo finds the workspace by walking upward from the current folder to the nearest .urepo/urepo.toml containing a [workspace] table. Nested workspaces stop the walk.

A folder becomes a project in either of two ways:

  1. An extension detects it anywhere in the workspace (for example a Cargo.toml, pyproject.toml, package.json, or pnpm-workspace.yaml, whether inside a language workspace or standalone).
  2. It contains a urepo.toml with a [project] table.

A folder with a urepo.toml that has no [project] table and is not detected by any extension is an error, so stray files are never ignored silently.

A project's default name is its relative path with any matching prefix from [workspace] roots removed; [project] name overrides it. Any project-level table ([project], [task.N], [image.N], [stack], [release.N]) in .urepo/urepo.toml makes the workspace root a project too, taking [workspace] name unless overridden.

Each project owns all non-ignored files in its folder except files owned by nested projects and .urepo/.

Dependency edges and discovery

Edges come from language manifests discovered by extensions plus any extra entries in [project] depends. Cycles between projects or tasks are refused before any task runs.

urepo walks the workspace once per command, skipping what git ignores, hidden folders, node_modules, and nested workspaces, and gives every extension the list of folders it found. Each extension looks for its manifests in those folders. Only cargo metadata is cached: its output lives in .urepo/local/cargo-metadata.json and is reused while every Cargo.toml and Cargo.lock it read hashes the same.

Inspect the resolved graph at any time:

Shell
urepo project list
urepo project show hub/api
urepo task list