Ops.package_step: def of near-v-framework@0.4.0.0 Import: import near-v-framework@0.4.0.0/domain/architecture/system/plan/ops.bend as Ops Lines 35-45 of near-v-framework@0.4.0.0/domain/architecture/system/plan/ops.bend: https://jend.leeeet.dev/read.txt?path=near-v-framework@0.4.0.0/domain/architecture/system/plan/ops.bend&start_line=35&end_line=45 import Base import near-v-framework@0.4.0.0/domain/architecture/system/release/type.bend as Rl import near-v-framework@0.4.0.0/domain/architecture/system/plan/type.bend as P # ---- each package: already published as it is, new, or changed without a new version ---- def package_step(p: Rl.Package, h: P.Hub) -> P.Step: match p: case Rl.Package{+n, +v, e, _}: match h: case P.Same{}: P.Current{"package " ++ n ++ "@" ++ v} case P.Unpublished{}: P.Publish{n, v, e} case P.Differs{f}: P.Blocked{"package " ++ n ++ "@" ++ v, f ++ " changed since it was published; give it a new version"} Uses (4): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String.append https://jend.leeeet.dev/definition.txt?path=near-v-framework@0.4.0.0/domain/architecture/system/plan/type.bend&name=Hub https://jend.leeeet.dev/definition.txt?path=near-v-framework@0.4.0.0/domain/architecture/system/plan/type.bend&name=Step https://jend.leeeet.dev/definition.txt?path=near-v-framework@0.4.0.0/domain/architecture/system/release/type.bend&name=Package