ezx
Releases (11)
Definitions (2,947)
src/lock/run.bend
- def end.ata status that is 0 ends nothing, so the program runs out and exits 0; any other exits with that status and the reason
- def endhow the command ends: with the status the planner gave its outcome (`Plan.status`, EZ-OUT-1), and the reason when it refused
- def exec.plana plan, executed
- def loop.stepthe planner's step: its questions answered and the loop gone round again, or its plan run
- def roundsthe rounds the loop may take.
- def loopthe loop, under fuel.
- def settle.seena member's package as the lock reads it: from BEND_LIB when a tree is laid there under its hash, as a git package's is (`git.seen`), and fresh from the committed tree, as the joint ledger walked it, otherwise
- def settle.oneone member's package, so
- def settleevery member's package, so
- def run.plannedthe loop, on the ledger the lock is planned from, with the workspace's members already answered
- def run`ez lock` and `ez lock --upgrade [--package only]`: the directory it runs in, the ledger and the listing read, every question answered, and the plan run
src/lock/up.bend
- type Aska question the upgrade asks, answered by one IO action.
- def ask.urlthe source a question names, "" for one that names none
- def anchora question as git is to be asked it: the source it names anchored at the directory `here` (`Path.anchor`), so a relative path, which the ledger keeps relative to the project, is read from the project wherever git runs.
- type Foundone source file of the project, with its text
- type Answerthe answer to one question.
- type Replyone question, answered
- type Laida tree checked out at a rev a dependency moved to: the package the lock reads for its new hash, so it is not cloned a second time
- type Edita file the upgrade writes: ez.toml, `.gitignore`, or a source
- type Nextwhat the upgrade decided.
- def next.model
- def next.read
- def next.stop
- def next.asks
- def next.trees
- def next.vends
- def next.says
- def next.edits
- def next.found
- def next.drops
- def next.swaps
- def plaina plain lock: ez.toml as it is, and nothing around it
- def halt.whya refusal's reason, never empty.
- def stoppedan upgrade that refuses, or still asks: the lock is not made, and nothing is written
- def keya question as a key.
- type Heardan answer looked up, or none yet
- def look.stepthis answer when it is the question's, otherwise the rest's.
- def lookthe first answer given to a question
- def heardthe answer to a question, or none yet
- type Saidwhat git printed, once it is known: the text, or why there is none, or the question still open
- def printed.ok
- def printed.of
- def printed.heardwhat git printed for `what`
- def printedthe same, looked up among the answers
- def text.ofa file's text, "" when it is missing
- def text.said.heard
- def text.saidthe same, looked up among the answers
- type Coa checkout, once it is known
- def checkout.of
- def checkout.heardthe checkout a question was answered with
- def checkoutthe same, looked up among the answers
- type Ascancestry, once it is known
- def onward.of
- def onward.heardthe ancestry a question was answered with
- def onwardthe same, looked up among the answers
- type Wda NAR hash, once it is known
- def weighed.of
- def weighed.heardthe NAR hash a question was answered with
- def weighedthe same, looked up among the answers
- type Hubbedthe hub's word on a hash, once it is known.
- def hub.got
- def hub.of
- def hubbed.heardthe hub's word a question was answered with
- def hubbedthe same, looked up among the answers
- type Srcsthe project's sources, once they are known
- def sources.of
- def sources.heardthe sources a question was answered with
- def sourcesthe same, looked up among the answers
- type Tipthe commit a pin is asked to move to, the tag it came through ("" for none), and the default branch it tips ("" for a tag); or the question still open, or why there is no answer
- def follow.revthe commit the rows name for a ref.
- def follow.said
- def follow.ask
- def followthe commit a ref names, as `Git.resolve` reads it: a 40-hex ref is a commit already, and asks the remote nothing
- def forward.reva remote with no HEAD is not one an upgrade can move
- def forward.said
- def forwardthe commit the default branch tips, and its name
- def tip.ofthe word Off quotes: a branch name when there is one, otherwise the commit
- def off.whya tag that moved off the pin's history, or a branch tip that does not descend from a rev-only pin
- def branch.ofthe branch a rev-only pin followed, said when there is one
- def say.movea line saying a pin moved
- def hash.ofthe `0x` name a manifest is the digest of
- def hash.kept.orthe bare checkout's hash when it is the pin's, and the walk's otherwise
- def hash.kept.pick
- def hash.keptthe hash a pinned commit's checkout has, by the rule the pin was taken by: the walk's, or, for a pin written before bend 2.0.27 took the LICENSE files along, the same checkout's without them.
- type Fatewhat one dependency became: its entry in the ledger the upgrade leaves, the committed tree to remove ("" for none), its new hash, the hash an import must stop naming ("" for none), whether it moved, what a person is told, and the tree checked out at its new rev.
- def staya dependency left as it was
- def swap.hashthe old hash, or "" when it did not change
- def swap.ofa committed tree whose hash changed is a tree to remove
- def line.ifa line, only when there is something to say
- def dep.moveda moved pin, once the hub has not objected to its new hash: the ledger's entry retargeted, the committed tree it replaces, the hash imports stop naming, and what a person is told
- def dep.hubthe hub's word on the new hash
- def dep.advancethe checkout at the rev the pin advances to, then the hub asked about the hash it has.
- def dep.verdictthe verdict.
- def dep.keptthe pinned commit's checkout, judged with whether it agrees with the pin: the same hash, NAR hash and root.
- def dep.onwarda different commit, once ancestry is known.
- def dep.samethe same commit is checked out to be weighed; a different one is asked whether it descends from the pin
- def dep.tipthe commit the remote names, against the pin
- def held.whywhy a pin is held, said for its source: a hub pin is pinned by its hash, and a workspace member is the committed tree
- def dep.holda hub pin named with `--package` is reported and left.
- def dep.oneone dependency, by what it is asked