mirror of
https://github.com/lrnselfreliance/wrolpi.git
synced 2026-11-25 17:36:18 -05:00
An update resets and cleans the clone, and fetched from whatever the clone's `origin` said, trusting its .git/config. A clone WROLPi did not make (in the Repo's directory, or swapped in) could lose local work, be mirrored from another repo, or redirect git with planted settings (include.path, url.*.insteadOf, http.proxy, core.sshCommand, ...). * WROLPi marks its clones (.git/wrolpi-repo holds the Repo's URL key); an unmarked clone, or `.git` that is not a directory, is not updated. * Every update fetches the Repo's URL (origin is reset to it). * Before an update, the clone's config (and its submodules') keeps only the settings WROLPi needs; a submodule's work tree must be inside the repo. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| test_api.py | ||
| test_config.py | ||
| test_downloader.py | ||
| test_extras.py | ||
| test_lib.py | ||
| test_ownership.py | ||
| test_search.py | ||