chore: bring repo to full governance compliance (FJMCP-1) #1
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "chore/governance-compliance-fjmcp-1"
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?
Brings
forgejo-mcpto the same governance compliance profile as the siblingpandoras-box/forgejo-cli, adapted for a single-crate, git-dependency layout (no workspace, nolocalization/, nobuild.rs). Resolves #FJMCP-1.What landed
CLAUDE.md(MCP shape + governance pointer),LICENSE-APACHE,LICENSE-MIT,.dockerignore;repositoryadded toCargo.toml.oci-build/:Dockerfile(glibc builder,binaryscratch export,debian:trixie-slimlocal runtime),Dockerfile.windows(mingw cross-compile),get-tags.nu(verbatim)..forgejo/workflows/:check.yml(fmt + clippy + build + tests),build-binary.yml(Linux x86_64),build-binary-windows.yml(mingw),create-release.yml.PACKAGE_NAME=forgejo-mcp;GIT_SHAaccepted for the OCI label only; thefj-specificFJ_TRAIN/ version-manifest /update-checkmachinery is dropped.justfile: standard recipe set includinginstall-hooksandpre-commit(PRE_COMMIT.md Template B, ad-hoc docker run), withcreate-releasereading the version from the rootCargo.toml.README.md: added Development and Releases sections.Deliverable and deviations
The deliverable is the binary published to the Generic Packages registry for Linux x86_64 (
forgejo-mcp-linux-x86_64) and Windows x86_64 (forgejo-mcp-windows-x86_64.exe), matchingforgejo-cli; the runtime image stage is a local convenience only.flake.nixis intentionally omitted (upstream-inherited inforgejo-cli, not aCHECKLIST.mdrequirement, andbuildRustPackageover git-source crates needs per-dependencyoutputHashes). Compose /.env/.devcontainer/ port assignments do not apply to a pure stdio MCP server, same exemptionforgejo-clidocuments.Verification
cargo fmt --check,cargo clippy --all-targets -- -D warnings,cargo build --all-targets, andcargo testall pass locally, and theoci-build/Dockerfilebuilder stage compiles end-to-end (git-dependency fetch under--lockedworks inside the container;fj-client/fj-corebuild from the pinnedv0.6.0tag).Note: the Windows mingw cross-compile of
openssl-sys/libgit2validates on the first CI run; if it fails to find a cross OpenSSL, the fix is to enable thevendoredfeature.