git-repokit 0.10.1__tar.gz → 0.10.4__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.
- {git_repokit-0.10.1/git_repokit.egg-info → git_repokit-0.10.4}/PKG-INFO +13 -1
- {git_repokit-0.10.1 → git_repokit-0.10.4}/README.md +10 -0
- {git_repokit-0.10.1 → git_repokit-0.10.4/git_repokit.egg-info}/PKG-INFO +13 -1
- {git_repokit-0.10.1 → git_repokit-0.10.4}/git_repokit.egg-info/SOURCES.txt +4 -0
- {git_repokit-0.10.1 → git_repokit-0.10.4}/git_repokit.egg-info/requires.txt +2 -0
- {git_repokit-0.10.1 → git_repokit-0.10.4}/pyproject.toml +7 -1
- git_repokit-0.10.4/repokit/__version__.py +9 -0
- {git_repokit-0.10.1 → git_repokit-0.10.4}/repokit/branch_utils.py +36 -2
- {git_repokit-0.10.1 → git_repokit-0.10.4}/repokit/cli.py +106 -31
- {git_repokit-0.10.1 → git_repokit-0.10.4}/repokit/common_kit.py +54 -10
- {git_repokit-0.10.1 → git_repokit-0.10.4}/repokit/config.py +22 -1
- {git_repokit-0.10.1 → git_repokit-0.10.4}/repokit/defaults.py +61 -7
- {git_repokit-0.10.1 → git_repokit-0.10.4}/repokit/github_create.py +88 -39
- {git_repokit-0.10.1 → git_repokit-0.10.4}/repokit/github_setup.py +99 -7
- {git_repokit-0.10.1 → git_repokit-0.10.4}/repokit/layers.py +2 -0
- {git_repokit-0.10.1 → git_repokit-0.10.4}/repokit/remote_integration.py +30 -1
- {git_repokit-0.10.1 → git_repokit-0.10.4}/repokit/repo_manager.py +229 -57
- {git_repokit-0.10.1 → git_repokit-0.10.4}/repokit/templates/hooks/pre-commit.template +15 -1
- {git_repokit-0.10.1 → git_repokit-0.10.4}/repokit/vault.py +20 -8
- git_repokit-0.10.4/tests/test_common_guard.py +443 -0
- {git_repokit-0.10.1 → git_repokit-0.10.4}/tests/test_directory_profiles.py +4 -1
- {git_repokit-0.10.1 → git_repokit-0.10.4}/tests/test_github_setup.py +9 -3
- git_repokit-0.10.4/tests/test_github_setup_publish.py +343 -0
- {git_repokit-0.10.1 → git_repokit-0.10.4}/tests/test_layers_cli.py +6 -1
- git_repokit-0.10.4/tests/test_list_templates.py +21 -0
- {git_repokit-0.10.1 → git_repokit-0.10.4}/tests/test_new_default.py +13 -4
- {git_repokit-0.10.1 → git_repokit-0.10.4}/tests/test_packaging.py +15 -0
- git_repokit-0.10.4/tests/test_private_modes.py +388 -0
- git_repokit-0.10.1/repokit/__version__.py +0 -4
- {git_repokit-0.10.1 → git_repokit-0.10.4}/LICENSE +0 -0
- {git_repokit-0.10.1 → git_repokit-0.10.4}/MANIFEST.in +0 -0
- {git_repokit-0.10.1 → git_repokit-0.10.4}/git_repokit.egg-info/dependency_links.txt +0 -0
- {git_repokit-0.10.1 → git_repokit-0.10.4}/git_repokit.egg-info/entry_points.txt +0 -0
- {git_repokit-0.10.1 → git_repokit-0.10.4}/git_repokit.egg-info/top_level.txt +0 -0
- {git_repokit-0.10.1 → git_repokit-0.10.4}/repokit/__init__.py +0 -0
- {git_repokit-0.10.1 → git_repokit-0.10.4}/repokit/__main__.py +0 -0
- {git_repokit-0.10.1 → git_repokit-0.10.4}/repokit/_vendor/__init__.py +0 -0
- {git_repokit-0.10.1 → git_repokit-0.10.4}/repokit/_vendor/ailib/__init__.py +0 -0
- {git_repokit-0.10.1 → git_repokit-0.10.4}/repokit/_vendor/ailib/analyzer.py +0 -0
- {git_repokit-0.10.1 → git_repokit-0.10.4}/repokit/_vendor/ailib/backend.py +0 -0
- {git_repokit-0.10.1 → git_repokit-0.10.4}/repokit/_vendor/ailib/cache.py +0 -0
- {git_repokit-0.10.1 → git_repokit-0.10.4}/repokit/_vendor/ailib/parsers.py +0 -0
- {git_repokit-0.10.1 → git_repokit-0.10.4}/repokit/_vendor/ailib/transports/__init__.py +0 -0
- {git_repokit-0.10.1 → git_repokit-0.10.4}/repokit/_vendor/ailib/transports/cli.py +0 -0
- {git_repokit-0.10.1 → git_repokit-0.10.4}/repokit/_vendor/ailib/transports/openai_compat.py +0 -0
- {git_repokit-0.10.1 → git_repokit-0.10.4}/repokit/_vendor/ailib/transports/prompt_file.py +0 -0
- {git_repokit-0.10.1 → git_repokit-0.10.4}/repokit/_vendor/ailib/types.py +0 -0
- {git_repokit-0.10.1 → git_repokit-0.10.4}/repokit/auth_integration.py +0 -0
- {git_repokit-0.10.1 → git_repokit-0.10.4}/repokit/badges.py +0 -0
- {git_repokit-0.10.1 → git_repokit-0.10.4}/repokit/directory_analyzer.py +0 -0
- {git_repokit-0.10.1 → git_repokit-0.10.4}/repokit/directory_profiles.py +0 -0
- {git_repokit-0.10.1 → git_repokit-0.10.4}/repokit/git_config.py +0 -0
- {git_repokit-0.10.1 → git_repokit-0.10.4}/repokit/guardrails.py +0 -0
- {git_repokit-0.10.1 → git_repokit-0.10.4}/repokit/history_cleaner.py +0 -0
- {git_repokit-0.10.1 → git_repokit-0.10.4}/repokit/history_protection.py +0 -0
- {git_repokit-0.10.1 → git_repokit-0.10.4}/repokit/hooks/pre-commit-guardrails +0 -0
- {git_repokit-0.10.1 → git_repokit-0.10.4}/repokit/hooks/pre-commit-template +0 -0
- {git_repokit-0.10.1 → git_repokit-0.10.4}/repokit/licenses/0bsd.txt +0 -0
- {git_repokit-0.10.1 → git_repokit-0.10.4}/repokit/licenses/LICENSES.md +0 -0
- {git_repokit-0.10.1 → git_repokit-0.10.4}/repokit/licenses/__init__.py +0 -0
- {git_repokit-0.10.1 → git_repokit-0.10.4}/repokit/licenses/agpl-3.0.txt +0 -0
- {git_repokit-0.10.1 → git_repokit-0.10.4}/repokit/licenses/all-rights-reserved.txt +0 -0
- {git_repokit-0.10.1 → git_repokit-0.10.4}/repokit/licenses/apache-2.0.txt +0 -0
- {git_repokit-0.10.1 → git_repokit-0.10.4}/repokit/licenses/bsd-2-clause.txt +0 -0
- {git_repokit-0.10.1 → git_repokit-0.10.4}/repokit/licenses/bsd-3-clause.txt +0 -0
- {git_repokit-0.10.1 → git_repokit-0.10.4}/repokit/licenses/bsl-1.0.txt +0 -0
- {git_repokit-0.10.1 → git_repokit-0.10.4}/repokit/licenses/cc-by-4.0.txt +0 -0
- {git_repokit-0.10.1 → git_repokit-0.10.4}/repokit/licenses/cc-by-sa-4.0.txt +0 -0
- {git_repokit-0.10.1 → git_repokit-0.10.4}/repokit/licenses/cc0-1.0.txt +0 -0
- {git_repokit-0.10.1 → git_repokit-0.10.4}/repokit/licenses/epl-2.0.txt +0 -0
- {git_repokit-0.10.1 → git_repokit-0.10.4}/repokit/licenses/gpl-2.0.txt +0 -0
- {git_repokit-0.10.1 → git_repokit-0.10.4}/repokit/licenses/gpl-3.0.txt +0 -0
- {git_repokit-0.10.1 → git_repokit-0.10.4}/repokit/licenses/isc.txt +0 -0
- {git_repokit-0.10.1 → git_repokit-0.10.4}/repokit/licenses/lgpl-2.1.txt +0 -0
- {git_repokit-0.10.1 → git_repokit-0.10.4}/repokit/licenses/lgpl-3.0.txt +0 -0
- {git_repokit-0.10.1 → git_repokit-0.10.4}/repokit/licenses/mit.txt +0 -0
- {git_repokit-0.10.1 → git_repokit-0.10.4}/repokit/licenses/mpl-2.0.txt +0 -0
- {git_repokit-0.10.1 → git_repokit-0.10.4}/repokit/licenses/proprietary-evaluation.txt +0 -0
- {git_repokit-0.10.1 → git_repokit-0.10.4}/repokit/licenses/unlicense.txt +0 -0
- {git_repokit-0.10.1 → git_repokit-0.10.4}/repokit/readme_blocks.py +0 -0
- {git_repokit-0.10.1 → git_repokit-0.10.4}/repokit/template_engine.py +0 -0
- {git_repokit-0.10.1 → git_repokit-0.10.4}/repokit/templates/ai/claude/CLAUDE-nested.md.template +0 -0
- {git_repokit-0.10.1 → git_repokit-0.10.4}/repokit/templates/ai/claude/CLAUDE.md.template +0 -0
- {git_repokit-0.10.1 → git_repokit-0.10.4}/repokit/templates/ai/claude/instructions/step1_context_rebuilder.md +0 -0
- {git_repokit-0.10.1 → git_repokit-0.10.4}/repokit/templates/ai/claude/instructions/step2_dev_workflow_process.md +0 -0
- {git_repokit-0.10.1 → git_repokit-0.10.4}/repokit/templates/ai/claude/instructions/step3_context_bridge.md +0 -0
- {git_repokit-0.10.1 → git_repokit-0.10.4}/repokit/templates/common/CHANGELOG.md.template +0 -0
- {git_repokit-0.10.1 → git_repokit-0.10.4}/repokit/templates/common/CONTRIBUTING.md.template +0 -0
- {git_repokit-0.10.1 → git_repokit-0.10.4}/repokit/templates/common/README.md.template +0 -0
- {git_repokit-0.10.1 → git_repokit-0.10.4}/repokit/templates/common/gitattributes.template +0 -0
- {git_repokit-0.10.1 → git_repokit-0.10.4}/repokit/templates/common/gitignore.template +0 -0
- {git_repokit-0.10.1 → git_repokit-0.10.4}/repokit/templates/extras/FUNDING.yml.template +0 -0
- {git_repokit-0.10.1 → git_repokit-0.10.4}/repokit/templates/extras/ROADMAP.md.template +0 -0
- {git_repokit-0.10.1 → git_repokit-0.10.4}/repokit/templates/extras/dependabot.yml.template +0 -0
- {git_repokit-0.10.1 → git_repokit-0.10.4}/repokit/templates/extras/one-offs-README.md.template +0 -0
- {git_repokit-0.10.1 → git_repokit-0.10.4}/repokit/templates/extras/platform-support.md.template +0 -0
- {git_repokit-0.10.1 → git_repokit-0.10.4}/repokit/templates/extras/pull_request_template.md.template +0 -0
- {git_repokit-0.10.1 → git_repokit-0.10.4}/repokit/templates/extras/release-template.md.template +0 -0
- {git_repokit-0.10.1 → git_repokit-0.10.4}/repokit/templates/extras/settings.json.template +0 -0
- {git_repokit-0.10.1 → git_repokit-0.10.4}/repokit/templates/extras/stale.yml.template +0 -0
- {git_repokit-0.10.1 → git_repokit-0.10.4}/repokit/templates/github/CODEOWNERS.template +0 -0
- {git_repokit-0.10.1 → git_repokit-0.10.4}/repokit/templates/github/ISSUE_TEMPLATE/bug-report.md.template +0 -0
- {git_repokit-0.10.1 → git_repokit-0.10.4}/repokit/templates/github/ISSUE_TEMPLATE/feature-request.md.template +0 -0
- {git_repokit-0.10.1 → git_repokit-0.10.4}/repokit/templates/github/issues/notes.md.template +0 -0
- {git_repokit-0.10.1 → git_repokit-0.10.4}/repokit/templates/github/issues/roadmap.md.template +0 -0
- {git_repokit-0.10.1 → git_repokit-0.10.4}/repokit/templates/layers/archetypes/any/claude-plugin/.claude-plugin/marketplace.json +0 -0
- {git_repokit-0.10.1 → git_repokit-0.10.4}/repokit/templates/layers/archetypes/any/claude-plugin/plugin/.claude-plugin/plugin.json +0 -0
- {git_repokit-0.10.1 → git_repokit-0.10.4}/repokit/templates/layers/archetypes/any/claude-plugin/plugin/README.md +0 -0
- {git_repokit-0.10.1 → git_repokit-0.10.4}/repokit/templates/layers/archetypes/c-cpp/cmake-app/.github/workflows/ci-c-cpp.yml +0 -0
- {git_repokit-0.10.1 → git_repokit-0.10.4}/repokit/templates/layers/archetypes/c-cpp/cmake-app/.repokit-common.toml.rkappend +0 -0
- {git_repokit-0.10.1 → git_repokit-0.10.4}/repokit/templates/layers/archetypes/c-cpp/cmake-app/.vscode/launch.json +0 -0
- {git_repokit-0.10.1 → git_repokit-0.10.4}/repokit/templates/layers/archetypes/c-cpp/cmake-app/.vscode/tasks.json +0 -0
- {git_repokit-0.10.1 → git_repokit-0.10.4}/repokit/templates/layers/archetypes/c-cpp/cmake-app/CMakeLists.txt +0 -0
- {git_repokit-0.10.1 → git_repokit-0.10.4}/repokit/templates/layers/archetypes/c-cpp/cmake-app/CMakePresets.json +0 -0
- {git_repokit-0.10.1 → git_repokit-0.10.4}/repokit/templates/layers/archetypes/c-cpp/cmake-app/cmake/GenerateStamp.cmake +0 -0
- {git_repokit-0.10.1 → git_repokit-0.10.4}/repokit/templates/layers/archetypes/c-cpp/cmake-app/src/main.cpp +0 -0
- {git_repokit-0.10.1 → git_repokit-0.10.4}/repokit/templates/layers/archetypes/c-cpp/cmake-app/tests/test_version.cpp +0 -0
- {git_repokit-0.10.1 → git_repokit-0.10.4}/repokit/templates/layers/archetypes/c-cpp/cmake-app/vcpkg.json +0 -0
- {git_repokit-0.10.1 → git_repokit-0.10.4}/repokit/templates/layers/archetypes/c-cpp/minimal/.vscode/launch.json +0 -0
- {git_repokit-0.10.1 → git_repokit-0.10.4}/repokit/templates/layers/archetypes/c-cpp/minimal/Makefile +0 -0
- {git_repokit-0.10.1 → git_repokit-0.10.4}/repokit/templates/layers/archetypes/c-cpp/minimal/build.bat +0 -0
- {git_repokit-0.10.1 → git_repokit-0.10.4}/repokit/templates/layers/archetypes/c-cpp/minimal/src/__RK_SNAKE__.c +0 -0
- {git_repokit-0.10.1 → git_repokit-0.10.4}/repokit/templates/layers/archetypes/c-cpp/msbuild/.vscode/launch.json +0 -0
- {git_repokit-0.10.1 → git_repokit-0.10.4}/repokit/templates/layers/archetypes/c-cpp/msbuild/.vscode/tasks.json +0 -0
- {git_repokit-0.10.1 → git_repokit-0.10.4}/repokit/templates/layers/archetypes/c-cpp/msbuild/__RK_PROJECT__.sln +0 -0
- {git_repokit-0.10.1 → git_repokit-0.10.4}/repokit/templates/layers/archetypes/c-cpp/msbuild/__RK_PROJECT__.vcxproj +0 -0
- {git_repokit-0.10.1 → git_repokit-0.10.4}/repokit/templates/layers/archetypes/c-cpp/msbuild/src/main.cpp +0 -0
- {git_repokit-0.10.1 → git_repokit-0.10.4}/repokit/templates/layers/archetypes/js-ts/claude-plugin/.repokit-common.toml +0 -0
- {git_repokit-0.10.1 → git_repokit-0.10.4}/repokit/templates/layers/archetypes/js-ts/claude-plugin/.vscode/launch.json +0 -0
- {git_repokit-0.10.1 → git_repokit-0.10.4}/repokit/templates/layers/archetypes/js-ts/claude-plugin/plugin/hooks/hooks.json +0 -0
- {git_repokit-0.10.1 → git_repokit-0.10.4}/repokit/templates/layers/archetypes/js-ts/claude-plugin/plugin/hooks/scripts/session-start.mjs +0 -0
- {git_repokit-0.10.1 → git_repokit-0.10.4}/repokit/templates/layers/archetypes/js-ts/claude-plugin/plugin/tests/manifest.test.js +0 -0
- {git_repokit-0.10.1 → git_repokit-0.10.4}/repokit/templates/layers/archetypes/js-ts/node/.repokit-common.toml.rkappend +0 -0
- {git_repokit-0.10.1 → git_repokit-0.10.4}/repokit/templates/layers/archetypes/js-ts/node/package.json +0 -0
- {git_repokit-0.10.1 → git_repokit-0.10.4}/repokit/templates/layers/archetypes/js-ts/node-package/.github/workflows/release.yml +0 -0
- {git_repokit-0.10.1 → git_repokit-0.10.4}/repokit/templates/layers/archetypes/js-ts/node-package/package.json +0 -0
- {git_repokit-0.10.1 → git_repokit-0.10.4}/repokit/templates/layers/archetypes/js-ts/node-package/src/index.ts +0 -0
- {git_repokit-0.10.1 → git_repokit-0.10.4}/repokit/templates/layers/archetypes/js-ts/node-package/tests/index.test.ts +0 -0
- {git_repokit-0.10.1 → git_repokit-0.10.4}/repokit/templates/layers/archetypes/js-ts/script/.vscode/launch.json +0 -0
- {git_repokit-0.10.1 → git_repokit-0.10.4}/repokit/templates/layers/archetypes/js-ts/script/__RK_PROJECT__.js +0 -0
- {git_repokit-0.10.1 → git_repokit-0.10.4}/repokit/templates/layers/archetypes/js-ts/script/tests/version.test.js +0 -0
- {git_repokit-0.10.1 → git_repokit-0.10.4}/repokit/templates/layers/archetypes/js-ts/ts/package.json +0 -0
- {git_repokit-0.10.1 → git_repokit-0.10.4}/repokit/templates/layers/archetypes/js-ts/ts/tsconfig.json +0 -0
- {git_repokit-0.10.1 → git_repokit-0.10.4}/repokit/templates/layers/archetypes/paradox/ck3/.repokit-common.toml +0 -0
- {git_repokit-0.10.1 → git_repokit-0.10.4}/repokit/templates/layers/archetypes/paradox/ck3/mod/descriptor.mod +0 -0
- {git_repokit-0.10.1 → git_repokit-0.10.4}/repokit/templates/layers/archetypes/paradox/clausewitz/mod/localisation/english/__RK_SNAKE___l_english.yml +0 -0
- {git_repokit-0.10.1 → git_repokit-0.10.4}/repokit/templates/layers/archetypes/paradox/descriptor-mod/mod/descriptor.mod +0 -0
- {git_repokit-0.10.1 → git_repokit-0.10.4}/repokit/templates/layers/archetypes/paradox/descriptor-mod/mod/thumbnail.png +0 -0
- {git_repokit-0.10.1 → git_repokit-0.10.4}/repokit/templates/layers/archetypes/paradox/jomini/mod/localization/english/__RK_SNAKE___l_english.yml +0 -0
- {git_repokit-0.10.1 → git_repokit-0.10.4}/repokit/templates/layers/archetypes/python/claude-plugin/.github/workflows/ci-python.yml +0 -0
- {git_repokit-0.10.1 → git_repokit-0.10.4}/repokit/templates/layers/archetypes/python/claude-plugin/.repokit-common.toml +0 -0
- {git_repokit-0.10.1 → git_repokit-0.10.4}/repokit/templates/layers/archetypes/python/claude-plugin/.vscode/launch.json +0 -0
- {git_repokit-0.10.1 → git_repokit-0.10.4}/repokit/templates/layers/archetypes/python/claude-plugin/VERSION +0 -0
- {git_repokit-0.10.1 → git_repokit-0.10.4}/repokit/templates/layers/archetypes/python/claude-plugin/plugin/hooks/hooks.json +0 -0
- {git_repokit-0.10.1 → git_repokit-0.10.4}/repokit/templates/layers/archetypes/python/claude-plugin/plugin/hooks/scripts/run-hook.mjs +0 -0
- {git_repokit-0.10.1 → git_repokit-0.10.4}/repokit/templates/layers/archetypes/python/claude-plugin/plugin/hooks/scripts/session_start.py +0 -0
- {git_repokit-0.10.1 → git_repokit-0.10.4}/repokit/templates/layers/archetypes/python/claude-plugin/plugin/tests/test_manifest.py +0 -0
- {git_repokit-0.10.1 → git_repokit-0.10.4}/repokit/templates/layers/archetypes/python/pypi/.github/workflows/release.yml +0 -0
- {git_repokit-0.10.1 → git_repokit-0.10.4}/repokit/templates/layers/archetypes/python/pypi/.vscode/launch.json +0 -0
- {git_repokit-0.10.1 → git_repokit-0.10.4}/repokit/templates/layers/archetypes/python/pypi/__RK_SNAKE__/__init__.py +0 -0
- {git_repokit-0.10.1 → git_repokit-0.10.4}/repokit/templates/layers/archetypes/python/pypi/__RK_SNAKE__/__main__.py +0 -0
- {git_repokit-0.10.1 → git_repokit-0.10.4}/repokit/templates/layers/archetypes/python/pypi/__RK_SNAKE__/_version.py +0 -0
- {git_repokit-0.10.1 → git_repokit-0.10.4}/repokit/templates/layers/archetypes/python/pypi/__RK_SNAKE__/cli.py +0 -0
- {git_repokit-0.10.1 → git_repokit-0.10.4}/repokit/templates/layers/archetypes/python/pypi/pyproject.toml +0 -0
- {git_repokit-0.10.1 → git_repokit-0.10.4}/repokit/templates/layers/archetypes/python/pypi/tests/conftest.py +0 -0
- {git_repokit-0.10.1 → git_repokit-0.10.4}/repokit/templates/layers/archetypes/python/pypi/tests/test_version.py +0 -0
- {git_repokit-0.10.1 → git_repokit-0.10.4}/repokit/templates/layers/archetypes/python/script/.github/workflows/ci-python.yml +0 -0
- {git_repokit-0.10.1 → git_repokit-0.10.4}/repokit/templates/layers/archetypes/python/script/.repokit-common.toml +0 -0
- {git_repokit-0.10.1 → git_repokit-0.10.4}/repokit/templates/layers/archetypes/python/script/.vscode/launch.json +0 -0
- {git_repokit-0.10.1 → git_repokit-0.10.4}/repokit/templates/layers/archetypes/python/script/VERSION +0 -0
- {git_repokit-0.10.1 → git_repokit-0.10.4}/repokit/templates/layers/archetypes/python/script/__RK_PROJECT__.py +0 -0
- {git_repokit-0.10.1 → git_repokit-0.10.4}/repokit/templates/layers/archetypes/python/script/tests/test_version.py +0 -0
- {git_repokit-0.10.1 → git_repokit-0.10.4}/repokit/templates/layers/archetypes/python/setuppy/requirements.txt +0 -0
- {git_repokit-0.10.1 → git_repokit-0.10.4}/repokit/templates/layers/archetypes/python/setuppy/setup.py +0 -0
- {git_repokit-0.10.1 → git_repokit-0.10.4}/repokit/templates/layers/languages/c-cpp/.gitignore.rkappend +0 -0
- {git_repokit-0.10.1 → git_repokit-0.10.4}/repokit/templates/layers/languages/c-cpp/.repokit-common.toml +0 -0
- {git_repokit-0.10.1 → git_repokit-0.10.4}/repokit/templates/layers/languages/c-cpp/include/__RK_SNAKE__/version.h +0 -0
- {git_repokit-0.10.1 → git_repokit-0.10.4}/repokit/templates/layers/languages/c-cpp/src/app.rc +0 -0
- {git_repokit-0.10.1 → git_repokit-0.10.4}/repokit/templates/layers/languages/js-ts/.editorconfig +0 -0
- {git_repokit-0.10.1 → git_repokit-0.10.4}/repokit/templates/layers/languages/js-ts/.github/workflows/ci-js-ts.yml +0 -0
- {git_repokit-0.10.1 → git_repokit-0.10.4}/repokit/templates/layers/languages/js-ts/.gitignore.rkappend +0 -0
- {git_repokit-0.10.1 → git_repokit-0.10.4}/repokit/templates/layers/languages/js-ts/.repokit-common.toml +0 -0
- {git_repokit-0.10.1 → git_repokit-0.10.4}/repokit/templates/layers/languages/js-ts/.vscode/launch.json +0 -0
- {git_repokit-0.10.1 → git_repokit-0.10.4}/repokit/templates/layers/languages/js-ts/VERSION +0 -0
- {git_repokit-0.10.1 → git_repokit-0.10.4}/repokit/templates/layers/languages/paradox/.gitattributes.rkappend +0 -0
- {git_repokit-0.10.1 → git_repokit-0.10.4}/repokit/templates/layers/languages/paradox/.repokit-common.toml +0 -0
- {git_repokit-0.10.1 → git_repokit-0.10.4}/repokit/templates/layers/languages/paradox/VERSION +0 -0
- {git_repokit-0.10.1 → git_repokit-0.10.4}/repokit/templates/layers/languages/paradox/docs/modding.md +0 -0
- {git_repokit-0.10.1 → git_repokit-0.10.4}/repokit/templates/layers/languages/python/.github/workflows/ci-python.yml +0 -0
- {git_repokit-0.10.1 → git_repokit-0.10.4}/repokit/templates/layers/languages/python/.gitignore.rkappend +0 -0
- {git_repokit-0.10.1 → git_repokit-0.10.4}/repokit/templates/layers/languages/python/.vscode/launch.json +0 -0
- {git_repokit-0.10.1 → git_repokit-0.10.4}/repokit/templates/layers/manifest.toml +0 -0
- {git_repokit-0.10.1 → git_repokit-0.10.4}/repokit/templates/vault/CLAUDE.md +0 -0
- {git_repokit-0.10.1 → git_repokit-0.10.4}/repokit/templates/vault/claude/_maps/MOC-project.md +0 -0
- {git_repokit-0.10.1 → git_repokit-0.10.4}/repokit/templates/vault/claude/_oracle/backlinks.md +0 -0
- {git_repokit-0.10.1 → git_repokit-0.10.4}/repokit/templates/vault/claude/_oracle/concepts.md +0 -0
- {git_repokit-0.10.1 → git_repokit-0.10.4}/repokit/templates/vault/claude/_oracle/manifest.md +0 -0
- {git_repokit-0.10.1 → git_repokit-0.10.4}/repokit/templates/vault/claude/_todo/ACTIVE-WORK.md +0 -0
- {git_repokit-0.10.1 → git_repokit-0.10.4}/repokit/templates/vault/claude/_todo/OPEN-LOOPS.md +0 -0
- {git_repokit-0.10.1 → git_repokit-0.10.4}/repokit/utils.py +0 -0
- {git_repokit-0.10.1 → git_repokit-0.10.4}/setup.cfg +0 -0
- {git_repokit-0.10.1 → git_repokit-0.10.4}/setup.py +0 -0
- {git_repokit-0.10.1 → git_repokit-0.10.4}/tests/test_badges.py +0 -0
- {git_repokit-0.10.1 → git_repokit-0.10.4}/tests/test_branch_strategies.py +0 -0
- {git_repokit-0.10.1 → git_repokit-0.10.4}/tests/test_cli_examples.py +0 -0
- {git_repokit-0.10.1 → git_repokit-0.10.4}/tests/test_cli_integration.py +0 -0
- {git_repokit-0.10.1 → git_repokit-0.10.4}/tests/test_core_functionality.py +0 -0
- {git_repokit-0.10.1 → git_repokit-0.10.4}/tests/test_deployment_scenarios.py +0 -0
- {git_repokit-0.10.1 → git_repokit-0.10.4}/tests/test_docs_links.py +0 -0
- {git_repokit-0.10.1 → git_repokit-0.10.4}/tests/test_extras_cli.py +0 -0
- {git_repokit-0.10.1 → git_repokit-0.10.4}/tests/test_github_create.py +0 -0
- {git_repokit-0.10.1 → git_repokit-0.10.4}/tests/test_github_integration.py +0 -0
- {git_repokit-0.10.1 → git_repokit-0.10.4}/tests/test_github_owner.py +0 -0
- {git_repokit-0.10.1 → git_repokit-0.10.4}/tests/test_guardrails.py +0 -0
- {git_repokit-0.10.1 → git_repokit-0.10.4}/tests/test_hermetic.py +0 -0
- {git_repokit-0.10.1 → git_repokit-0.10.4}/tests/test_hook_encoding.py +0 -0
- {git_repokit-0.10.1 → git_repokit-0.10.4}/tests/test_hook_patterns.py +0 -0
- {git_repokit-0.10.1 → git_repokit-0.10.4}/tests/test_languages_setting.py +0 -0
- {git_repokit-0.10.1 → git_repokit-0.10.4}/tests/test_layer_action_pins.py +0 -0
- {git_repokit-0.10.1 → git_repokit-0.10.4}/tests/test_layers.py +0 -0
- {git_repokit-0.10.1 → git_repokit-0.10.4}/tests/test_layers_c_cpp.py +0 -0
- {git_repokit-0.10.1 → git_repokit-0.10.4}/tests/test_layers_claude_plugin.py +0 -0
- {git_repokit-0.10.1 → git_repokit-0.10.4}/tests/test_layers_compositions.py +0 -0
- {git_repokit-0.10.1 → git_repokit-0.10.4}/tests/test_layers_js_ts.py +0 -0
- {git_repokit-0.10.1 → git_repokit-0.10.4}/tests/test_layers_vscode.py +0 -0
- {git_repokit-0.10.1 → git_repokit-0.10.4}/tests/test_legacy_smoke.py +0 -0
- {git_repokit-0.10.1 → git_repokit-0.10.4}/tests/test_license_adopt.py +0 -0
- {git_repokit-0.10.1 → git_repokit-0.10.4}/tests/test_license_cli.py +0 -0
- {git_repokit-0.10.1 → git_repokit-0.10.4}/tests/test_licenses.py +0 -0
- {git_repokit-0.10.1 → git_repokit-0.10.4}/tests/test_paradox.py +0 -0
- {git_repokit-0.10.1 → git_repokit-0.10.4}/tests/test_private_branch_create.py +0 -0
- {git_repokit-0.10.1 → git_repokit-0.10.4}/tests/test_readme_blocks.py +0 -0
- {git_repokit-0.10.1 → git_repokit-0.10.4}/tests/test_run_tests_driver.py +0 -0
- {git_repokit-0.10.1 → git_repokit-0.10.4}/tests/test_template_parity.py +0 -0
- {git_repokit-0.10.1 → git_repokit-0.10.4}/tests/test_utils.py +0 -0
- {git_repokit-0.10.1 → git_repokit-0.10.4}/tests/test_vault_bootstrap.py +0 -0
- {git_repokit-0.10.1 → git_repokit-0.10.4}/tests/test_vendored_ailib.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: git-repokit
|
|
3
|
-
Version: 0.10.
|
|
3
|
+
Version: 0.10.4
|
|
4
4
|
Summary: Create standardized Git repositories: language presets, licenses, GitHub setup, and a private notes vault
|
|
5
5
|
Author: Dustin Darcy
|
|
6
6
|
License-Expression: MIT
|
|
@@ -24,6 +24,8 @@ Description-Content-Type: text/markdown
|
|
|
24
24
|
License-File: LICENSE
|
|
25
25
|
Requires-Dist: requests>=2.25.0
|
|
26
26
|
Requires-Dist: tomli>=1.1; python_version < "3.11"
|
|
27
|
+
Requires-Dist: dazzle-lib>=0.8.2
|
|
28
|
+
Requires-Dist: dazzle-loglib>=0.3.3
|
|
27
29
|
Provides-Extra: test
|
|
28
30
|
Requires-Dist: pytest>=7.0.0; extra == "test"
|
|
29
31
|
Requires-Dist: python-dotenv>=1.0.0; extra == "test"
|
|
@@ -219,6 +221,16 @@ repokit has two ways to keep private work private:
|
|
|
219
221
|
- **`main-only` (the default):** the project folder is the repository, on `main`, and `private/` is its own nested git repository that the project ignores. One branch, no merging rules to learn.
|
|
220
222
|
- **The private-branch model:** your working history lives on a local-only `private` branch in `<name>/local/`, and the public branches are git worktrees in sibling folders. You move finished work across with `repokit safe-merge`, which leaves the private content behind. This is the model repokit was first built for, and it suits projects with several release stages or several people.
|
|
221
223
|
|
|
224
|
+
What the private branch carries is the **private mode** (`--private-mode`):
|
|
225
|
+
|
|
226
|
+
| Mode | `private/` | Tracked on the private branch | Default for |
|
|
227
|
+
|---|---|---|---|
|
|
228
|
+
| `nested` | its own repository | nothing private | `main-only` |
|
|
229
|
+
| `nested-branch` | its own repository, linked into every worktree | `convos/`, `revisions/`, `logs/` (run logs ignored) | a `create` with a private-branch strategy |
|
|
230
|
+
| `branch` | on the private branch | `private/` too | `adopt`; otherwise opt-in, warned |
|
|
231
|
+
|
|
232
|
+
The promoted folders never reach a public branch or a remote. The hooks refuse them on public branches, `safe-merge` leaves them out, and git-repokit-common's pre-push refuses a push that would add them. See [The vault](docs/The-Vault.md).
|
|
233
|
+
|
|
222
234
|
| `--branch-strategy` | Public branches | Checked out in folders | Flow |
|
|
223
235
|
|---|---|---|---|
|
|
224
236
|
| `main-only` | main | the project folder itself | commit on main |
|
|
@@ -178,6 +178,16 @@ repokit has two ways to keep private work private:
|
|
|
178
178
|
- **`main-only` (the default):** the project folder is the repository, on `main`, and `private/` is its own nested git repository that the project ignores. One branch, no merging rules to learn.
|
|
179
179
|
- **The private-branch model:** your working history lives on a local-only `private` branch in `<name>/local/`, and the public branches are git worktrees in sibling folders. You move finished work across with `repokit safe-merge`, which leaves the private content behind. This is the model repokit was first built for, and it suits projects with several release stages or several people.
|
|
180
180
|
|
|
181
|
+
What the private branch carries is the **private mode** (`--private-mode`):
|
|
182
|
+
|
|
183
|
+
| Mode | `private/` | Tracked on the private branch | Default for |
|
|
184
|
+
|---|---|---|---|
|
|
185
|
+
| `nested` | its own repository | nothing private | `main-only` |
|
|
186
|
+
| `nested-branch` | its own repository, linked into every worktree | `convos/`, `revisions/`, `logs/` (run logs ignored) | a `create` with a private-branch strategy |
|
|
187
|
+
| `branch` | on the private branch | `private/` too | `adopt`; otherwise opt-in, warned |
|
|
188
|
+
|
|
189
|
+
The promoted folders never reach a public branch or a remote. The hooks refuse them on public branches, `safe-merge` leaves them out, and git-repokit-common's pre-push refuses a push that would add them. See [The vault](docs/The-Vault.md).
|
|
190
|
+
|
|
181
191
|
| `--branch-strategy` | Public branches | Checked out in folders | Flow |
|
|
182
192
|
|---|---|---|---|
|
|
183
193
|
| `main-only` | main | the project folder itself | commit on main |
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: git-repokit
|
|
3
|
-
Version: 0.10.
|
|
3
|
+
Version: 0.10.4
|
|
4
4
|
Summary: Create standardized Git repositories: language presets, licenses, GitHub setup, and a private notes vault
|
|
5
5
|
Author: Dustin Darcy
|
|
6
6
|
License-Expression: MIT
|
|
@@ -24,6 +24,8 @@ Description-Content-Type: text/markdown
|
|
|
24
24
|
License-File: LICENSE
|
|
25
25
|
Requires-Dist: requests>=2.25.0
|
|
26
26
|
Requires-Dist: tomli>=1.1; python_version < "3.11"
|
|
27
|
+
Requires-Dist: dazzle-lib>=0.8.2
|
|
28
|
+
Requires-Dist: dazzle-loglib>=0.3.3
|
|
27
29
|
Provides-Extra: test
|
|
28
30
|
Requires-Dist: pytest>=7.0.0; extra == "test"
|
|
29
31
|
Requires-Dist: python-dotenv>=1.0.0; extra == "test"
|
|
@@ -219,6 +221,16 @@ repokit has two ways to keep private work private:
|
|
|
219
221
|
- **`main-only` (the default):** the project folder is the repository, on `main`, and `private/` is its own nested git repository that the project ignores. One branch, no merging rules to learn.
|
|
220
222
|
- **The private-branch model:** your working history lives on a local-only `private` branch in `<name>/local/`, and the public branches are git worktrees in sibling folders. You move finished work across with `repokit safe-merge`, which leaves the private content behind. This is the model repokit was first built for, and it suits projects with several release stages or several people.
|
|
221
223
|
|
|
224
|
+
What the private branch carries is the **private mode** (`--private-mode`):
|
|
225
|
+
|
|
226
|
+
| Mode | `private/` | Tracked on the private branch | Default for |
|
|
227
|
+
|---|---|---|---|
|
|
228
|
+
| `nested` | its own repository | nothing private | `main-only` |
|
|
229
|
+
| `nested-branch` | its own repository, linked into every worktree | `convos/`, `revisions/`, `logs/` (run logs ignored) | a `create` with a private-branch strategy |
|
|
230
|
+
| `branch` | on the private branch | `private/` too | `adopt`; otherwise opt-in, warned |
|
|
231
|
+
|
|
232
|
+
The promoted folders never reach a public branch or a remote. The hooks refuse them on public branches, `safe-merge` leaves them out, and git-repokit-common's pre-push refuses a push that would add them. See [The vault](docs/The-Vault.md).
|
|
233
|
+
|
|
222
234
|
| `--branch-strategy` | Public branches | Checked out in folders | Flow |
|
|
223
235
|
|---|---|---|---|
|
|
224
236
|
| `main-only` | main | the project folder itself | commit on main |
|
|
@@ -192,6 +192,7 @@ tests/test_badges.py
|
|
|
192
192
|
tests/test_branch_strategies.py
|
|
193
193
|
tests/test_cli_examples.py
|
|
194
194
|
tests/test_cli_integration.py
|
|
195
|
+
tests/test_common_guard.py
|
|
195
196
|
tests/test_core_functionality.py
|
|
196
197
|
tests/test_deployment_scenarios.py
|
|
197
198
|
tests/test_directory_profiles.py
|
|
@@ -201,6 +202,7 @@ tests/test_github_create.py
|
|
|
201
202
|
tests/test_github_integration.py
|
|
202
203
|
tests/test_github_owner.py
|
|
203
204
|
tests/test_github_setup.py
|
|
205
|
+
tests/test_github_setup_publish.py
|
|
204
206
|
tests/test_guardrails.py
|
|
205
207
|
tests/test_hermetic.py
|
|
206
208
|
tests/test_hook_encoding.py
|
|
@@ -218,10 +220,12 @@ tests/test_legacy_smoke.py
|
|
|
218
220
|
tests/test_license_adopt.py
|
|
219
221
|
tests/test_license_cli.py
|
|
220
222
|
tests/test_licenses.py
|
|
223
|
+
tests/test_list_templates.py
|
|
221
224
|
tests/test_new_default.py
|
|
222
225
|
tests/test_packaging.py
|
|
223
226
|
tests/test_paradox.py
|
|
224
227
|
tests/test_private_branch_create.py
|
|
228
|
+
tests/test_private_modes.py
|
|
225
229
|
tests/test_readme_blocks.py
|
|
226
230
|
tests/test_run_tests_driver.py
|
|
227
231
|
tests/test_template_parity.py
|
|
@@ -8,7 +8,7 @@ build-backend = "setuptools.build_meta"
|
|
|
8
8
|
# PyPI's trusted publisher is registered for this name (DazzleTools/git-repokit,
|
|
9
9
|
# publish.yml, environment pypi); the command stays `repokit`
|
|
10
10
|
name = "git-repokit"
|
|
11
|
-
version = "0.10.
|
|
11
|
+
version = "0.10.4"
|
|
12
12
|
description = "Create standardized Git repositories: language presets, licenses, GitHub setup, and a private notes vault"
|
|
13
13
|
readme = "README.md"
|
|
14
14
|
license = "MIT"
|
|
@@ -37,6 +37,12 @@ dependencies = [
|
|
|
37
37
|
"requests>=2.25.0",
|
|
38
38
|
# tomllib is 3.11+; the layer engine reads TOML (layers.py falls back to tomli)
|
|
39
39
|
"tomli>=1.1; python_version < '3.11'",
|
|
40
|
+
# the DazzleLib stack: dazzle_lib.continuum names how exposed private work
|
|
41
|
+
# is (defaults.EXPOSURE_CONTINUUM); pure Python, no dependencies of its own
|
|
42
|
+
"dazzle-lib>=0.8.2",
|
|
43
|
+
# logging with channels, for the verbosity work ahead; explicit now
|
|
44
|
+
# (djdarcy, 2026-11-06: "there's no reason not to")
|
|
45
|
+
"dazzle-loglib>=0.3.3",
|
|
40
46
|
]
|
|
41
47
|
|
|
42
48
|
[project.urls]
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"""Version information for RepoKit.
|
|
2
|
+
|
|
3
|
+
Set by hand beside pyproject.toml's version (repokit-common's version sync is
|
|
4
|
+
off for this project); tests/test_packaging.py fails when the two differ, as
|
|
5
|
+
they did at 0.10.0 and 0.10.1, whose `repokit --version` printed 0.9.12.
|
|
6
|
+
"""
|
|
7
|
+
|
|
8
|
+
__version__ = "0.10.4"
|
|
9
|
+
__version_info__ = tuple(int(part) for part in __version__.split("."))
|
|
@@ -22,6 +22,29 @@ _REPOKIT_EXCLUDE_LINES = {
|
|
|
22
22
|
}
|
|
23
23
|
|
|
24
24
|
|
|
25
|
+
def promoted_folders(repo_path: str) -> List[str]:
|
|
26
|
+
"""The folders this project tracks on its private branch (0.10.3), from
|
|
27
|
+
its record: .repokit.json's private_mode and private_exposure. Empty for
|
|
28
|
+
a nested project or one with no record."""
|
|
29
|
+
from .config import read_project_record
|
|
30
|
+
from .defaults import BRANCH_MODES
|
|
31
|
+
record = read_project_record(repo_path)
|
|
32
|
+
mode = record.get("private_mode")
|
|
33
|
+
if mode not in BRANCH_MODES:
|
|
34
|
+
return []
|
|
35
|
+
folders = [k.strip("/") for k in record.get("private_exposure", {}) if k != "private/"]
|
|
36
|
+
return folders + (["private"] if mode == "branch" else [])
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
def _without_promoted(excludes: List[str], promoted: List[str]) -> List[str]:
|
|
40
|
+
""".git/info/exclude is one file for every checkout of the repository --
|
|
41
|
+
a minimal project's branch switches and every worktree -- so an exclude
|
|
42
|
+
written for a public branch also hides the folder on the private branch,
|
|
43
|
+
where a plain `git add` must take it. The public branches keep their own
|
|
44
|
+
protection: their .gitignore and the hooks."""
|
|
45
|
+
return [p for p in excludes if p.split("/", 1)[0] not in promoted]
|
|
46
|
+
|
|
47
|
+
|
|
25
48
|
def _write_excludes(exclude_file: str, excludes: List[str]) -> None:
|
|
26
49
|
"""Write RepoKit's branch excludes, keeping every line that is not RepoKit's.
|
|
27
50
|
|
|
@@ -94,7 +117,17 @@ class BranchContext:
|
|
|
94
117
|
'test-runs/',
|
|
95
118
|
'test_runs/',
|
|
96
119
|
}))
|
|
97
|
-
|
|
120
|
+
|
|
121
|
+
# The project's own private paths: the private-patterns its
|
|
122
|
+
# git-repokit-common settings name (written from --private-dirs at
|
|
123
|
+
# create, 0.10.2). safe-merge leaves them out of a merge into a public
|
|
124
|
+
# branch too, so a clone without hooks is not left with the hook as
|
|
125
|
+
# the only guard -- and the hook and safe-merge read one list.
|
|
126
|
+
from .common_kit import read_settings
|
|
127
|
+
project_patterns = read_settings(self.repo_path).get("private-patterns", [])
|
|
128
|
+
if isinstance(project_patterns, list):
|
|
129
|
+
self.EXCLUDE_FROM_PUBLIC.update(p for p in project_patterns if isinstance(p, str) and p)
|
|
130
|
+
|
|
98
131
|
@property
|
|
99
132
|
def current_branch(self) -> str:
|
|
100
133
|
"""Get current branch name."""
|
|
@@ -315,7 +348,8 @@ class BranchContext:
|
|
|
315
348
|
"test-runs/",
|
|
316
349
|
"test_runs/",
|
|
317
350
|
]
|
|
318
|
-
|
|
351
|
+
excludes = _without_promoted(excludes, promoted_folders(self.repo_path))
|
|
352
|
+
|
|
319
353
|
_write_excludes(exclude_file, excludes)
|
|
320
354
|
|
|
321
355
|
print(f"✓ Set up branch excludes for public branch '{self.current_branch}'")
|
|
@@ -11,10 +11,10 @@ import json
|
|
|
11
11
|
import argparse
|
|
12
12
|
import logging
|
|
13
13
|
import subprocess
|
|
14
|
-
from typing import Dict, Any, Optional
|
|
14
|
+
from typing import Dict, Any, List, Optional, Tuple
|
|
15
15
|
|
|
16
16
|
from .config import ConfigManager
|
|
17
|
-
from .defaults import BRANCH_STRATEGIES, DEFAULT_ADOPT_STRATEGY, PRIVATE_BRANCH_STRATEGIES
|
|
17
|
+
from .defaults import BRANCH_STRATEGIES, DEFAULT_ADOPT_STRATEGY, PRIVATE_BRANCH_STRATEGIES, PRIVATE_MODES
|
|
18
18
|
from .repo_manager import RepoManager
|
|
19
19
|
from .template_engine import TemplateEngine
|
|
20
20
|
from .directory_analyzer import (
|
|
@@ -213,21 +213,7 @@ Recipe: Microservice
|
|
|
213
213
|
help="Write none of the extras, whatever the global config says"
|
|
214
214
|
)
|
|
215
215
|
|
|
216
|
-
create_parser
|
|
217
|
-
"--github-setup",
|
|
218
|
-
dest="github_setup",
|
|
219
|
-
action="append",
|
|
220
|
-
metavar="STEP[,STEP...]",
|
|
221
|
-
help="With --github, what to set up on the new repository: labels, issues (the Roadmap and "
|
|
222
|
-
"Quick Notes as #1 and #2, before the first push), pin, discussions, topics, "
|
|
223
|
-
"pypi-environment, traffic (prints ghtraf's commands), or all. Off unless named here "
|
|
224
|
-
"or in the global config's `github_setup` list."
|
|
225
|
-
)
|
|
226
|
-
create_parser.add_argument(
|
|
227
|
-
"--topics",
|
|
228
|
-
metavar="TOPIC[,TOPIC...]",
|
|
229
|
-
help="Repository topics for --github-setup topics"
|
|
230
|
-
)
|
|
216
|
+
_add_github_setup_args(create_parser)
|
|
231
217
|
create_parser.add_argument(
|
|
232
218
|
"--badges",
|
|
233
219
|
metavar="TEMPLATE|BADGE[,BADGE...]",
|
|
@@ -320,22 +306,24 @@ Recipe: Microservice
|
|
|
320
306
|
|
|
321
307
|
branch_group.add_argument(
|
|
322
308
|
"--private-mode",
|
|
323
|
-
choices=
|
|
309
|
+
choices=list(PRIVATE_MODES),
|
|
324
310
|
help="How private work is kept: 'nested' makes private/ its own git repository "
|
|
325
|
-
"(linked into every worktree); 'branch' keeps
|
|
326
|
-
"
|
|
311
|
+
"(linked into every worktree); 'nested-branch' keeps that, and tracks "
|
|
312
|
+
"convos/, revisions/ and logs/ on the private branch; 'branch' tracks "
|
|
313
|
+
"private/ itself on the private branch too (opt-in). Default: nested for "
|
|
314
|
+
"main-only, nested-branch for the private-branch strategies (branch for adopt)"
|
|
327
315
|
)
|
|
328
316
|
|
|
329
317
|
common_group = branch_group.add_mutually_exclusive_group()
|
|
330
318
|
common_group.add_argument(
|
|
331
319
|
"--with-common", dest="with_common", action="store_true", default=None,
|
|
332
320
|
help="Vendor git-repokit-common (hooks, version sync, tools) at scripts/repokit-common/ "
|
|
333
|
-
"and install its hooks (default for
|
|
321
|
+
"and install its hooks (the default, for every branch strategy)"
|
|
334
322
|
)
|
|
335
323
|
common_group.add_argument(
|
|
336
324
|
"--no-common", dest="with_common", action="store_false",
|
|
337
|
-
help="Do not vendor git-repokit-common; git-repokit's own pre-commit guard
|
|
338
|
-
"
|
|
325
|
+
help="Do not vendor git-repokit-common (warns); git-repokit's own basic pre-commit guard "
|
|
326
|
+
"is installed instead"
|
|
339
327
|
)
|
|
340
328
|
|
|
341
329
|
branch_group.add_argument(
|
|
@@ -919,6 +907,7 @@ For more detailed documentation, see: docs/Adoption-Guide.md
|
|
|
919
907
|
action="store_true",
|
|
920
908
|
help="Don't push branches after creating remote repository"
|
|
921
909
|
)
|
|
910
|
+
_add_github_setup_args(adopt_remote_group)
|
|
922
911
|
|
|
923
912
|
# Authentication
|
|
924
913
|
adopt_auth_group = adopt_parser.add_argument_group("Authentication")
|
|
@@ -1056,6 +1045,7 @@ Examples:
|
|
|
1056
1045
|
nargs="+",
|
|
1057
1046
|
help="Exclude these branches from publishing (in addition to private)"
|
|
1058
1047
|
)
|
|
1048
|
+
_add_github_setup_args(publish_parser)
|
|
1059
1049
|
|
|
1060
1050
|
# BOOTSTRAP command
|
|
1061
1051
|
bootstrap_parser = subparsers.add_parser(
|
|
@@ -1635,6 +1625,67 @@ def _known_language_names():
|
|
|
1635
1625
|
return ["generic"]
|
|
1636
1626
|
|
|
1637
1627
|
|
|
1628
|
+
|
|
1629
|
+
def _add_github_setup_args(parser) -> None:
|
|
1630
|
+
"""--github-setup, --topics and --no-github-setup (create, adopt, publish)."""
|
|
1631
|
+
parser.add_argument(
|
|
1632
|
+
"--github-setup", dest="github_setup", action="append", metavar="STEP[,STEP...]",
|
|
1633
|
+
help="With --github or --publish-to github, what to set up on the repository: labels, issues "
|
|
1634
|
+
"(the Roadmap and Quick Notes as #1 and #2, before the first push), pin, discussions, "
|
|
1635
|
+
"topics, pypi-environment, traffic (prints ghtraf's commands), or all. Default: the "
|
|
1636
|
+
"global config's `github_setup` list; none when it names none."
|
|
1637
|
+
)
|
|
1638
|
+
parser.add_argument("--topics", metavar="TOPIC[,TOPIC...]", help="Repository topics for --github-setup topics")
|
|
1639
|
+
parser.add_argument(
|
|
1640
|
+
"--no-github-setup", action="store_true",
|
|
1641
|
+
help="Set nothing up on GitHub, whatever the config's `github_setup` says"
|
|
1642
|
+
)
|
|
1643
|
+
|
|
1644
|
+
|
|
1645
|
+
def _publish_setup(args, config: Dict[str, Any], repo_root: str, service: str,
|
|
1646
|
+
report: List[str]) -> Tuple[Dict[str, Any], Optional[str]]:
|
|
1647
|
+
"""The GitHub setup for a --publish-to run: the hooks to hand
|
|
1648
|
+
setup_remote_repository, or what is wrong. Steps come from --github-setup,
|
|
1649
|
+
else the config's `github_setup`; --no-github-setup empties them. The
|
|
1650
|
+
project's own .repokit.json supplies its name, extras, archetype and topics."""
|
|
1651
|
+
if service != "github":
|
|
1652
|
+
if getattr(args, "github_setup", None):
|
|
1653
|
+
return {}, "--github-setup works with --publish-to github only"
|
|
1654
|
+
return {}, None
|
|
1655
|
+
from . import github_setup
|
|
1656
|
+
from .config import read_project_record
|
|
1657
|
+
from .github_create import publish_hooks
|
|
1658
|
+
try:
|
|
1659
|
+
steps = github_setup.setup_names(config.get("github_setup"))
|
|
1660
|
+
except ValueError as e:
|
|
1661
|
+
return {}, str(e)
|
|
1662
|
+
if not steps:
|
|
1663
|
+
return {}, None
|
|
1664
|
+
facts = read_project_record(repo_root)
|
|
1665
|
+
setup_config = dict(config)
|
|
1666
|
+
for key in ("project_name", "extras", "archetype"):
|
|
1667
|
+
if facts.get(key):
|
|
1668
|
+
setup_config[key] = facts[key]
|
|
1669
|
+
if not setup_config.get("topics") and facts.get("topics"):
|
|
1670
|
+
setup_config["topics"] = facts["topics"]
|
|
1671
|
+
after_create, after_push = publish_hooks(repo_root, setup_config, steps, report)
|
|
1672
|
+
return {"after_create": after_create, "after_push": after_push}, None
|
|
1673
|
+
|
|
1674
|
+
|
|
1675
|
+
def _publish_with_setup(args, config: Dict[str, Any], repo_root: str, service: str,
|
|
1676
|
+
remote_integration, **remote) -> bool:
|
|
1677
|
+
"""setup_remote_repository with the GitHub setup's hooks, the setup's
|
|
1678
|
+
report printed afterwards. False on a refused setup or a failed publish."""
|
|
1679
|
+
report: List[str] = []
|
|
1680
|
+
hooks, problem = _publish_setup(args, config, repo_root, service, report)
|
|
1681
|
+
if problem:
|
|
1682
|
+
logging.getLogger("repokit").error(problem)
|
|
1683
|
+
return False
|
|
1684
|
+
ok = remote_integration.setup_remote_repository(service=service, **remote, **hooks)
|
|
1685
|
+
for line in report:
|
|
1686
|
+
print(f"GitHub: {line}")
|
|
1687
|
+
return ok
|
|
1688
|
+
|
|
1638
1689
|
def args_to_config(args: argparse.Namespace) -> Dict[str, Any]:
|
|
1639
1690
|
"""
|
|
1640
1691
|
Convert command-line arguments to configuration dictionary.
|
|
@@ -1678,8 +1729,11 @@ def args_to_config(args: argparse.Namespace) -> Dict[str, Any]:
|
|
|
1678
1729
|
if getattr(args, "github_setup", None):
|
|
1679
1730
|
from .layers import parse_languages as _split_steps
|
|
1680
1731
|
cli_config["github_setup"] = _split_steps(args.github_setup)
|
|
1732
|
+
if getattr(args, "no_github_setup", False):
|
|
1733
|
+
cli_config["github_setup"] = []
|
|
1681
1734
|
if getattr(args, "topics", None):
|
|
1682
|
-
|
|
1735
|
+
from .layers import parse_languages as _split_topics
|
|
1736
|
+
cli_config["topics"] = _split_topics(args.topics)
|
|
1683
1737
|
if getattr(args, "badges", None):
|
|
1684
1738
|
cli_config["badges"] = args.badges.strip()
|
|
1685
1739
|
if getattr(args, "no_extras", False):
|
|
@@ -1870,6 +1924,7 @@ def main() -> int:
|
|
|
1870
1924
|
if not args.language:
|
|
1871
1925
|
# the license catalogue, which create's --license help points to (0.9.11)
|
|
1872
1926
|
from . import licenses as _licenses
|
|
1927
|
+
print()
|
|
1873
1928
|
print("licenses (--license; or file=PATH, or none):")
|
|
1874
1929
|
ids = list(_licenses.known())
|
|
1875
1930
|
for i in range(0, len(ids), 8):
|
|
@@ -1877,8 +1932,10 @@ def main() -> int:
|
|
|
1877
1932
|
return 0
|
|
1878
1933
|
|
|
1879
1934
|
elif args.command == "list-templates":
|
|
1935
|
+
# list-templates has no --templates-dir of its own; reading
|
|
1936
|
+
# args.templates_dir crashed every run (since 2025, fixed in 0.10.2)
|
|
1880
1937
|
template_engine = TemplateEngine(
|
|
1881
|
-
templates_dir=args
|
|
1938
|
+
templates_dir=getattr(args, "templates_dir", None), verbose=args.verbose
|
|
1882
1939
|
)
|
|
1883
1940
|
templates = template_engine.list_templates()
|
|
1884
1941
|
print("Available templates:")
|
|
@@ -2790,8 +2847,8 @@ def main() -> int:
|
|
|
2790
2847
|
if hasattr(args, 'token') and args.token and not token_cmd:
|
|
2791
2848
|
token_cmd = f"echo {args.token}"
|
|
2792
2849
|
|
|
2793
|
-
publish_success =
|
|
2794
|
-
|
|
2850
|
+
publish_success = _publish_with_setup(
|
|
2851
|
+
args, adopt_config, dir_path, publish_to, remote_integration,
|
|
2795
2852
|
remote_name=getattr(args, 'remote_name', None) or adopt_config.get('remote_name', 'origin'),
|
|
2796
2853
|
private=getattr(args, 'private_repo', None) or adopt_config.get('private_repo', False),
|
|
2797
2854
|
push_branches=not getattr(args, 'no_push', False),
|
|
@@ -2853,6 +2910,21 @@ def main() -> int:
|
|
|
2853
2910
|
logger.error(str(e))
|
|
2854
2911
|
return 1
|
|
2855
2912
|
|
|
2913
|
+
# A private mode the strategy cannot carry (a branch mode with no
|
|
2914
|
+
# private branch) is refused before anything is written (0.10.3)
|
|
2915
|
+
from .repo_manager import private_mode_for
|
|
2916
|
+
_mode, problem = private_mode_for(config)
|
|
2917
|
+
if problem:
|
|
2918
|
+
logger.error(problem)
|
|
2919
|
+
return 1
|
|
2920
|
+
# Unknown --github-setup steps, likewise
|
|
2921
|
+
from .github_setup import setup_names
|
|
2922
|
+
try:
|
|
2923
|
+
setup_names(config.get("github_setup"))
|
|
2924
|
+
except ValueError as e:
|
|
2925
|
+
logger.error(str(e))
|
|
2926
|
+
return 1
|
|
2927
|
+
|
|
2856
2928
|
# The GitHub login, before any file is written: the files' URLs,
|
|
2857
2929
|
# CODEOWNERS and FUNDING name it (0.9.6; before, they carried the
|
|
2858
2930
|
# YOUR_GITHUB_USERNAME placeholder even with --github)
|
|
@@ -2909,8 +2981,8 @@ def main() -> int:
|
|
|
2909
2981
|
verbose=args.verbose,
|
|
2910
2982
|
)
|
|
2911
2983
|
|
|
2912
|
-
publish_success =
|
|
2913
|
-
|
|
2984
|
+
publish_success = _publish_with_setup(
|
|
2985
|
+
args, repo_manager.config, repo_manager.repo_root, args.publish_to, remote_integration,
|
|
2914
2986
|
remote_name=args.remote_name,
|
|
2915
2987
|
private=args.private_repo,
|
|
2916
2988
|
push_branches=not args.no_push,
|
|
@@ -2976,8 +3048,11 @@ def main() -> int:
|
|
|
2976
3048
|
if args.token and not token_cmd:
|
|
2977
3049
|
token_cmd = f"echo {args.token}"
|
|
2978
3050
|
|
|
2979
|
-
|
|
2980
|
-
|
|
3051
|
+
# update_existing: a project already on GitHub is pushed and set
|
|
3052
|
+
# up, nothing created (publish only; adopt still creates)
|
|
3053
|
+
publish_success = _publish_with_setup(
|
|
3054
|
+
args, config, repo_path, args.publish_to, remote_integration,
|
|
3055
|
+
update_existing=True,
|
|
2981
3056
|
remote_name=args.remote_name,
|
|
2982
3057
|
private=args.private_repo,
|
|
2983
3058
|
push_branches=not args.no_push,
|
|
@@ -107,20 +107,64 @@ def install_hooks(repo_root: str) -> Optional[str]:
|
|
|
107
107
|
return None
|
|
108
108
|
|
|
109
109
|
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
110
|
+
# Strategies whose feature branches are public: they are pushed for pull
|
|
111
|
+
# requests, so private content may not be committed on them (0.10.2).
|
|
112
|
+
PUBLIC_FEATURE_STRATEGIES = {"github-flow", "gitflow"}
|
|
113
|
+
PUBLIC_FEATURE_PATTERNS = {"feature/*", "feat/*"}
|
|
114
|
+
|
|
115
|
+
|
|
116
|
+
def private_branches(strategy: Optional[str], private_branch: Optional[str]) -> List[str]:
|
|
117
|
+
"""The branches where private content may be committed, for a strategy.
|
|
118
|
+
|
|
119
|
+
repokit-common's defaults, minus the feature-branch patterns for the
|
|
120
|
+
strategies that push feature branches, plus the project's own private
|
|
121
|
+
branch when it has a name of its own. Both hooks use this one rule.
|
|
122
|
+
"""
|
|
123
|
+
branches = [b for b in REPOKIT_COMMON_PRIVATE_BRANCHES
|
|
124
|
+
if not (strategy in PUBLIC_FEATURE_STRATEGIES and b in PUBLIC_FEATURE_PATTERNS)]
|
|
125
|
+
if private_branch and private_branch not in branches:
|
|
126
|
+
branches.append(private_branch)
|
|
127
|
+
return branches
|
|
128
|
+
|
|
129
|
+
|
|
130
|
+
def read_settings(repo_root: str) -> Dict:
|
|
131
|
+
"""The project's [tool.repokit-common] table: pyproject.toml's, else
|
|
132
|
+
.repokit-common.toml's, the order repokit-common reads them in; {} when
|
|
133
|
+
neither file has the table or a file cannot be parsed."""
|
|
134
|
+
try:
|
|
135
|
+
import tomllib
|
|
136
|
+
except ModuleNotFoundError: # Python 3.10
|
|
137
|
+
import tomli as tomllib
|
|
138
|
+
for name in ("pyproject.toml", ".repokit-common.toml"):
|
|
139
|
+
path = os.path.join(repo_root, name)
|
|
140
|
+
if not os.path.isfile(path):
|
|
141
|
+
continue
|
|
142
|
+
try:
|
|
143
|
+
with open(path, "rb") as f:
|
|
144
|
+
data = tomllib.load(f)
|
|
145
|
+
except (OSError, ValueError):
|
|
146
|
+
continue
|
|
147
|
+
table = data.get("tool", {}).get("repokit-common")
|
|
148
|
+
if isinstance(table, dict):
|
|
149
|
+
return table
|
|
150
|
+
return {}
|
|
151
|
+
|
|
152
|
+
|
|
153
|
+
def private_branch_settings(private_branch: Optional[str], private_paths: List[str],
|
|
154
|
+
strategy: Optional[str] = None) -> Dict[str, List[str]]:
|
|
155
|
+
"""Settings that make repokit-common's pre-commit guard this project.
|
|
156
|
+
|
|
157
|
+
Written for every project, single-branch ones included (0.10.2), so a
|
|
158
|
+
project that later gains a private branch is already guarded.
|
|
159
|
+
private-patterns: the paths kept off public branches (literal prefixes;
|
|
160
|
+
repokit-common adds them to its built-in list).
|
|
161
|
+
private-branches: where they may be committed, from the strategy
|
|
162
|
+
(private_branches); the setting replaces repokit-common's own list.
|
|
118
163
|
"""
|
|
119
164
|
settings: Dict[str, List[str]] = {}
|
|
120
165
|
if private_paths:
|
|
121
166
|
settings["private-patterns"] = sorted(dict.fromkeys(private_paths))
|
|
122
|
-
|
|
123
|
-
settings["private-branches"] = REPOKIT_COMMON_PRIVATE_BRANCHES + [private_branch]
|
|
167
|
+
settings["private-branches"] = private_branches(strategy, private_branch)
|
|
124
168
|
return settings
|
|
125
169
|
|
|
126
170
|
|
|
@@ -14,8 +14,21 @@ from pathlib import Path
|
|
|
14
14
|
from typing import Dict, Any, Optional, List, Union
|
|
15
15
|
|
|
16
16
|
from .directory_profiles import DirectoryProfileManager
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
def read_project_record(repo_root: str) -> Dict[str, Any]:
|
|
20
|
+
"""A project's own .repokit.json, read from its root (not the current
|
|
21
|
+
directory, which is what ConfigManager reads), or {} when absent or
|
|
22
|
+
unreadable."""
|
|
23
|
+
try:
|
|
24
|
+
with open(os.path.join(repo_root, ".repokit.json"), encoding="utf-8") as f:
|
|
25
|
+
record = json.load(f)
|
|
26
|
+
except (OSError, ValueError):
|
|
27
|
+
return {}
|
|
28
|
+
return record if isinstance(record, dict) else {}
|
|
17
29
|
from .defaults import (
|
|
18
30
|
DEFAULT_PRIVATE_DIRS,
|
|
31
|
+
DEFAULT_PRIVATE_DIR_SETS,
|
|
19
32
|
DEFAULT_SENSITIVE_FILES,
|
|
20
33
|
DEFAULT_SENSITIVE_PATTERNS,
|
|
21
34
|
BRANCH_SPECIFIC_EXCLUDES,
|
|
@@ -679,7 +692,15 @@ class ConfigManager:
|
|
|
679
692
|
|
|
680
693
|
if self.verbose >= 1:
|
|
681
694
|
self.logger.info(f"Resolved directory profile '{profile}' to {len(directories)} directories")
|
|
682
|
-
|
|
695
|
+
|
|
696
|
+
elif private_set != "standard":
|
|
697
|
+
# --private-set without a profile or groups was read nowhere until
|
|
698
|
+
# 0.10.2: its folders join the protection list (added to, never
|
|
699
|
+
# replacing, any --private-dirs).
|
|
700
|
+
current = list(self.config.get("private_dirs") or DEFAULT_PRIVATE_DIRS)
|
|
701
|
+
extra = DEFAULT_PRIVATE_DIR_SETS.get(private_set, [])
|
|
702
|
+
self.config["private_dirs"] = current + [d for d in extra if d not in current]
|
|
703
|
+
|
|
683
704
|
# Ensure private_dirs is always set
|
|
684
705
|
if "private_dirs" not in self.config:
|
|
685
706
|
self.config["private_dirs"] = DEFAULT_PRIVATE_DIRS.copy()
|
|
@@ -6,7 +6,57 @@ This module provides centralized default values to prevent duplication
|
|
|
6
6
|
and ensure consistency across the codebase.
|
|
7
7
|
"""
|
|
8
8
|
|
|
9
|
-
from typing import List
|
|
9
|
+
from typing import Dict, List
|
|
10
|
+
|
|
11
|
+
from dazzle_lib.continuum import Continuum
|
|
12
|
+
|
|
13
|
+
# How exposed a thing is: who can read it. Zero is "controlled" -- readable
|
|
14
|
+
# only by people the owner chose -- and the line every private folder must
|
|
15
|
+
# stay below is "shared" (a remote that could be public). Agreed with djdarcy,
|
|
16
|
+
# 2026-11-01 (git-repokit's vault: notes/...__both_the-exposure-continuum.md).
|
|
17
|
+
EXPOSURE_CONTINUUM = Continuum(
|
|
18
|
+
name="exposure",
|
|
19
|
+
ranks={"untracked": -2, "local": -1, "controlled": 0, "shared": 1, "public": 2},
|
|
20
|
+
invariant="who can read it",
|
|
21
|
+
)
|
|
22
|
+
|
|
23
|
+
# How private work is kept (--private-mode):
|
|
24
|
+
# nested private/ is its own git repository (main-only's default)
|
|
25
|
+
# nested-branch private/ is still its own repository, and the record
|
|
26
|
+
# folders (PROMOTED_DIRS) are tracked on the private branch
|
|
27
|
+
# (the private-branch strategies' default for a create)
|
|
28
|
+
# branch private/ itself is tracked on the private branch too
|
|
29
|
+
# (opt-in, warned; adopt's default)
|
|
30
|
+
PRIVATE_MODES = ("nested", "nested-branch", "branch")
|
|
31
|
+
VAULT_MODES = ("nested", "nested-branch") # private/ is its own repository
|
|
32
|
+
BRANCH_MODES = ("nested-branch", "branch") # the private branch tracks the record folders
|
|
33
|
+
|
|
34
|
+
# The record folders a private-branch project tracks at its root, on the
|
|
35
|
+
# private branch only: conversations, revisions ("as easy as MOVING an old
|
|
36
|
+
# file to ./revisions and it's then still git tracked"), and logs, whose run
|
|
37
|
+
# output is ignored (logs/.gitignore) so chosen logs can still be committed.
|
|
38
|
+
PROMOTED_DIRS = ("convos", "revisions", "logs")
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
def private_dir_names(dirs) -> List[str]:
|
|
42
|
+
"""Folder names from --private-dirs entries however they were written:
|
|
43
|
+
"convos/", "/revisions" and "logs" are convos, revisions and logs."""
|
|
44
|
+
return [d.strip("/") for d in dirs if d and d.strip("/")]
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
def mode_exposure(promoted) -> Dict[str, str]:
|
|
48
|
+
"""Where a project's private work sits on EXPOSURE_CONTINUUM, recorded in
|
|
49
|
+
.repokit.json: the vault, and each folder the mode promotes to the private
|
|
50
|
+
branch (RepoManager.promoted). Each level is checked against the
|
|
51
|
+
continuum: an unknown name raises, and none may reach "shared" -- the
|
|
52
|
+
line a private folder must stay below."""
|
|
53
|
+
ranks = {"private/": "local"}
|
|
54
|
+
ranks.update({f"{name}/": "local" for name in promoted if name != "private"})
|
|
55
|
+
for path, level in ranks.items():
|
|
56
|
+
if not EXPOSURE_CONTINUUM.is_colder(level, "shared"):
|
|
57
|
+
raise ValueError(f"{path} would be {level}: private work stays below shared")
|
|
58
|
+
return ranks
|
|
59
|
+
|
|
10
60
|
|
|
11
61
|
# Default private directories that should not appear in public branches
|
|
12
62
|
DEFAULT_PRIVATE_DIRS = [
|
|
@@ -180,17 +230,21 @@ def strategy_push_branches(name: str) -> List[str]:
|
|
|
180
230
|
DEFAULT_BRANCH_STRATEGIES = {name: strategy_branch_list(name) for name in BRANCH_STRATEGIES}
|
|
181
231
|
|
|
182
232
|
# Default directory profiles - centralized from directory_profiles.py
|
|
183
|
-
#
|
|
184
|
-
#
|
|
185
|
-
#
|
|
233
|
+
# The text is 0.9.12's again (0.10.3). A profile entry in the private set
|
|
234
|
+
# (logs, private, convos, revisions) goes to private_dirs, the protection
|
|
235
|
+
# list, never to the folders created -- so this text never changed a layout.
|
|
236
|
+
# Where convos/, revisions/ and logs/ are made follows the private mode:
|
|
237
|
+
# inside the vault in nested, promoted to the root on the private branch in
|
|
238
|
+
# nested-branch and branch (PROMOTED_DIRS).
|
|
186
239
|
DEFAULT_DIRECTORY_PROFILES = {
|
|
187
240
|
"minimal": ["src", "tests", "docs"],
|
|
188
241
|
"standard": [
|
|
189
|
-
"src", "tests", "docs", "scripts", "config",
|
|
242
|
+
"src", "tests", "docs", "scripts", "config",
|
|
243
|
+
"logs", "private", "convos", "revisions"
|
|
190
244
|
],
|
|
191
245
|
"complete": [
|
|
192
|
-
"src", "tests", "docs", "scripts", "config",
|
|
193
|
-
"private", "data", "examples",
|
|
246
|
+
"src", "tests", "docs", "scripts", "config", "logs",
|
|
247
|
+
"private", "convos", "revisions", "data", "examples",
|
|
194
248
|
"tools", "resources", "assets"
|
|
195
249
|
]
|
|
196
250
|
}
|