renderplan 0.1.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- renderplan-0.1.0/.codecrate.toml +26 -0
- renderplan-0.1.0/.github/workflows/codecov.yml +34 -0
- renderplan-0.1.0/.github/workflows/pre-commit.yml +25 -0
- renderplan-0.1.0/.github/workflows/python-publish.yml +84 -0
- renderplan-0.1.0/.github/workflows/tests.yml +120 -0
- renderplan-0.1.0/.gitignore +222 -0
- renderplan-0.1.0/.ledger/ledger.toml +24 -0
- renderplan-0.1.0/.ledger/releaseledger/.ledger-project.toml +6 -0
- renderplan-0.1.0/.ledger/releaseledger/config.toml +57 -0
- renderplan-0.1.0/.ledger/releaseledger/data/.ledger-project.toml +6 -0
- renderplan-0.1.0/.ledger/releaseledger/data/ledgers/main/events/events.jsonl +6 -0
- renderplan-0.1.0/.ledger/releaseledger/data/ledgers/main/releases/v0.1.0/audit/commit-audit.yaml +176 -0
- renderplan-0.1.0/.ledger/releaseledger/data/ledgers/main/releases/v0.1.0/entries/entry-0001.md +28 -0
- renderplan-0.1.0/.ledger/releaseledger/data/ledgers/main/releases/v0.1.0/entries/entry-0002.md +32 -0
- renderplan-0.1.0/.ledger/releaseledger/data/ledgers/main/releases/v0.1.0/entries/entry-0003.md +31 -0
- renderplan-0.1.0/.ledger/releaseledger/data/ledgers/main/releases/v0.1.0/entries/entry-0004.md +30 -0
- renderplan-0.1.0/.ledger/releaseledger/data/ledgers/main/releases/v0.1.0/release.md +27 -0
- renderplan-0.1.0/.ledger/releaseledger/write.lock +0 -0
- renderplan-0.1.0/.ledger/taskledger/.ledger-project.toml +6 -0
- renderplan-0.1.0/.ledger/taskledger/config.toml +7 -0
- renderplan-0.1.0/.pre-commit-config.yaml +64 -0
- renderplan-0.1.0/LICENSE +201 -0
- renderplan-0.1.0/PKG-INFO +160 -0
- renderplan-0.1.0/README.md +137 -0
- renderplan-0.1.0/docs/Makefile +32 -0
- renderplan-0.1.0/docs/changelog.md +21 -0
- renderplan-0.1.0/docs/conf.py +101 -0
- renderplan-0.1.0/docs/make.bat +113 -0
- renderplan-0.1.0/docs/make.py +89 -0
- renderplan-0.1.0/docs/requirements.txt +5 -0
- renderplan-0.1.0/examples/af_heart.renderprofile.toml +45 -0
- renderplan-0.1.0/examples/chapter.preflight.toml +21 -0
- renderplan-0.1.0/examples/chapter.render-manifest.toml +18 -0
- renderplan-0.1.0/examples/chapter.renderplan.toml +67 -0
- renderplan-0.1.0/examples/chapter.replan.preflight.toml +35 -0
- renderplan-0.1.0/pyproject.toml +58 -0
- renderplan-0.1.0/renderplan/__init__.py +77 -0
- renderplan-0.1.0/renderplan/__main__.py +3 -0
- renderplan-0.1.0/renderplan/_toml.py +82 -0
- renderplan-0.1.0/renderplan/_version.py +24 -0
- renderplan-0.1.0/renderplan/cli.py +71 -0
- renderplan-0.1.0/renderplan/codec.py +688 -0
- renderplan-0.1.0/renderplan/errors.py +10 -0
- renderplan-0.1.0/renderplan/identity.py +80 -0
- renderplan-0.1.0/renderplan/model.py +937 -0
- renderplan-0.1.0/renderplan/py.typed +0 -0
- renderplan-0.1.0/renderplan/version.py +13 -0
- renderplan-0.1.0/renderplan.egg-info/PKG-INFO +160 -0
- renderplan-0.1.0/renderplan.egg-info/SOURCES.txt +56 -0
- renderplan-0.1.0/renderplan.egg-info/dependency_links.txt +1 -0
- renderplan-0.1.0/renderplan.egg-info/entry_points.txt +2 -0
- renderplan-0.1.0/renderplan.egg-info/requires.txt +9 -0
- renderplan-0.1.0/renderplan.egg-info/scm_file_list.json +51 -0
- renderplan-0.1.0/renderplan.egg-info/scm_version.json +8 -0
- renderplan-0.1.0/renderplan.egg-info/top_level.txt +1 -0
- renderplan-0.1.0/setup.cfg +4 -0
- renderplan-0.1.0/tests/test_contracts.py +582 -0
- renderplan-0.1.0/tests/test_identity.py +60 -0
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
[codecrate]
|
|
2
|
+
output = "context_renderplan.md"
|
|
3
|
+
keep_docstrings = true
|
|
4
|
+
dedupe = true
|
|
5
|
+
metadata = false
|
|
6
|
+
respect_gitignore = true
|
|
7
|
+
exclude = ["*/.venv/*", "context_renderplan.*"]
|
|
8
|
+
gitignore_allow = ["renderplan/_version.py"]
|
|
9
|
+
include = [
|
|
10
|
+
"**/*.py",
|
|
11
|
+
"**/*.toml",
|
|
12
|
+
"**/*.md",
|
|
13
|
+
"**/*.json",
|
|
14
|
+
"**/*.txt",
|
|
15
|
+
"**/*.csv",
|
|
16
|
+
"**/*.tsv",
|
|
17
|
+
"**/*.yaml",
|
|
18
|
+
"**/*.yml",
|
|
19
|
+
"**/*.ssmd",
|
|
20
|
+
"**/*.typed",
|
|
21
|
+
"LICENSE",
|
|
22
|
+
]
|
|
23
|
+
split_max_chars = 0
|
|
24
|
+
layout = "full"
|
|
25
|
+
profile = "portable-agent"
|
|
26
|
+
emit_standalone_unpacker = true
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
name: Codecov
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
|
|
6
|
+
permissions:
|
|
7
|
+
contents: read
|
|
8
|
+
|
|
9
|
+
jobs:
|
|
10
|
+
coverage:
|
|
11
|
+
runs-on: ubuntu-latest
|
|
12
|
+
steps:
|
|
13
|
+
- uses: actions/checkout@v4
|
|
14
|
+
- name: Set up Python
|
|
15
|
+
uses: actions/setup-python@v5
|
|
16
|
+
with:
|
|
17
|
+
python-version: "3.12"
|
|
18
|
+
- name: Run tests with coverage
|
|
19
|
+
run: |
|
|
20
|
+
python -m pip install --upgrade pip
|
|
21
|
+
python -m pip install coverage pytest pytest-cov
|
|
22
|
+
python -m pip install -e .
|
|
23
|
+
python -m pytest --cov=renderplan --cov-report=xml --junitxml=junit.xml
|
|
24
|
+
- name: Upload coverage to Codecov
|
|
25
|
+
uses: codecov/codecov-action@v5
|
|
26
|
+
with:
|
|
27
|
+
token: ${{ secrets.CODECOV_TOKEN }}
|
|
28
|
+
files: ./coverage.xml
|
|
29
|
+
- name: Upload test results to Codecov
|
|
30
|
+
if: ${{ !cancelled() }}
|
|
31
|
+
uses: codecov/test-results-action@v1
|
|
32
|
+
with:
|
|
33
|
+
token: ${{ secrets.CODECOV_TOKEN }}
|
|
34
|
+
files: ./junit.xml
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
name: Static checks
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
pull_request:
|
|
5
|
+
push:
|
|
6
|
+
|
|
7
|
+
workflow_call:
|
|
8
|
+
|
|
9
|
+
permissions:
|
|
10
|
+
contents: read
|
|
11
|
+
|
|
12
|
+
jobs:
|
|
13
|
+
lint-and-types:
|
|
14
|
+
runs-on: ubuntu-latest
|
|
15
|
+
steps:
|
|
16
|
+
- uses: actions/checkout@v4
|
|
17
|
+
- uses: actions/setup-python@v5
|
|
18
|
+
with:
|
|
19
|
+
python-version: "3.13"
|
|
20
|
+
- name: Install package and development tools
|
|
21
|
+
run: python -m pip install -e ".[dev]"
|
|
22
|
+
- name: Lint
|
|
23
|
+
run: python -m ruff check .
|
|
24
|
+
- name: Type-check
|
|
25
|
+
run: python -m mypy renderplan
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
# Publish the tested RenderPlan release tag, not an unrelated branch head.
|
|
2
|
+
name: Upload Python Package
|
|
3
|
+
|
|
4
|
+
on:
|
|
5
|
+
release:
|
|
6
|
+
types: [published]
|
|
7
|
+
|
|
8
|
+
permissions:
|
|
9
|
+
contents: read
|
|
10
|
+
|
|
11
|
+
jobs:
|
|
12
|
+
test:
|
|
13
|
+
uses: ./.github/workflows/tests.yml
|
|
14
|
+
|
|
15
|
+
static:
|
|
16
|
+
uses: ./.github/workflows/pre-commit.yml
|
|
17
|
+
|
|
18
|
+
deploy:
|
|
19
|
+
needs: [test, static]
|
|
20
|
+
runs-on: ubuntu-latest
|
|
21
|
+
steps:
|
|
22
|
+
- name: Check out release tag
|
|
23
|
+
uses: actions/checkout@v4
|
|
24
|
+
with:
|
|
25
|
+
ref: ${{ github.event.release.tag_name }}
|
|
26
|
+
- name: Set up Python
|
|
27
|
+
uses: actions/setup-python@v5
|
|
28
|
+
with:
|
|
29
|
+
python-version: "3.13"
|
|
30
|
+
- name: Install build tooling
|
|
31
|
+
run: python -m pip install build twine packaging
|
|
32
|
+
- name: Build package
|
|
33
|
+
run: python -m build
|
|
34
|
+
- name: Check built distributions
|
|
35
|
+
run: python -m twine check dist/*
|
|
36
|
+
- name: Validate release artifacts
|
|
37
|
+
env:
|
|
38
|
+
RELEASE_TAG: ${{ github.event.release.tag_name }}
|
|
39
|
+
run: |
|
|
40
|
+
python - <<'PY'
|
|
41
|
+
import os
|
|
42
|
+
from email import policy
|
|
43
|
+
from email.parser import Parser
|
|
44
|
+
from pathlib import Path
|
|
45
|
+
from zipfile import ZipFile
|
|
46
|
+
|
|
47
|
+
from packaging.requirements import Requirement
|
|
48
|
+
from packaging.utils import parse_sdist_filename, parse_wheel_filename
|
|
49
|
+
from packaging.version import Version
|
|
50
|
+
|
|
51
|
+
tag_version = Version(os.environ["RELEASE_TAG"].removeprefix("v"))
|
|
52
|
+
artifacts = list(Path("dist").iterdir())
|
|
53
|
+
wheels = [path for path in artifacts if path.suffix == ".whl"]
|
|
54
|
+
sdists = [path for path in artifacts if path.name.endswith(".tar.gz")]
|
|
55
|
+
assert len(wheels) == len(sdists) == 1, artifacts
|
|
56
|
+
wheel_name, wheel_version, _, _ = parse_wheel_filename(wheels[0].name)
|
|
57
|
+
sdist_name, sdist_version = parse_sdist_filename(sdists[0].name)
|
|
58
|
+
assert wheel_name == sdist_name == "renderplan"
|
|
59
|
+
assert wheel_version == sdist_version == tag_version
|
|
60
|
+
|
|
61
|
+
with ZipFile(wheels[0]) as archive:
|
|
62
|
+
names = set(archive.namelist())
|
|
63
|
+
assert {"renderplan/py.typed", "renderplan/cli.py"} <= names
|
|
64
|
+
metadata_name = next(name for name in names if name.endswith(".dist-info/METADATA"))
|
|
65
|
+
metadata = Parser(policy=policy.default).parsestr(
|
|
66
|
+
archive.read(metadata_name).decode("utf-8")
|
|
67
|
+
)
|
|
68
|
+
assert metadata["Name"] == "renderplan"
|
|
69
|
+
assert Version(metadata["Version"]) == tag_version
|
|
70
|
+
requirements = [Requirement(value) for value in metadata.get_all("Requires-Dist", [])]
|
|
71
|
+
assert any(
|
|
72
|
+
requirement.name == "tomli"
|
|
73
|
+
and ">=2.0" in str(requirement.specifier)
|
|
74
|
+
and requirement.marker is not None
|
|
75
|
+
and requirement.marker.evaluate({"python_version": "3.10"})
|
|
76
|
+
and not requirement.marker.evaluate({"python_version": "3.13"})
|
|
77
|
+
for requirement in requirements
|
|
78
|
+
), requirements
|
|
79
|
+
PY
|
|
80
|
+
- name: Publish package to PyPI
|
|
81
|
+
uses: pypa/gh-action-pypi-publish@v1.14.1
|
|
82
|
+
with:
|
|
83
|
+
password: ${{ secrets.PYPI_API_TOKEN }}
|
|
84
|
+
attestations: false
|
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
name: Run tests
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
pull_request:
|
|
6
|
+
workflow_call:
|
|
7
|
+
|
|
8
|
+
permissions:
|
|
9
|
+
contents: read
|
|
10
|
+
|
|
11
|
+
jobs:
|
|
12
|
+
test:
|
|
13
|
+
runs-on: ${{ matrix.os }}
|
|
14
|
+
strategy:
|
|
15
|
+
matrix:
|
|
16
|
+
os: [ubuntu-latest, windows-latest, macos-latest]
|
|
17
|
+
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"]
|
|
18
|
+
steps:
|
|
19
|
+
- uses: actions/checkout@v4
|
|
20
|
+
- name: Set up Python
|
|
21
|
+
uses: actions/setup-python@v5
|
|
22
|
+
with:
|
|
23
|
+
python-version: ${{ matrix.python-version }}
|
|
24
|
+
- name: Install package
|
|
25
|
+
run: |
|
|
26
|
+
python -m pip install --upgrade pip
|
|
27
|
+
python -m pip install -e ".[dev]"
|
|
28
|
+
python -m compileall -q renderplan tests
|
|
29
|
+
- name: Run tests
|
|
30
|
+
run: python -m pytest -q
|
|
31
|
+
|
|
32
|
+
lower-bounds:
|
|
33
|
+
runs-on: ubuntu-latest
|
|
34
|
+
steps:
|
|
35
|
+
- uses: actions/checkout@v4
|
|
36
|
+
- uses: actions/setup-python@v5
|
|
37
|
+
with:
|
|
38
|
+
python-version: "3.10"
|
|
39
|
+
- name: Install minimum runtime dependency and test runner
|
|
40
|
+
run: |
|
|
41
|
+
python -m pip install "tomli==2.0.0" "pytest==8.0.0"
|
|
42
|
+
python -m pip install --no-deps -e .
|
|
43
|
+
- name: Run lower-bound tests
|
|
44
|
+
run: python -m pytest -q
|
|
45
|
+
|
|
46
|
+
package-smoke:
|
|
47
|
+
runs-on: ubuntu-latest
|
|
48
|
+
steps:
|
|
49
|
+
- uses: actions/checkout@v4
|
|
50
|
+
- uses: actions/setup-python@v5
|
|
51
|
+
with:
|
|
52
|
+
python-version: "3.12"
|
|
53
|
+
- name: Build wheel and sdist
|
|
54
|
+
run: |
|
|
55
|
+
python -m pip install build
|
|
56
|
+
python -m build --outdir "$RUNNER_TEMP/dist"
|
|
57
|
+
- name: Verify wheel and sdist
|
|
58
|
+
run: |
|
|
59
|
+
python - <<'PY'
|
|
60
|
+
import os
|
|
61
|
+
import tarfile
|
|
62
|
+
from email import policy
|
|
63
|
+
from email.parser import Parser
|
|
64
|
+
from pathlib import Path
|
|
65
|
+
from zipfile import ZipFile
|
|
66
|
+
|
|
67
|
+
from packaging.requirements import Requirement
|
|
68
|
+
from packaging.utils import parse_sdist_filename, parse_wheel_filename
|
|
69
|
+
|
|
70
|
+
artifacts = Path(os.environ["RUNNER_TEMP"]) / "dist"
|
|
71
|
+
wheels = list(artifacts.glob("*.whl"))
|
|
72
|
+
sdists = list(artifacts.glob("*.tar.gz"))
|
|
73
|
+
assert len(wheels) == len(sdists) == 1, (wheels, sdists)
|
|
74
|
+
wheel, sdist = wheels[0], sdists[0]
|
|
75
|
+
wheel_name, wheel_version, _, _ = parse_wheel_filename(wheel.name)
|
|
76
|
+
sdist_name, sdist_version = parse_sdist_filename(sdist.name)
|
|
77
|
+
assert wheel_name == sdist_name == "renderplan"
|
|
78
|
+
assert wheel_version == sdist_version
|
|
79
|
+
|
|
80
|
+
with ZipFile(wheel) as archive:
|
|
81
|
+
names = set(archive.namelist())
|
|
82
|
+
assert {"renderplan/py.typed", "renderplan/cli.py", "renderplan/codec.py"} <= names
|
|
83
|
+
metadata_name = next(name for name in names if name.endswith(".dist-info/METADATA"))
|
|
84
|
+
metadata = Parser(policy=policy.default).parsestr(
|
|
85
|
+
archive.read(metadata_name).decode("utf-8")
|
|
86
|
+
)
|
|
87
|
+
assert metadata["Name"] == "renderplan"
|
|
88
|
+
assert metadata["Version"] == str(wheel_version)
|
|
89
|
+
requirements = [Requirement(value) for value in metadata.get_all("Requires-Dist", [])]
|
|
90
|
+
assert any(
|
|
91
|
+
requirement.name == "tomli"
|
|
92
|
+
and ">=2.0" in str(requirement.specifier)
|
|
93
|
+
and requirement.marker is not None
|
|
94
|
+
and requirement.marker.evaluate({"python_version": "3.10"})
|
|
95
|
+
and not requirement.marker.evaluate({"python_version": "3.12"})
|
|
96
|
+
for requirement in requirements
|
|
97
|
+
), requirements
|
|
98
|
+
entry_points = next(name for name in names if name.endswith(".dist-info/entry_points.txt"))
|
|
99
|
+
assert b"renderplan = renderplan.cli:main" in archive.read(entry_points)
|
|
100
|
+
|
|
101
|
+
with tarfile.open(sdist, "r:gz") as archive:
|
|
102
|
+
names = archive.getnames()
|
|
103
|
+
for resource in ("pyproject.toml", "README.md", "renderplan/py.typed", "renderplan/cli.py"):
|
|
104
|
+
assert any(name.endswith("/" + resource) for name in names), resource
|
|
105
|
+
PY
|
|
106
|
+
- name: Install wheel in clean environment
|
|
107
|
+
run: |
|
|
108
|
+
python -m venv "$RUNNER_TEMP/renderplan-wheel-venv"
|
|
109
|
+
"$RUNNER_TEMP/renderplan-wheel-venv/bin/python" -m pip install \
|
|
110
|
+
"$RUNNER_TEMP"/dist/renderplan-*.whl
|
|
111
|
+
- name: Run installed CLI smoke checks
|
|
112
|
+
run: |
|
|
113
|
+
cd "$RUNNER_TEMP"
|
|
114
|
+
"$RUNNER_TEMP/renderplan-wheel-venv/bin/python" -c \
|
|
115
|
+
"import importlib.metadata as m; import renderplan; assert m.version('renderplan') == renderplan.__version__"
|
|
116
|
+
"$RUNNER_TEMP/renderplan-wheel-venv/bin/renderplan" --version
|
|
117
|
+
for file in "$GITHUB_WORKSPACE"/examples/*.toml; do
|
|
118
|
+
"$RUNNER_TEMP/renderplan-wheel-venv/bin/renderplan" validate "$file"
|
|
119
|
+
"$RUNNER_TEMP/renderplan-wheel-venv/bin/renderplan" inspect "$file"
|
|
120
|
+
done
|
|
@@ -0,0 +1,222 @@
|
|
|
1
|
+
# Byte-compiled / optimized / DLL files
|
|
2
|
+
__pycache__/
|
|
3
|
+
*.py[codz]
|
|
4
|
+
*$py.class
|
|
5
|
+
|
|
6
|
+
# C extensions
|
|
7
|
+
*.so
|
|
8
|
+
|
|
9
|
+
# Distribution / packaging
|
|
10
|
+
.Python
|
|
11
|
+
build/
|
|
12
|
+
develop-eggs/
|
|
13
|
+
dist/
|
|
14
|
+
downloads/
|
|
15
|
+
eggs/
|
|
16
|
+
.eggs/
|
|
17
|
+
lib/
|
|
18
|
+
lib64/
|
|
19
|
+
parts/
|
|
20
|
+
sdist/
|
|
21
|
+
var/
|
|
22
|
+
wheels/
|
|
23
|
+
share/python-wheels/
|
|
24
|
+
*.egg-info/
|
|
25
|
+
.installed.cfg
|
|
26
|
+
*.egg
|
|
27
|
+
MANIFEST
|
|
28
|
+
|
|
29
|
+
# PyInstaller
|
|
30
|
+
# Usually these files are written by a python script from a template
|
|
31
|
+
# before PyInstaller builds the exe, so as to inject date/other infos into it.
|
|
32
|
+
*.manifest
|
|
33
|
+
*.spec
|
|
34
|
+
|
|
35
|
+
# Installer logs
|
|
36
|
+
pip-log.txt
|
|
37
|
+
pip-delete-this-directory.txt
|
|
38
|
+
|
|
39
|
+
# Unit test / coverage reports
|
|
40
|
+
htmlcov/
|
|
41
|
+
.tox/
|
|
42
|
+
.nox/
|
|
43
|
+
.coverage
|
|
44
|
+
.coverage.*
|
|
45
|
+
.cache
|
|
46
|
+
nosetests.xml
|
|
47
|
+
coverage.xml
|
|
48
|
+
*.cover
|
|
49
|
+
*.py.cover
|
|
50
|
+
*.lcov
|
|
51
|
+
.hypothesis/
|
|
52
|
+
.pytest_cache/
|
|
53
|
+
cover/
|
|
54
|
+
|
|
55
|
+
# Translations
|
|
56
|
+
*.mo
|
|
57
|
+
*.pot
|
|
58
|
+
|
|
59
|
+
# Django stuff:
|
|
60
|
+
*.log
|
|
61
|
+
local_settings.py
|
|
62
|
+
db.sqlite3
|
|
63
|
+
db.sqlite3-journal
|
|
64
|
+
|
|
65
|
+
# Flask stuff:
|
|
66
|
+
instance/
|
|
67
|
+
.webassets-cache
|
|
68
|
+
|
|
69
|
+
# Scrapy stuff:
|
|
70
|
+
.scrapy
|
|
71
|
+
|
|
72
|
+
# Sphinx documentation
|
|
73
|
+
docs/_build/
|
|
74
|
+
|
|
75
|
+
# PyBuilder
|
|
76
|
+
.pybuilder/
|
|
77
|
+
target/
|
|
78
|
+
|
|
79
|
+
# Jupyter Notebook
|
|
80
|
+
.ipynb_checkpoints
|
|
81
|
+
|
|
82
|
+
# IPython
|
|
83
|
+
profile_default/
|
|
84
|
+
ipython_config.py
|
|
85
|
+
|
|
86
|
+
# pyenv
|
|
87
|
+
# For a library or package, you might want to ignore these files since the code is
|
|
88
|
+
# intended to run in multiple environments; otherwise, check them in:
|
|
89
|
+
# .python-version
|
|
90
|
+
|
|
91
|
+
# pipenv
|
|
92
|
+
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
|
|
93
|
+
# However, in case of collaboration, if having platform-specific dependencies or dependencies
|
|
94
|
+
# having no cross-platform support, pipenv may install dependencies that don't work, or not
|
|
95
|
+
# install all needed dependencies.
|
|
96
|
+
# Pipfile.lock
|
|
97
|
+
|
|
98
|
+
# uv
|
|
99
|
+
# Similar to Pipfile.lock, it is generally recommended to include uv.lock in version control.
|
|
100
|
+
# This is especially recommended for binary packages to ensure reproducibility, and is more
|
|
101
|
+
# commonly ignored for libraries.
|
|
102
|
+
# uv.lock
|
|
103
|
+
|
|
104
|
+
# poetry
|
|
105
|
+
# Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control.
|
|
106
|
+
# This is especially recommended for binary packages to ensure reproducibility, and is more
|
|
107
|
+
# commonly ignored for libraries.
|
|
108
|
+
# https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control
|
|
109
|
+
# poetry.lock
|
|
110
|
+
# poetry.toml
|
|
111
|
+
|
|
112
|
+
# pdm
|
|
113
|
+
# Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control.
|
|
114
|
+
# pdm recommends including project-wide configuration in pdm.toml, but excluding .pdm-python.
|
|
115
|
+
# https://pdm-project.org/en/latest/usage/project/#working-with-version-control
|
|
116
|
+
# pdm.lock
|
|
117
|
+
# pdm.toml
|
|
118
|
+
.pdm-python
|
|
119
|
+
.pdm-build/
|
|
120
|
+
|
|
121
|
+
# pixi
|
|
122
|
+
# Similar to Pipfile.lock, it is generally recommended to include pixi.lock in version control.
|
|
123
|
+
# pixi.lock
|
|
124
|
+
# Pixi creates a virtual environment in the .pixi directory, just like venv module creates one
|
|
125
|
+
# in the .venv directory. It is recommended not to include this directory in version control.
|
|
126
|
+
.pixi/*
|
|
127
|
+
!.pixi/config.toml
|
|
128
|
+
|
|
129
|
+
# PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm
|
|
130
|
+
__pypackages__/
|
|
131
|
+
|
|
132
|
+
# Celery stuff
|
|
133
|
+
celerybeat-schedule*
|
|
134
|
+
celerybeat.pid
|
|
135
|
+
|
|
136
|
+
# Redis
|
|
137
|
+
*.rdb
|
|
138
|
+
*.aof
|
|
139
|
+
*.pid
|
|
140
|
+
|
|
141
|
+
# RabbitMQ
|
|
142
|
+
mnesia/
|
|
143
|
+
rabbitmq/
|
|
144
|
+
rabbitmq-data/
|
|
145
|
+
|
|
146
|
+
# ActiveMQ
|
|
147
|
+
activemq-data/
|
|
148
|
+
|
|
149
|
+
# SageMath parsed files
|
|
150
|
+
*.sage.py
|
|
151
|
+
|
|
152
|
+
# Environments
|
|
153
|
+
.env
|
|
154
|
+
.envrc
|
|
155
|
+
.venv
|
|
156
|
+
env/
|
|
157
|
+
venv/
|
|
158
|
+
ENV/
|
|
159
|
+
env.bak/
|
|
160
|
+
venv.bak/
|
|
161
|
+
|
|
162
|
+
# Spyder project settings
|
|
163
|
+
.spyderproject
|
|
164
|
+
.spyproject
|
|
165
|
+
|
|
166
|
+
# Rope project settings
|
|
167
|
+
.ropeproject
|
|
168
|
+
|
|
169
|
+
# mkdocs/Zensical documentation
|
|
170
|
+
/site
|
|
171
|
+
|
|
172
|
+
# mypy
|
|
173
|
+
.mypy_cache/
|
|
174
|
+
.dmypy.json
|
|
175
|
+
dmypy.json
|
|
176
|
+
|
|
177
|
+
# Pyre type checker
|
|
178
|
+
.pyre/
|
|
179
|
+
|
|
180
|
+
# pytype static type analyzer
|
|
181
|
+
.pytype/
|
|
182
|
+
|
|
183
|
+
# Cython debug symbols
|
|
184
|
+
cython_debug/
|
|
185
|
+
|
|
186
|
+
# PyCharm
|
|
187
|
+
# JetBrains specific template is maintained in a separate JetBrains.gitignore that can
|
|
188
|
+
# be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
|
|
189
|
+
# and can be added to the global gitignore or merged into this file. For a more nuclear
|
|
190
|
+
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
|
|
191
|
+
# .idea/
|
|
192
|
+
|
|
193
|
+
# Abstra
|
|
194
|
+
# Abstra is an AI-powered process automation framework.
|
|
195
|
+
# Ignore directories containing user credentials, local state, and settings.
|
|
196
|
+
# Learn more at https://abstra.io/docs
|
|
197
|
+
.abstra/
|
|
198
|
+
|
|
199
|
+
# Visual Studio Code
|
|
200
|
+
# Visual Studio Code specific template is maintained in a separate VisualStudioCode.gitignore that
|
|
201
|
+
# can be found at https://github.com/github/gitignore/blob/main/Global/VisualStudioCode.gitignore
|
|
202
|
+
# and can be added to the global gitignore or merged into this file. However, if you prefer, you
|
|
203
|
+
# could uncomment the following to ignore the entire vscode folder
|
|
204
|
+
# .vscode/
|
|
205
|
+
# Temporary file for partial code execution
|
|
206
|
+
tempCodeRunnerFile.py
|
|
207
|
+
|
|
208
|
+
# Ruff stuff:
|
|
209
|
+
.ruff_cache/
|
|
210
|
+
|
|
211
|
+
# PyPI configuration file
|
|
212
|
+
.pypirc
|
|
213
|
+
|
|
214
|
+
# Marimo
|
|
215
|
+
marimo/_static/
|
|
216
|
+
marimo/_lsp/
|
|
217
|
+
__marimo__/
|
|
218
|
+
|
|
219
|
+
# Streamlit
|
|
220
|
+
.streamlit/secrets.toml
|
|
221
|
+
renderplan/_version.py
|
|
222
|
+
context_renderplan*.*
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
schema_version = 3
|
|
2
|
+
|
|
3
|
+
[project]
|
|
4
|
+
uuid = "40c229b3-3371-45c9-81ee-58d97addb9af"
|
|
5
|
+
name = "renderplan"
|
|
6
|
+
|
|
7
|
+
[ledgers.taskledger.mounts.data]
|
|
8
|
+
storage = "external"
|
|
9
|
+
root = "../ledger"
|
|
10
|
+
|
|
11
|
+
[ledgers.taskledger.mounts.runtime]
|
|
12
|
+
storage = "user-data"
|
|
13
|
+
|
|
14
|
+
[ledgers.taskledger.mounts.logs]
|
|
15
|
+
storage = "user-data"
|
|
16
|
+
|
|
17
|
+
[ledgers.taskledger.mounts.indexes]
|
|
18
|
+
storage = "cache"
|
|
19
|
+
|
|
20
|
+
[ledgers.releaseledger.mounts.data]
|
|
21
|
+
storage = "project"
|
|
22
|
+
|
|
23
|
+
[ledgers.releaseledger.mounts.indexes]
|
|
24
|
+
storage = "cache"
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
config_version = 2
|
|
2
|
+
# Branch-scoped release state. This block is safe to commit.
|
|
3
|
+
ledger_ref = "main"
|
|
4
|
+
ledger_parent_ref = ""
|
|
5
|
+
ledger_branch_guard = "off"
|
|
6
|
+
# Cross-ledger identity. Local record IDs stay unchanged.
|
|
7
|
+
|
|
8
|
+
[ledger]
|
|
9
|
+
code = "rl"
|
|
10
|
+
# Release defaults.
|
|
11
|
+
|
|
12
|
+
[release]
|
|
13
|
+
default_changelog = "CHANGELOG.md"
|
|
14
|
+
default_status = "planned"
|
|
15
|
+
allow_dirty_worktree = true
|
|
16
|
+
# Changelog build defaults.
|
|
17
|
+
|
|
18
|
+
[changelog]
|
|
19
|
+
output = "docs/changelog.md"
|
|
20
|
+
header = ""
|
|
21
|
+
body = """## {% if release.date %}[{{ release.version }}] - {{ release.date }}{% else %}[{{ release.version }}] - Unreleased{% endif %}
|
|
22
|
+
|
|
23
|
+
{% for group in groups %}
|
|
24
|
+
### {{ group.title }}
|
|
25
|
+
{% for entry in group.entries %}
|
|
26
|
+
- {% if entry.breaking %}**BREAKING:** {% endif %}{{ entry.summary }}
|
|
27
|
+
{% endfor %}
|
|
28
|
+
|
|
29
|
+
{% endfor %}
|
|
30
|
+
"""
|
|
31
|
+
footer = "<!-- generated by releaseledger -->"
|
|
32
|
+
trim = true
|
|
33
|
+
render_always = false
|
|
34
|
+
postprocessors = []
|
|
35
|
+
standard = ""
|
|
36
|
+
group_mode = "extended"
|
|
37
|
+
link_references = false
|
|
38
|
+
repository_url = ""
|
|
39
|
+
tag_prefix = "v"
|
|
40
|
+
compare_url_template = ""
|
|
41
|
+
release_url_template = ""
|
|
42
|
+
preamble = ""
|
|
43
|
+
semver = false
|
|
44
|
+
unreleased = true
|
|
45
|
+
# Git-first release evidence.
|
|
46
|
+
|
|
47
|
+
[git]
|
|
48
|
+
enabled = true
|
|
49
|
+
tag_creation = "local"
|
|
50
|
+
default_base = "previous_release_tag"
|
|
51
|
+
default_head = "HEAD"
|
|
52
|
+
previous_tag_patterns = ["v{version}", "{version}"]
|
|
53
|
+
include_merges = "nontrivial"
|
|
54
|
+
require_clean_worktree = false
|
|
55
|
+
max_commits = 500
|
|
56
|
+
max_diff_chars_per_commit = 12000
|
|
57
|
+
candidate_status = "draft"
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
{"data":{"status":"planned"},"event":"release.created","event_id":"event-0001","record_revisions":{"release:v0.1.0":1},"release_version":"v0.1.0","schema_version":2}
|
|
2
|
+
{"data":{"fields":["changelog_file","git_base_ref","git_base_sha","git_commit_count","git_head_ref","git_head_sha","git_range"]},"event":"release.updated","event_id":"event-0002","record_revisions":{"release:v0.1.0":2},"release_version":"v0.1.0","schema_version":2}
|
|
3
|
+
{"data":{"row_count":3},"event":"audit.created","event_id":"event-0003","record_revisions":{"commit_audit_sheet":1},"release_version":"v0.1.0","schema_version":2}
|
|
4
|
+
{"data":{"entry_ids":["entry-0001","entry-0002","entry-0003","entry-0004"],"synced_audit_rows":3},"event":"entry.batch_added","event_id":"event-0004","record_revisions":{"commit_audit_sheet":2,"entry:v0.1.0/entry-0001":1,"entry:v0.1.0/entry-0002":1,"entry:v0.1.0/entry-0003":1,"entry:v0.1.0/entry-0004":1,"release:v0.1.0":3},"release_version":"v0.1.0","schema_version":2}
|
|
5
|
+
{"data":{"updated_rows":3},"event":"audit.updated","event_id":"event-0005","record_revisions":{"commit_audit_sheet":3},"release_version":"v0.1.0","schema_version":2}
|
|
6
|
+
{"data":{"released_at":"2026-10-12"},"event":"release.finalized","event_id":"event-0006","record_revisions":{"release:v0.1.0":4},"release_version":"v0.1.0","schema_version":2}
|