Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
39 changes: 27 additions & 12 deletions THIRD_PARTY_NOTICES.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,11 @@ under GPL-2.0-or-later. It is also the GPL version 2 text shipped with the upstr
Ant Movie Catalog application. Files in the historical trees remain under their
own notices; the root license does not replace those notices.

This inventory is based on the checked-in snapshot. The supplied compressed
archives exactly match the expanded trees as documented in
`docs/upstream/archive-provenance.md`, but that content match is not a final
redistribution clearance.
This inventory is based on the checked-in snapshot. The supplied
`antcomponents.zip` archive exactly matches `src/antcomponents/` as documented
in `docs/upstream/archive-provenance.md`, but that content match is not a
final redistribution clearance. The other supplied archive, `amc_sources.rar`,
has been removed (see the ElTree note below).

| Path | Component and credited author | Notice found in snapshot | Review status |
|---|---|---|---|
Expand All @@ -18,7 +19,6 @@ redistribution clearance.
| `src/original/FreeReport/` | FreeReport, credited in source primarily to A. Tzyganenko | GNU Library General Public License v2 at `license.txt` | Notice present; modifications and individual bundled units still need review. |
| `src/original/ifps/` | Innerfuse Pascal Script, Carlo Kok / Innerfuse | Custom permissive license with attribution and documentation conditions at `license.txt` | Notice present; required product attribution must be retained. |
| `src/original/rkSmartViewPack/` | rkSmartView, RMKlever | Mozilla Public License 1.1 at `License.txt` | Notice present; file-level modification notices still need review. |
| `src/original/ElTree/` | ElTree Lite, EldoS | Custom freeware EULA at `license.txt` | **Redistribution blocker:** the checked-in text permits distribution only as part of compiled software, not source. Obtain permission or remove this tree before a release. |
| `src/antcomponents/` | Ant components, Antoine Potten, JVCL contributors, and named component authors | MPL 1.1 umbrella notice at `Ant__Licence.txt`, with exceptions | Per-file mapping complete in `docs/upstream/license-inventory.json`; CorelButton's separate notice and the XML units' GPL headers are identified there. |
| `src/antcomponents/AntCorelButton.*` | CorelButton, Peter Theill / ConquerWare | Separate freeware terms at `AntCorelButton.txt` | Notice present; keep the copyright and permission text. |
| `src/antcomponents/xml/` | Akretio/JVCL-derived XML units | File headers state GPL terms | Notice present; confirm exact GPL version and upstream provenance. |
Expand All @@ -31,17 +31,32 @@ HTML Viewer Components, and TRegExpr as build dependencies. They are not present
the two checked-in source trees and are not Python runtime dependencies. Their
licenses must be reviewed if they are later vendored or distributed in artifacts.

## ElTree Lite: removed, not cleared

