Skip to content

Commit eddadb8

Browse files
authored
LFS the Lunr Indexes (github#20521)
* LFS the Lunr Indexes * Add a note about installing Git LFS * Run "install" command * Update indexes * Index names
1 parent 6144b2a commit eddadb8

87 files changed

Lines changed: 125 additions & 54 deletions

File tree

Some content is hidden

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

.gitattributes

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Set default behaviour, in case users don't have core.autocrlf set.
22
* text=auto
3-
43
# Explicitly declare text files we want to always be normalized and converted
54
# to native line endings on checkout.
65
*.md text
6+
*.json.br filter=lfs diff=lfs merge=lfs -text

.husky/post-checkout

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
#!/bin/sh
2+
command -v git-lfs >/dev/null 2>&1 || { echo >&2 "\nThis repository is configured for Git LFS but 'git-lfs' was not found on your path. If you no longer wish to use Git LFS, remove this hook by deleting .git/hooks/post-checkout.\n"; exit 2; }
3+
git lfs post-checkout "$@"

.husky/post-commit

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
#!/bin/sh
2+
command -v git-lfs >/dev/null 2>&1 || { echo >&2 "\nThis repository is configured for Git LFS but 'git-lfs' was not found on your path. If you no longer wish to use Git LFS, remove this hook by deleting .git/hooks/post-commit.\n"; exit 2; }
3+
git lfs post-commit "$@"

.husky/post-merge

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
#!/bin/sh
2+
command -v git-lfs >/dev/null 2>&1 || { echo >&2 "\nThis repository is configured for Git LFS but 'git-lfs' was not found on your path. If you no longer wish to use Git LFS, remove this hook by deleting .git/hooks/post-merge.\n"; exit 2; }
3+
git lfs post-merge "$@"

.husky/pre-push

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
#!/bin/sh
2+
command -v git-lfs >/dev/null 2>&1 || { echo >&2 "\nThis repository is configured for Git LFS but 'git-lfs' was not found on your path. If you no longer wish to use Git LFS, remove this hook by deleting .git/hooks/pre-push.\n"; exit 2; }
3+
git lfs pre-push "$@"
4+
25
. "$(dirname "$0")/_/husky.sh"
36

47
npm run prevent-pushes-to-main

CONTRIBUTING.md

Lines changed: 2 additions & 0 deletions

contributing/development.md

Lines changed: 3 additions & 1 deletion

lib/search/cached-index-names.json

Lines changed: 0 additions & 51 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,7 @@
11
[
2-
"github-docs-2.17-cn",
3-
"github-docs-2.17-de",
4-
"github-docs-2.17-en",
5-
"github-docs-2.17-es",
6-
"github-docs-2.17-ja",
7-
"github-docs-2.17-pt",
8-
"github-docs-2.18-cn",
9-
"github-docs-2.18-de",
10-
"github-docs-2.18-en",
11-
"github-docs-2.18-es",
12-
"github-docs-2.18-ja",
13-
"github-docs-2.18-pt",
14-
"github-docs-2.19-cn",
15-
"github-docs-2.19-de",
16-
"github-docs-2.19-en",
17-
"github-docs-2.19-es",
18-
"github-docs-2.19-ja",
19-
"github-docs-2.19-pt",
202
"github-docs-2.20-cn",
21-
"github-docs-2.20-de",
223
"github-docs-2.20-en",
23-
"github-docs-2.20-es",
244
"github-docs-2.20-ja",
25-
"github-docs-2.20-pt",
265
"github-docs-2.21-cn",
276
"github-docs-2.21-de",
287
"github-docs-2.21-en",
@@ -47,36 +26,6 @@
4726
"github-docs-3.1-es",
4827
"github-docs-3.1-ja",
4928
"github-docs-3.1-pt",
50-
"github-docs-custom-rankings-2.18-cn",
51-
"github-docs-custom-rankings-2.18-de",
52-
"github-docs-custom-rankings-2.18-en",
53-
"github-docs-custom-rankings-2.18-es",
54-
"github-docs-custom-rankings-2.18-ja",
55-
"github-docs-custom-rankings-2.18-pt",
56-
"github-docs-custom-rankings-2.19-cn",
57-
"github-docs-custom-rankings-2.19-de",
58-
"github-docs-custom-rankings-2.19-en",
59-
"github-docs-custom-rankings-2.19-es",
60-
"github-docs-custom-rankings-2.19-ja",
61-
"github-docs-custom-rankings-2.19-pt",
62-
"github-docs-custom-rankings-2.20-cn",
63-
"github-docs-custom-rankings-2.20-de",
64-
"github-docs-custom-rankings-2.20-en",
65-
"github-docs-custom-rankings-2.20-es",
66-
"github-docs-custom-rankings-2.20-ja",
67-
"github-docs-custom-rankings-2.20-pt",
68-
"github-docs-custom-rankings-2.21-cn",
69-
"github-docs-custom-rankings-2.21-de",
70-
"github-docs-custom-rankings-2.21-en",
71-
"github-docs-custom-rankings-2.21-es",
72-
"github-docs-custom-rankings-2.21-ja",
73-
"github-docs-custom-rankings-2.21-pt",
74-
"github-docs-custom-rankings-dotcom-cn",
75-
"github-docs-custom-rankings-dotcom-de",
76-
"github-docs-custom-rankings-dotcom-en",
77-
"github-docs-custom-rankings-dotcom-es",
78-
"github-docs-custom-rankings-dotcom-ja",
79-
"github-docs-custom-rankings-dotcom-pt",
8029
"github-docs-dotcom-cn",
8130
"github-docs-dotcom-de",
8231
"github-docs-dotcom-en",
-487 KB
Binary file not shown.
-1.1 MB
Binary file not shown.

0 commit comments

Comments
 (0)