Repository navigation
Expand file tree
/
Copy path.gitattributes
More file actions
57 lines (45 loc) · 2.97 KB
/
Copy path.gitattributes
File metadata and controls
57 lines (45 loc) · 2.97 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
# The redirect golden fixtures are a byte-exact cross-language contract
# (consumed by both this crate's redirect_golden.rs and the depscan backend's
# golden.test.ts). EOL conversion on checkout (Windows CRLF) breaks the
# byte-for-byte comparison, so they are checked out exactly as committed.
crates/socket-patch-core/tests/fixtures/redirect/** -text
crates/socket-patch-core/tests/fixtures/pdm-native/*.lock -text
# Poetry and Pipenv locks are real `poetry lock` / `pipenv lock` output: the
# upstream restore and VEX tests round-trip them byte for byte and derive
# their CRLF variants from the LF bytes themselves.
crates/socket-patch-core/tests/fixtures/poetry/** -text
crates/socket-patch-core/tests/fixtures/pipenv/** -text
crates/socket-patch-core/tests/fixtures/pipenv-shapes/** -text
# The native uv fixtures under upstream/ are real `uv lock` output: the
# restore tests derive their CRLF variants from the LF bytes themselves.
crates/socket-patch-core/tests/fixtures/upstream/** -text
# The captured pnpm 1-12 locks are byte-real: the hosted/vendored rewriters
# refuse CRLF by design (vendor_lockfile_crlf_unsupported), and the tests
# derive their CRLF variants from the LF bytes themselves.
crates/socket-patch-core/tests/fixtures/pnpm-hosted/** -text
# Captured vlt locks are byte-real; CRLF variants are derived in the tests.
crates/socket-patch-core/tests/fixtures/vlt-locks/** -text
# The vendored vlt fixtures pin locks real vlt wrote, byte for byte.
crates/socket-patch-core/tests/fixtures/vendor/** -text
# The legacy vendor ledgers are what the base binary wrote, byte for byte:
# vendor_ledger_schema_e2e replays them through `vendor --revert` and
# compares the result byte for byte, so a CRLF checkout would change both
# the replayed wiring files and the expected revert.
crates/socket-patch-cli/tests/fixtures/legacy-ledgers/** -text
# The owned Gradle settings scripts (vendored and hosted) are embedded with
# include_str! and written into user repos byte for byte; a CRLF checkout would change it.
crates/socket-patch-core/src/vendor/jvm/socket-patch.settings.gradle -text
crates/socket-patch-core/src/patch/redirect/socket-patch.hosted.settings.gradle -text
# sbt resolution evidence is real sbt output (JSON, Ivy XML and the 0.13
# binary update cache); the evidence parser's tests read it byte for byte.
crates/socket-patch-core/tests/fixtures/sbt/** -text
# The sbt harness scripts run under bash on the Windows legs too
# (sbt-compatibility.yml); a CRLF checkout breaks them ($'\r').
scripts/sbt-warm-seed.sh text eol=lf
scripts/sbt-compat-matrix.sh text eol=lf
# Real `bun install --save-text-lockfile` output: the migrated-lock revert
# tests compare restored bun.lock bytes against it exactly (#784).
crates/socket-patch-core/tests/fixtures/bun-lockb/1.2.23-migrated/*.lock -text
# Real Bun locks with a version-less own-source copy (#497): the VEX tests
# rewire the nested registry entry of the captured bytes in place.
crates/socket-patch-core/tests/fixtures/bun-unversioned-copy/** -text