Repository navigation
aperture: well-known library directory names are vendored (Part of #5464) - #5550
Merged
Merged
Conversation
) Mechanism (c): zlib, jpeg-6, lzma, gdtoa, nlohmann, ... with no license file of their own. A name list (version suffix dropped); a dir carrying the root's own license stays scanned. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
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 19, 2026 00:13
Contributor
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 #5464 (follows #5512, which landed mechanisms (a) and (b)). Part of #5457.
What
Mechanism (c): a directory named after a well-known third-party library with no license file of its own is vendored. Decision (acceptance item): a known-library name list (
KNOWN_LIBRARY_NAMESinaperture.py), not an upstream-header fingerprint: the list is reviewable and cheap, a fingerprint needs a per-library corpus. A trailing version is dropped (jpeg-6,zlib-1.2.11); the name must match exactly (zlib_wrapper,zlibsstay scanned); a directory carrying the root's own license is the project's own copy and stays scanned._has_root_license/_root_license_setsplit out of_has_foreign_license.Class: vendored trees by naming shape
third_party_*,*_libssdl/backendsEvidence
Detector walk over
doom-study/repos(no full rescans): psydoom ->third_party_libs; eternity ->zlib,libpng,source/nlohmann,snes_spc,acsvm; zandronum ->zlib,lzma,gdtoa,jpeg-6b,dumb,game-music-emu, ...; vizdoom ->src/vizdoom/{zlib,lzma,gdtoa,jpeg-6b,bzip2}; doom3-bfg ->jpeg-6,zlib; odamex ->libraries/{zlib,jsoncpp,libpng,fmt}; doomsday ->external/zlib,nlohmann. First-partysrc/sdlnot listed.Gates:
pr_gates --fast6/6 (after droppingfmt: skip, RUF028),--ratchets8/8 (golden unchanged),tests/core_engine+ tree-wide guards green,test_vendored_dirs_4545.py44 pass.Lessons for agents
# fmt: skipon a closing brace of a multi-line set literal trips ruff RUF028 in the baseline-gated lint; letruff formatlay it out.🤖 Generated with Claude Code