WUT_Computer_Science/gates/vendored.txt
Krzysztof kuhy Rudnicki fd81d75424 Declare vendored subtrees and park the data-txt cap decision
First step of bringing this archive up to the fleet standard: nothing can be
linted until the gates know what is not kuhy's code.

gates/vendored.txt is the source of truth, one path per line with the reason
AND how it was verified, because an unverified entry is a suppression wearing
a costume. Seven subtrees: the ASP.NET scaffolder's jQuery/Bootstrap bundle
(~98% of all JS and CSS here), stock Unity package and template assets,
manufacturer-supplied Altium/PADS component libraries for the OLED and
HMC5883L parts, and the two EOPSY simulator trees.

The EOPSY entries were the one judgement call, and they turned out not to be:
work/ is the extraction target of `make setup`, and extracting the committed
ftp/*.tgz and diffing shows 14/14 java files byte-identical to the department
originals. ControlPanel.java (1852 lines) and Kernel.java (511) are therefore
not student work and are not split.

Deliberately NOT vendored: EMISY's README, declaration and report are kuhy's
own writing; E-PSYOPS Assets/Scripts (12 .cs) is authored; and the Unity Input
System binding is already exempt via its auto-generated banner, so it needs no
entry. Narrow entries beat one blanket directory.

TODO-file-length-250.md parks the one thing this mechanism cannot express: 27
data .txt files whose lines are long enough that the cap reads them as prose.
They resist directory-prefix exemption because the SemEval corpus dirs mix the
official distribution with kuhy's own GPT outputs, and WDWR/projekt/R holds
both scenarios.txt and the authored model.R. That blocks only the installation
of the file-length gate, which is several milestones away.

Mirrored into the shared gate as kuhyx/utils@a4a3e0a.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0172dj34FDpao6wsix8ZuCzE
2026-08-28 17:31:30 +02:00

65 lines
3.5 KiB
Plaintext

# gates/vendored.txt -- third-party and department-provided content.
#
# THE source of truth for "not kuhy's code". Every gate reads this list:
# - the 250-line cap and the md-naming gate, via the "WUT_Computer_Science"
# key in VENDORED_SUBPATHS (~/utils/file_length/_tables.py)
# - ruff, via [tool.ruff] exclude in pyproject.toml
# - coverage, via [tool.coverage.run] omit
# - prettier, via .prettierignore
# Those four are MIRRORS. Edit this file, then re-run ./run.sh sync-vendored.
#
# Vendored content is exempt from lint, coverage and the line cap. It is NOT
# exempt from the no-binaries gate -- a vendored .png is still a binary.
#
# One path per line, repo-relative, no trailing slash. Every entry carries the
# reason AND how it was verified, because an unverified entry is a suppression
# wearing a costume.
# --- Third-party web libraries -------------------------------------------
# jQuery, Bootstrap, jquery-validation, jquery-validation-unobtrusive as
# shipped by the ASP.NET MVC scaffolder. 14 JS files (30,875 lines) and 16 CSS
# files (43,027 lines) -- 98.6% of all JS and 98.9% of all CSS in the repo.
# Verified: directory is the scaffolder's wwwroot/lib layout; files carry
# upstream copyright headers and match released dist/ builds.
Programming/EGUI/lab2/lab2/wwwroot/lib
# --- Unity engine and template content ------------------------------------
# Stock TextMesh Pro package assets shipped by Unity, not authored here.
# Verified: matches the TMP package's Assets payload; no file under it is
# referenced from Assets/Scripts.
Programming/E-PSYOPS/theProject/Assets/TextMesh Pro
# Unity's "Tutorial Info" new-project template (Readme asset + its editor
# script). Verified: unmodified from the Unity 2D template.
Programming/E-PSYOPS/theProject/Assets/TutorialInfo
#
# NOTE: Assets/Input System/BetterInput.cs is NOT listed. It is generated by
# com.unity.inputsystem's InputActionCodeGenerator and already carries an
# "auto-generated by" banner in its first 5 lines, so the shared gate's
# GENERATED_MARKERS check exempts it without an entry here. Assets/Scripts/**
# (12 .cs files) is authored and stays fully gated.
# --- Electronic component libraries ---------------------------------------
# Manufacturer-supplied Altium / EAGLE / PADS / Proteus / SOLIDWORKS symbol
# and footprint libraries for the OLED display and the HMC5883L magnetometer,
# downloaded from the vendors. Includes their own license.txt and part_info.txt.
# Verified: each tree contains the vendor's PADS/ export and license file.
# Only these two subtrees -- EMISY's README.md, declaration/ and report/ are
# kuhy's own writing and stay capped.
NotProgramming/EMISY/componentSchematic
NotProgramming/EMISY/schematic
# --- Department-provided simulator source ---------------------------------
# The EOPSY course ships its scheduler and memory-management simulators as
# tarballs; the lab is to run and analyse them, and the report is the
# deliverable. work/ is not hand-written -- it is the extraction target of
# `make setup` (see each task's README).
#
# Verified 2026-08-28 by extracting the committed tarballs and diffing:
# ftp/sched.tgz -> lab3 work/: 6/6 java files BYTE-IDENTICAL
# ftp/memory.tgz -> lab4 work/: 8/8 java files BYTE-IDENTICAL
# Zero student modification, and fully regenerable from ftp/. That is what
# makes this vendored rather than a judgement call -- and it is why
# ControlPanel.java (1852 lines) and Kernel.java (511) are not split.
Programming/EOPSY/lab3/task3/work
Programming/EOPSY/lab4/task4/work