mirror of
https://github.com/multica-ai/multica.git
synced 2026-08-04 07:34:25 +02:00
* docs(license): name the license Multica License and restore the verbatim Apache 2.0 text (MUL-5558) Co-authored-by: multica-agent <github@multica.ai> * docs(license): define the combined license and fix the NOTICE 4(d) claim (MUL-5558) Addresses the two must-fixes from review on #6206. Must-fix 1 — the file held Multica conditions 1-2 followed by Apache sections 1-9, and Apache section 1 defines "License" as sections 1-9 of the document. So "a copy of this License" in section 4(a) and the inbound terms in section 5 could both be read as reaching only the Apache half, leaving downstream recipients and future contributors unsure which set of terms actually binds them. Split the file into `Part I — Additional Conditions` and `Part II — Incorporated Apache License 2.0 Text` so the two "1 / 2" numberings no longer collide, and add condition 3 as the operative bridge: both parts together are the Multica License, "this License" in Part II means the whole file (naming 4(a) and 5 explicitly), Part I controls on conflict, and redistribution must deliver the complete file. Condition 2 becomes "By submitting a contribution ... you agree" instead of the non-binding "you should agree", gains 2c pinning contributions to the whole license, and drops the stale "open-source agreement" wording. The same inbound terms now also appear in CONTRIBUTING.md. Must-fix 2 — NOTICE claimed section 4(d) requires reproducing its entire contents. It does not: 4(d) covers the relevant attribution notices, and a NOTICE cannot create obligations of its own. Replaced with a statement that the file is informational and does not modify the license. Conditions 1a-1d are untouched. The Apache 2.0 text is untouched and still hashes to cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30. Co-authored-by: multica-agent <github@multica.ai> --------- Co-authored-by: Bohan-J <bohan@devv.ai> Co-authored-by: multica-agent <github@multica.ai>
86 lines
2.0 KiB
YAML
86 lines
2.0 KiB
YAML
version: 2
|
|
|
|
project_name: multica
|
|
|
|
builds:
|
|
- id: multica
|
|
main: ./cmd/multica
|
|
dir: server
|
|
binary: multica
|
|
ldflags:
|
|
- -s -w
|
|
- -X main.version={{.Version}}
|
|
- -X main.commit={{.ShortCommit}}
|
|
- -X main.date={{.Date}}
|
|
env:
|
|
- CGO_ENABLED=0
|
|
goos:
|
|
- darwin
|
|
- linux
|
|
- windows
|
|
goarch:
|
|
- amd64
|
|
- arm64
|
|
|
|
archives:
|
|
# Legacy archive name kept so already-released CLIs (whose `multica update`
|
|
# looks for `multica_{os}_{arch}.{ext}`) can keep self-updating. Remove
|
|
# once those versions are no longer in use.
|
|
- id: legacy
|
|
files:
|
|
- LICENSE*
|
|
- README*
|
|
- NOTICE
|
|
formats:
|
|
- tar.gz
|
|
format_overrides:
|
|
- goos: windows
|
|
formats:
|
|
- zip
|
|
name_template: "{{ .ProjectName }}_{{ .Os }}_{{ .Arch }}"
|
|
# Versioned archive name used by current CLI / install scripts /
|
|
# desktop bootstrap going forward.
|
|
- id: versioned
|
|
files:
|
|
- LICENSE*
|
|
- README*
|
|
- NOTICE
|
|
formats:
|
|
- tar.gz
|
|
format_overrides:
|
|
- goos: windows
|
|
formats:
|
|
- zip
|
|
name_template: "{{ .ProjectName }}-cli-{{ .Version }}-{{ .Os }}-{{ .Arch }}"
|
|
|
|
checksum:
|
|
name_template: "checksums.txt"
|
|
|
|
changelog:
|
|
sort: asc
|
|
filters:
|
|
exclude:
|
|
- "^docs:"
|
|
- "^test:"
|
|
- "^chore:"
|
|
|
|
brews:
|
|
- name: multica
|
|
ids:
|
|
- versioned
|
|
repository:
|
|
owner: multica-ai
|
|
name: homebrew-tap
|
|
branch: main
|
|
token: "{{ .Env.HOMEBREW_TAP_GITHUB_TOKEN }}"
|
|
directory: Formula
|
|
homepage: "https://github.com/multica-ai/multica"
|
|
description: "Multica CLI — local agent runtime and management tool for the Multica platform"
|
|
# No license stanza: Multica ships under the Multica License (Apache 2.0
|
|
# terms with additional conditions, see LICENSE), which has no SPDX
|
|
# identifier, so declaring "Apache-2.0" here would be a false claim.
|
|
install: |
|
|
bin.install "multica"
|
|
test: |
|
|
system "#{bin}/multica", "version"
|