ifcurl/ifcurl
Bruno Postle caf303d3ed Add checkout.py: writable working-tree checkouts from bare cache
Implements ifcurl-5oo. get_checkout() ensures the bare cache is current via
fetch_ifc(), then clones it locally to <cache_dir>/checkout/ (no network),
and places it at the resolved commit as a detached HEAD — forcing branch
creation before any commit. Viewer artefact patterns (*.ifcview, *.rdbview,
etc.) are appended to .git/info/exclude so they are locally ignored without
touching the repo's own .gitignore. When a newer commit is requested, the
checkout fetches from origin (the local bare cache) using the default refspec
to avoid git's "refusing to fetch into checked-out branch" error. Unblocks
the JSON-RPC connector (ifcurl-242).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-05 23:38:13 +01:00
..
__init__.py Add checkout.py: writable working-tree checkouts from bare cache 2026-06-05 23:38:13 +01:00
__main__.py Fix license headers: correct copyright owner and add SPDX identifiers 2026-05-19 21:07:23 +01:00
auth.py Fix license headers: correct copyright owner and add SPDX identifiers 2026-05-19 21:07:23 +01:00
bcf.py Fix license headers: correct copyright owner and add SPDX identifiers 2026-05-19 21:07:23 +01:00
bcf_api.py Fix license headers: correct copyright owner and add SPDX identifiers 2026-05-19 21:07:23 +01:00
checkout.py Add checkout.py: writable working-tree checkouts from bare cache 2026-06-05 23:38:13 +01:00
diff.py Fix license headers: correct copyright owner and add SPDX identifiers 2026-05-19 21:07:23 +01:00
discover.py Add discover.py: find local repos matching a project by genesis commit 2026-06-05 23:05:33 +01:00
documents_api.py Fix license headers: correct copyright owner and add SPDX identifiers 2026-05-19 21:07:23 +01:00
git.py Add get_genesis_commit: root commit hash as project identity key 2026-06-05 18:32:54 +01:00
py.typed Python core library and ifcurl CLI 2026-04-15 21:24:35 +01:00
render.py Fix license headers: correct copyright owner and add SPDX identifiers 2026-05-19 21:07:23 +01:00
render_service.py Fix license headers: correct copyright owner and add SPDX identifiers 2026-05-19 21:07:23 +01:00
sandbox.py Fix license headers: correct copyright owner and add SPDX identifiers 2026-05-19 21:07:23 +01:00
service.py Fix license headers: correct copyright owner and add SPDX identifiers 2026-05-19 21:07:23 +01:00
url.py Fix license headers: correct copyright owner and add SPDX identifiers 2026-05-19 21:07:23 +01:00