Repository navigation
fix: remove license/PMPL-1.0.txt to break LICENSE / license/ case collision - #199
Merged
Merged
Conversation
…lision On Windows (case-insensitive filesystem) a fresh clone produced a permanent `D LICENSE` in `git status` because two tracked paths collided: - `LICENSE` (top-level file, 162 lines, Palimpsest licence preamble) - `license/PMPL-1.0.txt` (162 lines) When git checks out the tree on Windows, the `license/` directory and the `LICENSE` file map to the same case-insensitive name, so only one survives in the working tree. Whichever wins causes the other to appear deleted in `git status`. Investigation showed `license/PMPL-1.0.txt` is content-identical to the canonical `LICENSES/PMPL-1.0-or-later.txt` (same 162 lines body), differing only in the SPDX header on line 1: `license/PMPL-1.0.txt` declared `SPDX-License-Identifier: MPL-2.0-or-later` while the canonical version correctly declares `PMPL-1.0-or-later`. So the duplicate file additionally carried a wrong SPDX identifier. Changes: - Remove `license/PMPL-1.0.txt` (the case-colliding duplicate). The enclosing `license/` directory becomes empty and git stops tracking it. - Update `README.adoc:19` to point at the canonical `LICENSES/PMPL-1.0-or-later.txt` rather than the removed file. Out of scope: - The audit at `docs/governance/CRG-AUDIT-2026-04-18.adoc:93` already flagged "three parallel license-text locations". After this PR, two remain (`LICENSES/` and `licenses/`). The `LICENSES/` vs `licenses/` case collision (uppercase vs lowercase directory) is a separate consolidation — not addressed here. The audit is a snapshot dated 2026-04-18 and is not modified. Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
|
Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits. |
3 of 4 tasks
hyperpolymath
added a commit
that referenced
this pull request
Apr 30, 2026
## Summary
Closes the second case-collision flagged in
`docs/governance/CRG-AUDIT-2026-04-18.adoc:93` ("three parallel
license-text locations"). After #199 (`license/` removal) and this PR,
only `LICENSES/` remains.
Two tracked directories at the repo root had case-only-different names:
- `LICENSES/` (uppercase) — 2 files: `MPL-2.0.txt`,
`PMPL-1.0-or-later.txt`
- `licenses/` (lowercase) — 4 files: `MPL-2.0-EN.txt`, `MPL-2.0-NL.txt`,
`PALIMPSEST-EN.txt`, `PALIMPSEST-NL.txt`
On Windows (case-insensitive filesystem) the two paths fold together;
only one set of files survives in the working tree, hiding the other. On
case-sensitive systems both exist, but parallel licence-text directories
with different case is itself confusing.
**No filename collisions between the two directories** — each of the 4
lowercase files has a distinct name from the 2 uppercase files, so
consolidation is a clean directory rename.
## Changes
- `git mv` each of the 4 files from `licenses/<name>` →
`LICENSES/<name>`. The `licenses/` directory becomes untracked.
- `docs/STANDARDIZATION-CHECKLIST.scm:20` — required-file path
`licenses/MPL-2.0-EN.txt` → `LICENSES/MPL-2.0-EN.txt`.
- `docs/ADA-TUI-AUDIT-SPEC.adoc:94` — required-directory entry
`licenses/` → `LICENSES/`.
## Independence from #199
Both PRs are scoped to non-overlapping line edits:
- #199 touches `LICENSE`, `license/PMPL-1.0.txt`, and `README.adoc:19`.
- This PR touches `licenses/*`, `LICENSES/*` (additions),
`docs/STANDARDIZATION-CHECKLIST.scm:20`,
`docs/ADA-TUI-AUDIT-SPEC.adoc:94`.
Whichever merges first, the other should rebase cleanly.
## Out of scope
- `docs/governance/CRG-AUDIT-2026-04-18.adoc` is a dated snapshot
(2026-04-18) and is **not** modified — its description was accurate as
of its date.
- `README.adoc:546` references `https://opensource.org/licenses/MPL-2.0`
— that's the OSI URL, not a repo path, so left untouched.
## Test plan
- [x] `git ls-files | grep -i license` shows only `LICENSE` and
`LICENSES/...` after this PR (no `licenses/` paths).
- [x] No filename collisions between source and destination
(`MPL-2.0.txt` vs `MPL-2.0-EN.txt` are distinct).
- [x] Inbound references updated (only two found via grep:
`STANDARDIZATION-CHECKLIST.scm:20`, `ADA-TUI-AUDIT-SPEC.adoc:94`).
- [ ] After #199 also merges: `git status` is clean on a fresh Windows
clone (no `D LICENSE` and no hidden directory contents).
Co-authored-by: Claude Opus 4.7 (1M context) <[email protected]>
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.
Summary
Fixes a permanent
D LICENSE(orD license/PMPL-1.0.txt) ingit statuson a fresh Windows clone, caused by two tracked paths colliding under case-insensitive filesystem semantics:LICENSE— top-level file (162 lines, Palimpsest licence preamble)license/PMPL-1.0.txt— 162-line file inside alicense/directoryWhen git checks out the tree on Windows, the
license/directory and theLICENSEfile map to the same case-insensitive name, so only one survives in the working tree.Why deletion is the right fix
license/PMPL-1.0.txtis content-identical to the canonicalLICENSES/PMPL-1.0-or-later.txt(same 162-line body), differing only in the SPDX header on line 1:The duplicate also carried the wrong SPDX identifier (declared
MPL-2.0-or-laterwhile actually being the PMPL text). So removing it resolves three things at once: the case collision, the duplication, and the incorrect SPDX header.Changes
license/PMPL-1.0.txt(the enclosinglicense/directory becomes untracked since git tracks files, not dirs).README.adoc:19to point at the canonicalLICENSES/PMPL-1.0-or-later.txt.Out of scope
The existing audit at
docs/governance/CRG-AUDIT-2026-04-18.adoc:93flags "three parallel license-text locations" (LICENSES/,license/,licenses/). After this PR, two remain — theLICENSES/vslicenses/case collision (uppercase vs lowercase directory) is a separate, larger consolidation. The audit doc is a snapshot dated 2026-04-18 and is not modified by this PR.Test plan
git cloneon a Windows machine no longer showsD LICENSEingit status.LICENSES/PMPL-1.0-or-later.txtretains the canonical PMPL text (verified content-identical to deleted file's body).license/PMPL-1.0.txt(verified by grep — onlyREADME.adoc:19referenced it; the audit doc reference is descriptive of the directory's existence, not a path link).LICENSE(top-level file) andLICENSES/PMPL-1.0-or-later.txt(SPDX-compliant directory).