mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-12-02 14:28:54 -06:00
README.md and CONTRIBUTING.md open with a comment naming their generator, generate_readme.py --check fails on a hand edit in validate.yml and pr_checks.py, and .gitattributes marks the pipeline outputs as generated, held equal to core/generated.py by a test. _mame_clones.json becomes mame_clones.json, still written beside the scanned bios/ tree, and now triggers both workflows (coverage reads it). docs_assets/ moves to website/assets/, which Astro does not read as content. ACCESSIBILITY.md becomes wiki/accessibility.md, linked from the README and the installer page. The screenshot list moves to wiki/images-wanted.md: nothing read docs_assets/screens/. The architecture map names every root entry (test_repository_map), platforms/README.md keeps only what this folder holds, the reference index lists archive-recipes and measurements, and reference-terms no longer defines Profile twice nor repeats the glossary's Pack.
49 lines
2.0 KiB
Plaintext
49 lines
2.0 KiB
Plaintext
# Source and generated artefacts keep LF on every platform, so a Windows
|
|
# checkout does not show them as modified and the freshness guard keeps
|
|
# meaning something.
|
|
*.json text eol=lf
|
|
*.yml text eol=lf
|
|
*.md text eol=lf
|
|
*.py text eol=lf
|
|
*.sh text eol=lf
|
|
install.ps1 text eol=lf
|
|
|
|
# Preserved files are bytes, not text, and these rules come last so they win.
|
|
#
|
|
# Without them git guesses. A clone on Windows, where the installer sets
|
|
# core.autocrlf=true by default, rewrites every file git considers text on
|
|
# checkout: shaders, .ini, .txt and .dat assets under bios/ come out with CRLF
|
|
# line endings and a different SHA1 from the one this repository publishes.
|
|
# Verification then fails on files nobody touched, and a re-commit silently
|
|
# changes the bytes of a preserved asset.
|
|
#
|
|
# provenance/ is not listed: those snapshots are generated here, not
|
|
# preserved, so they follow the LF rule above.
|
|
bios/** -text
|
|
data/** -text
|
|
|
|
# Measurement records are append-only: two branches that each add a line to
|
|
# the same file merge by keeping both.
|
|
measurements/*.jsonl text eol=lf merge=union
|
|
|
|
# What a pipeline run writes (scripts/core/generated.py, GENERATED), folded in
|
|
# review diffs and left out of the language statistics. Anchored with a slash:
|
|
# a bare README.md would match platforms/README.md too. A test holds this list
|
|
# equal to GENERATED.
|
|
/database.json linguist-generated=true
|
|
/derivable.json linguist-generated=true
|
|
/retired.json linguist-generated=true
|
|
/install/*.json linguist-generated=true
|
|
/install/standalone/*.json linguist-generated=true
|
|
/install/targets/*.json linguist-generated=true
|
|
/install/games/*.json linguist-generated=true
|
|
/install/games/*/*.json linguist-generated=true
|
|
/README.md linguist-generated=true
|
|
/CONTRIBUTING.md linguist-generated=true
|
|
/wiki/installer.md linguist-generated=true
|
|
/wiki/reading-reports.md linguist-generated=true
|
|
/website/src/data/*.json linguist-generated=true
|
|
/recipes/archives.json linguist-generated=true
|
|
/exports/*.json linguist-generated=true
|
|
/exports/*/*.json linguist-generated=true
|