mirror of
https://github.com/Dasemu/faust-vn.git
synced 2026-11-27 07:46:29 +00:00
build: depend on vnpipe from its git repo instead of a local path
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
47cf8c9ccc
commit
98e0c209ac
4 files changed
+9
-23
No files matched your search
@@ -11,8 +11,7 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
# TODO: pyproject.toml points to a local vnpipe checkout (absolute path). CI needs vnpipe
|
# TODO: vnpipe is a private git dependency over SSH; CI needs a deploy key for it.
|
||||||
# available at that path (e.g. an extra checkout step for the vnpipe repo) before `uv sync`.
|
|
||||||
- uses: astral-sh/setup-uv@v5
|
- uses: astral-sh/setup-uv@v5
|
||||||
- run: uv sync --locked
|
- run: uv sync --locked
|
||||||
- name: Lint
|
- name: Lint
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
# CLAUDE.md
|
# CLAUDE.md
|
||||||
|
|
||||||
Faust I (Spanish, Llorente) as a Ren'Py visual novel. This repo is a *work*: the pipeline
|
Faust I (Spanish, Llorente) as a Ren'Py visual novel. This repo is a *work*: the pipeline
|
||||||
(`vnpipe`) lives in `../vnpipe` (path dependency in `pyproject.toml`).
|
(`vnpipe`) lives in its own repo (`../vnpipe`, git dependency on its `development` branch, pinned by `uv.lock`).
|
||||||
|
|
||||||
## Rules
|
## Rules
|
||||||
- Repo content in English; the game text is Spanish (from the source, never rewritten).
|
- Repo content in English; the game text is Spanish (from the source, never rewritten).
|
||||||
@@ -21,8 +21,8 @@ Faust I (Spanish, Llorente) as a Ren'Py visual novel. This repo is a *work*: the
|
|||||||
- Ren'Py SDK lives in `tools/renpy-sdk` (gitignored; may be a symlink shared between worktrees)
|
- Ren'Py SDK lives in `tools/renpy-sdk` (gitignored; may be a symlink shared between worktrees)
|
||||||
or `RENPY_SDK`. Inside the sandbox prefix SDK commands with `HOME=$TMPDIR/renpy-home`.
|
or `RENPY_SDK`. Inside the sandbox prefix SDK commands with `HOME=$TMPDIR/renpy-home`.
|
||||||
Lint: `tools/renpy-sdk/renpy.sh vn lint`. Playthrough test and builds: `docs/running.md`.
|
Lint: `tools/renpy-sdk/renpy.sh vn lint`. Playthrough test and builds: `docs/running.md`.
|
||||||
- The `vnpipe` path in `pyproject.toml` is absolute (worktrees sit two levels deeper than the
|
- vnpipe comes from git (pinned in `uv.lock`); after pushing vnpipe changes run
|
||||||
main checkout); adjust it on another machine.
|
`uv lock --upgrade-package vnpipe`. Unpushed vnpipe: `uv run --with-editable ../vnpipe <cmd>`.
|
||||||
|
|
||||||
## Branches and versions
|
## Branches and versions
|
||||||
- `development` is the integration branch; `main` receives reviewed merges from it.
|
- `development` is the integration branch; `main` receives reviewed merges from it.
|
||||||
|
|||||||
+3
-4
@@ -18,11 +18,10 @@ dev = [
|
|||||||
[tool.uv]
|
[tool.uv]
|
||||||
package = false
|
package = false
|
||||||
|
|
||||||
# Absolute because uv resolves relative paths against the project directory and this repo is
|
# vnpipe is pinned through uv.lock. After pushing vnpipe changes: `uv lock --upgrade-package vnpipe`.
|
||||||
# used from both the main checkout and `.worktrees/<name>` (two levels deeper). From the main
|
# To try an unpushed vnpipe checkout: `uv run --with-editable ../vnpipe <cmd>`.
|
||||||
# checkout alone this could be `../vnpipe`. Adjust to where vnpipe is cloned.
|
|
||||||
[tool.uv.sources]
|
[tool.uv.sources]
|
||||||
vnpipe = { path = "/home/dasemu/Hacking/Darío/vnpipe", editable = true }
|
vnpipe = { git = "ssh://gitea@git.zenvairo.es:2222/dasemu/vnpipe.git", branch = "development" }
|
||||||
|
|
||||||
[tool.ruff]
|
[tool.ruff]
|
||||||
line-length = 100
|
line-length = 100
|
||||||
|
|||||||
@@ -35,7 +35,7 @@ dev = [
|
|||||||
]
|
]
|
||||||
|
|
||||||
[package.metadata]
|
[package.metadata]
|
||||||
requires-dist = [{ name = "vnpipe", editable = "/home/dasemu/Hacking/Darío/vnpipe" }]
|
requires-dist = [{ name = "vnpipe", git = "ssh://git.zenvairo.es:2222/dasemu/vnpipe.git?branch=development" }]
|
||||||
|
|
||||||
[package.metadata.requires-dev]
|
[package.metadata.requires-dev]
|
||||||
dev = [
|
dev = [
|
||||||
@@ -357,20 +357,8 @@ wheels = [
|
|||||||
[[package]]
|
[[package]]
|
||||||
name = "vnpipe"
|
name = "vnpipe"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
source = { editable = "/home/dasemu/Hacking/Darío/vnpipe" }
|
source = { git = "ssh://git.zenvairo.es:2222/dasemu/vnpipe.git?branch=development#58b4fcba46368915fadde0c7520a24dd6301fcad" }
|
||||||
dependencies = [
|
dependencies = [
|
||||||
{ name = "jsonschema" },
|
{ name = "jsonschema" },
|
||||||
{ name = "pillow" },
|
{ name = "pillow" },
|
||||||
]
|
]
|
||||||
|
|
||||||
[package.metadata]
|
|
||||||
requires-dist = [
|
|
||||||
{ name = "jsonschema", specifier = ">=4.23" },
|
|
||||||
{ name = "pillow", specifier = ">=11.0" },
|
|
||||||
]
|
|
||||||
|
|
||||||
[package.metadata.requires-dev]
|
|
||||||
dev = [
|
|
||||||
{ name = "pytest", specifier = ">=8.3" },
|
|
||||||
{ name = "ruff", specifier = ">=0.8" },
|
|
||||||
]
|
|
||||||
Reference in new issue
Block a user