Repository navigation
aperture: vendored trees under any name (third_party_*, *_libs, foreign-license dirs) (Part of #5464) - #5512
Merged
Merged
Conversation
…libs containers, foreign-license directories (Part of #5464) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Owner
Author
|
No description provided. |
squid-protocol
marked this pull request as ready for review
October 18, 2026 17:49
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
squid-protocol
enabled auto-merge (squash)
October 18, 2026 17:53
Owner
Author
|
No description provided. |
1 similar comment
Owner
Author
|
No description provided. |
Contributor
This was referenced Oct 18, 2026
Merged
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.
Part of #5457
What
VendorDirectoryDetector(aperture.py) no longer needs a candidate name before probing a directory. Mechanisms from #5464:third_party_*/third-party-*/3rdparty-*prefixes are excluded by name, likethird_party/(psydoomthird_party_libs/, 367k LOC of SDL2).*_libs/*-libraries/*_deps/*_extern(al)join the container rule (half of non-empty children carry a foreign license).libpng/, zandronumgame-music-emu/dumb/, doomretrosrc/yyjson/src/miniz/). A root license is still required (no root license, no evidence).FASTDOOM/LICENSEis the root's GPL-2 with another FSF address and must not count as foreign (found by walking the 39-port corpus).is_candidate_namepre-filter (removed with_VERSIONED_DIR; versioned dirs are now just a case of (b)). Aperture probes directories only, never the file component.Class: vendored trees by naming shape
third_party_*prefix (psydoom)*_libscontainersrc/sdl/,client/sdl/, same-license subdirslibraries/<half licensed)Evidence
Detector walk over
doom-study/repos(39 ports): psydoom ->third_party_libs; eternity ->libpng,snes_spc,acsvm; zandronum ->dumb,game-music-emu,bzip2,rnnoise,GeoIP,src/timidity,src/sfmt; doomretro ->src/yyjson,src/miniz; fastdoom -> none (after family fix). Full rescans not run.Gates:
pr_gates --fast6/6,--ratchets8/8,crucible_check.py(both legs) zero diff,tests/core_enginegreen, new tests intest_vendored_dirs_4545.py(36 pass).Open risk
(b) also excludes non-code dirs with their own license (
docs/,assets/,wadsrc_*/static,lumps/*): harmless to code metrics, but listed in the walk (edge-classic, gzdoom, srb2, freedoom, helion). A first-party subdir under a different license than the root (dual-licensed repo) is now excluded: by design per the issue.🤖 Generated with Claude Code