mirror of
https://github.com/astral-sh/uv.git
synced 2025-11-01 04:17:37 +00:00
## Summary These aren't intended for production use; instead, I'm just trying to frame out the overall data flows and code-sharing for these commands. We now have `uv sync` (sync the environment to match the lockfile, without refreshing or resolving) and `uv lock` (generate the lockfile). Both _require_ a virtual environment to exist (something we should change). `uv sync`, `uv run`, and `uv lock` all share code for the underlying subroutines (resolution and installation), so the commands themselves are relatively small (~100 lines) and mostly consist of reading arguments and such. `uv lock` and `uv sync` don't actually really work yet, because we have no way to include the project itself in the lockfile (that's a TODO in the lockfile implementation). Closes https://github.com/astral-sh/uv/issues/3432. |
||
|---|---|---|
| .. | ||
| src | ||
| Cargo.toml | ||