repomatic.init package¶
Bootstrap and sync a repository with repomatic init.
Every component repomatic init accepts is declared in
COMPONENTS, which carries each one’s description,
default scope and target paths; repomatic init --help lists them. That tuple
is the only roster: a list repeated here would silently fall behind it.
The package splits the run by concern:
runselects the components and writes their files.tool_configmerges the[tool.*]templates intopyproject.toml.upgradepicks the upstream pin, and moves it withinit --upgrade.removed_assetsfinds the orphans of assets repomatic no longer ships.
Submodules¶
repomatic.init.removed_assetsmodulerepomatic.init.runmoduleAWESOME_TEMPLATE_REWRITTEN_SUFFIXESAWESOME_TEMPLATE_SLUGAWESOME_TEMPLATE_URL_RETEMPLATE_TREE_SKIPPEDReportSectionDeletionPolicyInitResultInitResult.createdInitResult.updatedInitResult.skippedInitResult.excludedInitResult.excluded_existingInitResult.unmodified_configsInitResult.removed_prunableInitResult.removed_reviewInitResult.warningsInitResult.previous_pinInitResult.adopted_pinInitResult.record()InitResult.warn()InitResult.entries()InitResult.paths()InitResult.prune()InitResult.upgraded_pin()InitResult.next_steps()
run_init()
repomatic.init.tool_configmodulerepomatic.init.upgrademoduleBREAKING_BULLET_REINIT_WARNING_REdefault_version_pin()pins_running_release()github_yaml_texts()highest_upstream_pin()resolve_default_pin()WorkflowPinresolve_workflow_pin()UpgradeTargetresolve_upgrade_target()upgrade_command()run_upgrade()hand_off_upgrade()upgrade_invite()upgrade_report()
