Skip to main content

INIT_LONG

Constant INIT_LONG 

Source
pub const INIT_LONG: &str = "\
Crawl the given directory trees for Git repositories and register every one found, up \
to 8 levels deep. Registration is one entry in dev-prune's own registry file — nothing \
in the repository is created, changed or deleted.

After registering, it runs the same integration pass as `devp setup` (installing \
whatever is missing, reporting whatever it skipped) and the same quiet release check \
as `devp update`.

`--auto` works the paths out instead of being told them: the directories your \
registered repositories already sit in, the workspace you are standing in, and the \
conventional locations under your home directory. It is the form to use when nobody \
has said where the code is — an assistant setting the tool up, or a machine whose \
repositories you would rather not list by hand.

A bulk scan skips any repository holding an `ignore.devprune.json`, so a repository can \
decline before it is ever registered. `devp link <path>` still registers it, because \
naming one repository is not a bulk scan.

Registration is what makes a repository visible to `devp run`, `devp status` and the \
background pass. Registering is not pruning: a registered repository is still only \
touched once it is idle, and only where a lockfile proves the directory can be rebuilt.";