Skip to content

Commit 341816c

Browse files
committed
Kotlin: add dependencies as lazy LFS files
1 parent 0da4130 commit 341816c

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

45 files changed

+137
-9
lines changed

.gitattributes

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,8 @@
55
# git add --renormalize .
66
# git status [just to show what files were renormalized]
77
# git commit -m "Normalize line endings"
8-
98
# Anything Git auto-detects as text gets normalized and checked out as LF
109
* text=auto eol=lf
11-
1210
# Explicitly set a bunch of known extensions to text, in case auto detection gets confused.
1311
*.ql text
1412
*.qll text
@@ -40,7 +38,6 @@
4038
*.lua text
4139
*.expected text
4240
*.go text
43-
4441
# Explicitly set a bunch of known extensions to binary, because Git < 2.10 will treat
4542
# `* text=auto eol=lf` as `* text eol=lf`
4643
*.png -text
@@ -49,32 +46,27 @@
4946
*.gif -text
5047
*.dll -text
5148
*.pdb -text
52-
5349
java/ql/test/stubs/**/*.java linguist-generated=true
5450
java/ql/test/experimental/stubs/**/*.java linguist-generated=true
55-
5651
# Force git not to modify line endings for go or html files under the go/ql directory
5752
go/ql/**/*.go -text
5853
go/ql/**/*.html -text
5954
# Force git not to modify line endings for go dbschemes
6055
go/*.dbscheme -text
6156
# Preserve unusual line ending from codeql-go merge
6257
go/extractor/opencsv/CSVReader.java -text
63-
6458
# For some languages, upgrade script testing references really old dbscheme
6559
# files from legacy upgrades that have CRLF line endings. Since upgrade
6660
# resolution relies on object hashes, we must suppress line ending conversion
6761
# for those testing dbscheme files.
6862
*/ql/lib/upgrades/initial/*.dbscheme -text
69-
7063
# Generated test files - these are synced from the standard JavaScript libraries using
7164
# `javascript/ql/experimental/adaptivethreatmodeling/test/update_endpoint_test_files.py`.
7265
javascript/ql/experimental/adaptivethreatmodeling/test/endpoint_large_scale/autogenerated/**/*.js linguist-generated=true -merge
7366
javascript/ql/experimental/adaptivethreatmodeling/test/endpoint_large_scale/autogenerated/**/*.ts linguist-generated=true -merge
74-
7567
# Auto-generated modeling for Python
7668
python/ql/lib/semmle/python/frameworks/data/internal/subclass-capture/*.yml linguist-generated=true
77-
7869
# auto-generated bazel lock file
7970
ruby/extractor/cargo-bazel-lock.json linguist-generated=true
8071
ruby/extractor/cargo-bazel-lock.json -merge
72+
/java/kotlin-extractor/deps/*.jar filter=lfs diff=lfs merge=lfs -text

.lfsconfig

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[lfs]
2+
fetchexclude = \
3+
/java/extractor-kotlin/deps

MODULE.bazel

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,13 @@ node.toolchain(
4848
)
4949
use_repo(node, "nodejs", "nodejs_toolchains")
5050

51+
lfs_files = use_repo_rule("//misc/bazel:lfs.bzl", "lfs_files")
52+
53+
lfs_files(
54+
name = "kotlin_deps",
55+
dir = "//java/kotlin-extractor:deps",
56+
)
57+
5158
register_toolchains(
5259
"@nodejs_toolchains//:all",
5360
)
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
version https://git-lfs.github.com/spec/v1
2+
oid sha256:e784cdef6ce21554c1696b4fea8efa476728447b65054e8f1057a1dfd5ca771a
3+
size 48246906
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
version https://git-lfs.github.com/spec/v1
2+
oid sha256:f6e4a2c4394e77f937fcffda0036531604f25cc7c8de8daea098e1aa31f1d248
3+
size 47816554
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
version https://git-lfs.github.com/spec/v1
2+
oid sha256:dfefb1aa8bec81256617c8ceb577373e44078b7e21024625da50e376037e9ae5
3+
size 47822093
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
version https://git-lfs.github.com/spec/v1
2+
oid sha256:a0ae437d1b670a5ba6da7893b7023df649c4ab2e6c19d5e9b4eee5332e1cde1f
3+
size 49012794
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
version https://git-lfs.github.com/spec/v1
2+
oid sha256:487d8ff9766a6ba570cd15c5225c1600654e7cf1b6ef2b92ed6905528a3e838a
3+
size 49509580
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
version https://git-lfs.github.com/spec/v1
2+
oid sha256:4bd7a92568fd89c23b7f9f36d4380886beed18d3d54ea6adf49bebae627db805
3+
size 51408858
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
version https://git-lfs.github.com/spec/v1
2+
oid sha256:90567c5cf297985d028fa39aa3a7904dc8096173e1c7f3d3f35fe7074581098e
3+
size 53370229

0 commit comments

Comments
 (0)