chore(just): adopt shared common task-runner submodule; workspace release layout #82
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/YTCLI-28-adopt-common-submodule"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Replace the standalone ~320-line
justfilewith an import of the shared psa-systems/common task runner, vendored as thecommongit submodule. The buggy localcreate-releasefork (bumpedcrates/yt-cli/Cargo.tomlbut never rancargo update, shipping a staleCargo.lock) is removed; release logic and the Cargo.lock-sync now come from common's workspace layout (GOV-38 / common#7).Changes
commongit submodule +.gitmodules;justfiledoesimport 'common/common.just'.app := "youtrack-cli",release_layout := "workspace",release_manifest := "crates/yt-cli/Cargo.toml"(release_cratedefaults toapp, which matches the crate name). No localcreate-release.pre-commit(per-user cargo caches), the composedev-service dev-container recipes, arg-takingrun/run-debug, theYOUTRACK_CLI_*build-arg docker builds (runtime/exporttargets),test --all-targets, and the three-volumedev-clean. Inherit checks, formatting,build, and release from common (its--all-featureson clippy/typecheck is a no-op here: no crate defines[features]).Cargo.locksync (youtrack-cli 0.5.0 -> 0.6.0), the v0.6.0 release's leftover.Depends on
common#7 (GOV-38). The submodule is currently pinned to the common feature commit
e0bf775so the workspace dispatch is testable now. After common#7 merges, the gitlink will be re-pinned to commonmainin a follow-up commit on this branch before merge.Verification
just --listshowscreate-release(+-generic/-workspace) from common;just --evaluateresolvesrelease_layout=workspace,release_manifest=crates/yt-cli/Cargo.toml,release_crate=youtrack-cli.just create-release hotfixdispatchescreate-release->create-release-workspace->_create-release "crates/yt-cli/Cargo.toml" "youtrack-cli" "hotfix", stopping at the dirty-tree guard (chain confirmed).just pre-commitgreen: fmt, clippy-D warnings, build,test --all-targets(356 tests pass).Note
The inherited web-service dev recipes (
dev-local*) are inapplicable here (they target a composeappservice); splitting them out of common's shared core is tracked in DI-13.#YTCLI-28