`src/original/ElTree/` (EldoS's ElTree Lite, a genuinely used component in
upstream's own `main.pas`/`main.dfm`) and `src/original_compressed/
amc_sources.rar` (the compressed archive that also contained it — see
`docs/upstream/archive-provenance.md`) have both been removed from this
repository and its git history. ElTree Lite's own license permits
distribution only as part of compiled software, never as source
(`license.txt`: "may be distributed ONLY as a part of the compiled
software"), and AMC Python — a Tkinter application — never used ElTree in
the first place, so there was no functional loss in removing it. This
resolves the redistribution restriction by removal rather than by obtained
permission; it does not establish that redistributing ElTree's source under
different circumstances would have been permitted.

## Release blockers

Before publishing an artifact containing either historical tree:
Before publishing an artifact containing the remaining historical tree:

1. independently authenticate the supplied archives against the publisher (the
contributor-reported source page, sizes, hashes, and exact tree matches are
recorded, but no publisher checksum or precise retrieval time is available);
2. resolve the ElTree source-redistribution restriction;
3. resolve the absent license grant for `Common/ComboBoxAutoWidth.pas` and confirm
1. independently authenticate the supplied `antcomponents.zip` archive against
the publisher (the contributor-reported source page, size, hash, and exact
tree match are recorded, but no publisher checksum or precise retrieval
time is available);
2. resolve the absent license grant for `Common/ComboBoxAutoWidth.pas` and confirm
whether it may be redistributed; and
4. retain every component notice and all attribution/documentation required by it.
3. retain every component notice and all attribution/documentation required by it.

The machine-readable per-file inventory is checked by
`python tools/check_license_inventory.py`. Its `notice` status identifies a source
Expand Down
48 changes: 32 additions & 16 deletions docs/IMPLEMENTATION_PLAN.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,20 +89,30 @@ backlog it runs in parallel with.
digest, and commit date are now recorded; its precise download time is unknown.
- [x] Add a streaming acquisition, extraction, checksum, and inventory tool.
- [x] Add deterministic acquired-tree versus checked-in-snapshot comparison
reporting; the two supplied archives match all 952 expanded files exactly.
reporting; at the time both archives were checked in, they matched all 952
expanded files exactly. `amc_sources.rar` and the `src/original/ElTree/`
files it contained have since been removed (see `THIRD_PARTY_NOTICES.md`);
the remaining checked-in `antcomponents.zip` still matches its 76-file
expanded tree exactly.
- [x] Make both supplied archive layouts reproducible in the acquisition tool:
safe built-in ZIP extraction and optional single-wrapper-directory stripping.
- [x] Support pre-installation verification against an independently supplied
archive SHA-256; no authoritative published digest has yet been located.
- [ ] Confirm snapshot/archive equivalence and complete application/dependency
license review (archive/tree equality is verified and the retained `Common` and
`antcomponents` files now have a check-enforced per-file inventory; ElTree and
the unlicensed `ComboBoxAutoWidth.pas` remain blockers).
license review (archive/tree equality was verified while `amc_sources.rar`
was still checked in, and the retained `Common` and `antcomponents` files
have a check-enforced per-file inventory; ElTree's non-source-redistributable
license is resolved by removing `src/original/ElTree/` and the RAR archive
that also contained it, rather than by obtained permission — see
`THIRD_PARTY_NOTICES.md`. The unlicensed `ComboBoxAutoWidth.pas` remains a
blocker).
- [ ] Add the applicable license and attribution files (root GPLv2 text and an
initial notice inventory are present; ElTree redistribution and the absent
`ComboBoxAutoWidth.pas` license grant remain blockers).
initial notice inventory are present; ElTree's redistribution restriction is
now resolved by removal — see above — and the absent `ComboBoxAutoWidth.pas`
license grant remains a blocker).
- [ ] Inventory every source unit, form, resource, script, and file
format (952 files counted; initial subsystem map recorded).
format (952 files originally counted, now 848 after removing ElTree's 104
files; initial subsystem map recorded).
- [ ] Map each unit to a Python subsystem or an explicit omission
(priority units only mapped).
- [ ] Generate reference catalogs using each supported AMC release.
Expand Down Expand Up @@ -293,10 +303,13 @@ unblock earlier evidence gates.

1. Reacquire and checksum the published source archive; compare its deterministic
inventory with both checked-in source trees.
2. Resolve the ElTree source-redistribution blocker and the absent license grant
for `Common/ComboBoxAutoWidth.pas`; the check-enforced `Common` and
`antcomponents` per-file inventory, root-level GPLv2, and initial attribution
files are now present.
2. [Partial] The ElTree source-redistribution blocker is resolved, by removing
`src/original/ElTree/` and the `amc_sources.rar` archive that also
contained it (from the repository and its git history) rather than by
obtained permission — AMC Python never used ElTree, so nothing functional
was lost. The absent license grant for `Common/ComboBoxAutoWidth.pas`
remains open; the check-enforced `Common` and `antcomponents` per-file
inventory, root-level GPLv2, and initial attribution files are present.
3. Generate AMC 4.2.3.2 empty, one-movie, all-fields, custom-field, embedded-picture,
linked-picture, supplementary-record, Unicode/code-page, and corrupt catalogs.
[Partial] Empty and one-movie catalogs are done, across AMC 3.5.x/4.1.x/4.2.x
Expand Down Expand Up @@ -1135,11 +1148,14 @@ and `tests/fixtures/native-sample-catalog/` (a populated AMC 3.5/4.2 catalog pai
with custom fields and embedded pictures) — which satisfy Sprint 1's own
`validate_fixtures`/`verify_fixtures` exit checks. Sprint 1 as a whole is still not
closed: its other required work — reacquiring the published source archive from an
independently recorded origin, and resolving the ElTree redistribution restriction
and the absent `Common/ComboBoxAutoWidth.pas` license grant (Milestone 0) — remains
open. No compatibility status may be upgraded to `verified` regardless of Sprint 1's
state, since that also needs a documented cross-application (write, then reopen in
genuine AMC) test that neither fixture set provides yet.
independently recorded origin, and resolving the absent
`Common/ComboBoxAutoWidth.pas` license grant (Milestone 0) — remains open. The
ElTree redistribution restriction this sentence previously named alongside it is
resolved, by removing `src/original/ElTree/` and the RAR archive that also
contained it rather than by obtained permission. No compatibility status may be
upgraded to `verified` regardless of Sprint 1's state, since that also needs a
documented cross-application (write, then reopen in genuine AMC) test that
neither fixture set provides yet.

Do not add unrelated UI, CRUD, native writing, or further legacy parsing until this
slice passes. A source-derived synthetic test is implementation evidence, not
Expand Down
49 changes: 31 additions & 18 deletions docs/NEXT_SPRINTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,16 @@ claim while an earlier gate is open.
upstream-generated fixture sets have been contributed and registered —
`tests/fixtures/native-empty-one-movie/` and `tests/fixtures/
native-sample-catalog/` — satisfying this sprint's `validate_fixtures`/
`verify_fixtures` exit checks below. The rest of its required work — reacquiring
the published source archive from an independently recorded origin, and
resolving the ElTree redistribution restriction and the absent
`Common/ComboBoxAutoWidth.pas` license grant — still cannot be performed inside
this repository's automated development environment and remains externally
blocked. Sprints 2–4 stay gated behind Sprint 1's exit checks exactly as
`verify_fixtures` exit checks below. The ElTree redistribution restriction this
status previously named is resolved: `src/original/ElTree/` and the RAR
archive that also contained it have been removed from the repository and its
git history, since ElTree's license permits distribution only inside compiled
software and AMC Python never used it. The rest of Sprint 1's required work —
reacquiring the published source archive from an independently recorded
origin, and resolving the absent `Common/ComboBoxAutoWidth.pas` license
grant — still cannot be performed inside this repository's automated
development environment and remains externally blocked. Sprints 2–4 stay
gated behind Sprint 1's exit checks exactly as
written below; none of their compatibility claims may be advanced without
registered fixtures, and no status may move to `verified` without also a
documented cross-application (write, then reopen in genuine AMC) test, which
Expand All @@ -29,9 +33,10 @@ for Sprint 1 and must not be described as compatibility progress.
1. **Compatibility evidence before more inferred format behavior.** Native and XML
code has extensive synthetic coverage but no registered upstream-generated
fixture.
2. **Redistribution clearance before release work.** Historical source must not be
included in a release while the ElTree restriction and the missing
`Common/ComboBoxAutoWidth.pas` license grant remain unresolved.
2. **Redistribution clearance before release work.** The ElTree restriction is
resolved (by removing the affected files, not by obtained permission).
Historical source must not be included in a release while the missing
`Common/ComboBoxAutoWidth.pas` license grant remains unresolved.
3. **Losslessness before convenience features.** Unknown, duplicate, ordered, or
typed interchange data must be retained or rejected with a diagnostic.
4. **Release hardening after format gates.** Refactoring, performance work, and
Expand All @@ -43,16 +48,24 @@ for Sprint 1 and must not be described as compatibility progress.

### Required work

- Reacquire the published source archives from an independently recorded origin;
- Reacquire the published source archive from an independently recorded origin;
record retrieval timestamp, final URL, byte length, SHA-256, and any publisher
checksum or signature.
- Compare each reacquired archive with both checked-in compressed archives and the
952-file expanded inventory using `tools/acquire_upstream.py`. RAR acquisition
tries each installed extractor in order, so one incompatible tool does not prevent
a later capable extractor from completing the evidence check.
- Resolve the ElTree source-redistribution restriction and the absent license grant
for `Common/ComboBoxAutoWidth.pas`, or remove the affected files from distributed
artifacts while retaining a documented non-distributed evidence workflow.
checksum or signature. The RAR previously checked in for this comparison
(`amc_sources.rar`) has been removed along with the ElTree files it
contained (see below); a freshly reacquired copy would still be compared
against the remaining 848-file expanded inventory (`src/original/` minus
ElTree, plus `src/antcomponents/`) using `tools/acquire_upstream.py`, but
would not itself be re-committed. RAR acquisition tries each installed
extractor in order, so one incompatible tool does not prevent a later
capable extractor from completing the evidence check.
- Compare a reacquired `antcomponents.zip` with the checked-in copy and its
76-file expanded inventory the same way.
- [Done] The ElTree source-redistribution restriction is resolved: rather than
obtaining permission or maintaining a documented non-distributed evidence
workflow, `src/original/ElTree/` and the RAR archive that also contained it
were removed entirely from the repository and its git history, since AMC
Python never used ElTree. The absent license grant for
`Common/ComboBoxAutoWidth.pas` remains open.
- Use upstream AMC 4.2.3.2 to create empty and one-movie native catalogs plus their
XML exports. Record the exact producer build, operating-system locale, catalog
code page, creation steps, SHA-256, expected values, and redistribution permission.
Expand Down
Loading
Loading