Repository navigation
Docs and skills for 0.25.2; licence rules page - #654
Merged
Merged
Conversation
Signed-off-by: Arthit Suriyawongkul <arthit@gmail.com>
Signed-off-by: Arthit Suriyawongkul <arthit@gmail.com>
docs/licence-decision-rules.md is the one page on how Pitloom decides a licence from a licence file: declared versus concluded, the seven rule ids as a decision table, the no-licence outcomes and their INFO codes, which source is declared or concluded per subject (project, sdist, wheel, embed-wheel, dependency, Hub model), what LicenseID gives versus what Pitloom adds, and worked examples verified against real inputs. The provenance page keeps its Licence rules table as a brief list that links to the new page, and the rule test checks both pages against LICENSE_RULES. The stated-in-file comment now says a licence file counts when its whole text is an id or expression, as the code reads it. Signed-off-by: Arthit Suriyawongkul <arthit@gmail.com>
- pypi-url.md and the sbom-generate SKILL.md run a PyPI URL with the skill's own pitloom floor. - id-registry.md states the Hub name-key rule as it is now. - known-limitations.md: a refused one-part Hub URL is https://hf.co/gpt2; a scheme-less hf.co/gpt2 is not refused. - ai-model-scan-limits.md, cli-flags.md, url-credentials.md and metadata-reading-back.md describe current behaviour only. - metadata-reading-back.md step 4 is split into sub-bullets. - roadmap.md links the right known-bugs anchor. - id-registry-autosync.md names the current IdRegistrySession methods and _ambiguous_keys. Signed-off-by: Arthit Suriyawongkul <arthit@gmail.com>
- COMP-015 (effective licence): state the TR's mapping, a Relationship of type other with comment hasEffectiveLicense, beside the hasConcludedLicense the checker reads; Pitloom writes no such relationship. - COMP-006: the TR maps it to hasConcludedLicense with completeness complete. - COMP-014: a dependency's declared licence counts too. - g7-sbom-for-ai.md: Pitloom writes a concluded licence for a project's main package, none for a dependency, model or dataset. Signed-off-by: Arthit Suriyawongkul <arthit@gmail.com>
known-limitations.md was over the 30 KB file-size limit. It keeps the general cases (packaging markers, mixed ecosystems, non-PyPI dependencies, extras and authors, unsupported build backends) and links three topic pages: known-limitations-ai-models.md, known-limitations-wheels.md and known-limitations-licences.md. Each page points back to it; SKILL.md, the references that cite a moved section and the message drift tests name the new pages. Signed-off-by: Arthit Suriyawongkul <arthit@gmail.com>
- license-ambiguous/notice and /several-texts advice name where a project, a distribution or a Hugging Face model card states its licence, and both say "once per file and text", as the code keys it. - url-moved/hub-id, ai-model-formats-hugging-face.md and the skill's AI-model limitations: a model's spdxId differs on an unanswered Hub run unless an ID registry pins it; the document id differs either way. - Skill references: the several-texts and notice INFO lines, with a link to the licence decision rules, and the element and merge text-unsafe lines. - Message references regenerated; the British-English test keeps the card key "license" for both codes. Signed-off-by: Arthit Suriyawongkul <arthit@gmail.com>
Signed-off-by: Arthit Suriyawongkul <arthit@gmail.com>
Signed-off-by: Arthit Suriyawongkul <arthit@gmail.com>
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #654 +/- ##
=======================================
Coverage 99.98% 99.98%
=======================================
Files 546 546
Lines 35768 35769 +1
Branches 5037 5037
=======================================
+ Hits 35761 35762 +1
Misses 4 4
Partials 3 3 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
- licence-decision-rules.md: an SPDX-License-Identifier tag decides the file and the text beside it is not read (single-text, text-variant rows); stated-in-file is a "looks like" check, and a value that names no licence is recorded as text; the dependency-route exception to "normalised only from its own text"; the LGPLv3+ example needs a License header that names no SPDX licence. - license-ambiguous/several-texts and the skill's licence limitations: a notice gives none only when LicenseID ranks it first. - url-moved/hub-id, the HF docs and the skill: the document id, PURL commit and every spdxId no ID registry pins follow the Hub commit. - metadata-provenance-licences.md links the per-subject file lists and says embed-wheel --project-dir adds a concluded licence. - The PyPI URL floor in sbom-generate is 0.25.1 throughout; url-credentials.md drops a history aside. - handover-0-25-2.md: tag case under "To reconcile", rule ids defined in the rules page, BSI section after ruling 8; asserter-licence.md says once per file and text. - Message references regenerated. Signed-off-by: Arthit Suriyawongkul <arthit@gmail.com>
…Hub pins Signed-off-by: Arthit Suriyawongkul <arthit@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Docs and skills for 0.25.2, plus a hand-over for the provenance taxonomy.
docs/licence-decision-rules.md: declared vs concluded, the sevenRuleids, no-licence outcomes, sources per subject, worked examples (GPLv2, Apache notice, python-dateutil, numpy).license-ambiguous/noticeand/several-textsadvice fits a project, a distribution and a Hub card.other+hasEffectiveLicense).known-limitations.mdsplit by topic; Hub identity wording.Generated by Claude Code