1
0
mirror of synced 2026-01-27 06:09:02 -05:00

Merge pull request #13709 from github/repo-sync

repo sync
This commit is contained in:
Octomerger Bot
2022-01-04 13:01:34 -06:00
committed by GitHub
77 changed files with 266 additions and 156 deletions

View File

@@ -113,7 +113,6 @@ jobs:
uses: repo-sync/github-sync@3832fe8e2be32372e1b3970bbae8e7079edeec88
env:
GITHUB_TOKEN: ${{ secrets.OCTOMERGER_PAT_WITH_REPO_AND_WORKFLOW_SCOPE }}
CI: true
with:
source_repo: ${{ secrets.SOURCE_REPO }} # https://${access_token}@github.com/github/the-other-repo.git
source_branch: main

View File

@@ -20,9 +20,6 @@ concurrency:
group: '${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }}'
cancel-in-progress: true
env:
CI: true
jobs:
test:
runs-on: windows-latest

View File

@@ -20,9 +20,6 @@ concurrency:
group: '${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }}'
cancel-in-progress: true
env:
CI: true
jobs:
test:
# Run on self-hosted if the private repo or ubuntu-latest if the public repo

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:5e7e1dd511f92672839f48d4d1f259bef6cea97c40e8061547a3da09c1e59391
size 614259
oid sha256:c89e4d81e3547b5bc19719b1c2034bf0cb77ea0d9721ad63b71f5d47a3f71a07
size 614362

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:40dc5f91826ab0fa87d826f758d7d6ad413b41ce04168282efccbe7e4d4941c1
size 1746398
oid sha256:4d904fbfdf7e5502bb49eb8cdfedff93b74d2bd186ab01bbf39e5a08553b7899
size 1746218

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f987b6ec68d25f1982f2a4692bc0e3069810028d6ecc4da5e940fad398190e61
size 952725
oid sha256:ff2335cf0af0e92d1d4435008f7f38b437a96586e11d7d221b864126e94236aa
size 952861

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:bed24fc26dc2f609a10da5df4dd26c4e90077ab2bc5b682a4a740c9d1517e030
size 3907074
oid sha256:927332473e55b1390182959591df7cee55c0ca2e909249f6b1a5f9d49e615fb4
size 3907265

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f1a81cd1aff228e5659ad75b1129bbee0493e6951dd32bd5f07d9ae21605c1c2
size 583248
oid sha256:95846cdb46b8d853be2a94336d4f0ae9924c9e493d9acd2a98cea3a1cc229ee3
size 583322

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:ce343d33ddf389b69656a67383f04944c97e791a6e686478c4ee9ae105209dcf
size 2696585
oid sha256:7b11bc55156d6ca3f9ecb6b83c57307aabb8e37b912eed328df27b3cb747ce91
size 2697153

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:bc6b99dc7bafed88ce4755afee9dd7b5c995a89807c170f2598a28bc7766420b
size 617332
oid sha256:75ff9f43988a1711176199ed707deb92500ffce4c6bcffcafcd0352cca32dbe8
size 617686

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:ae1c7e9154b6dd2b4e76963388922784f53aa4903938945d10f23e9ba147ae14
size 3467667
oid sha256:8185e87457272c29950968807408ab182800509343f956077ea7e4da6d7ea151
size 3468134

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:367fafe62750ec178284e3f5969b13bb2c0d150772d864ffc43088d87c658cef
size 595396
oid sha256:875b718d360ab061950c139ef09c6449212a607456236312a378ae6f52e01a55
size 595421

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:1702a7ae828c46527e59e864888c940a652a18d11988898020e3b9eb9dfe76df
size 2805080
oid sha256:4673d6755ce77a994b41b517dc756307fba6976aad66bdf09d6d6bc757134433
size 2804809

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7f560ba8f02f7b5f85e16a458e9068951f9ec76043524c13381587c8cf30fb6d
size 627622
oid sha256:040d4bbd1b3ad7cd0dd00be1e09e2649bcca004087e31be0769062a3d9936880
size 627922

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:096608678554a412874d37dafc0aa1b050c38efbae47414804cfab2ac747b1cd
size 1788184
oid sha256:8d91d90017b1bab154e20c64031996cc62b8a91c5ee967942b4ec4d4d3a2bce2
size 1787595

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:8c9024c2b554a66a1e1ae1963290bfe8805535fcdfcfb26f9e0e6e58758fa409
size 977830
oid sha256:dd29791aa00dc5259617ed08ec1858f96bc3733019b220a303f7412be0cfd208
size 977775

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b3faa708c7dfb37ec1794e43fbb26b44a68719059ebc1f586f18ef24fc585846
size 3997275
oid sha256:4de9d6736013d8a9163d2bc011952b33331a67c417a56a8671ab6597d8d3a624
size 3998628

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:93b21a93ea5150d6b0f91f16aba1e5f13ee8c356db031ab688c9ac5d3bc4f26c
size 595457
oid sha256:38881e301cc2fb45884cff023fa14eed377cf474cb9ca09ba8dfb0ffe3fd9d6f
size 595381

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:e9505b0948b21c8b5dfe83cc159a2dd1a1908212c88301ebe4daea0f9eb28647
size 2759182
oid sha256:90975353b4a8eafca4f09c40191f8108f480b7c8d66a59c0c19a062dfe66dc81
size 2759236

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:fd4d5c5773a6001325aca7064e5bfe971a292f75b6e025c5b5ce0fd10b76c4f9
size 630986
oid sha256:278462bd16ca4747ea2bd795de797eeb37ed816031f13fc7117e7cc1f8bf6f81
size 631011

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:c7a80ce80d471824eef5c6594f500fddf5e0da3228d8eeaa61a5ababf1600670
size 3547112
oid sha256:118b42609491668971cb4a6fa38d521079300d6598dff96a58dc940c6fea84d4
size 3547474

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:939b2ab074608050dfedf1c98f534fad2d30ccb5aba76be6519c5c4f9b6ab456
size 607754
oid sha256:39f6ba1ad992173dc70ca461b23053ada11f72fd959ed57762cc9e33085fdd89
size 607864

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:bd7b57160ce1c0cb21e377a5b60cf316fa793c54e7c7f0809588c6d168de2fa2
size 2867443
oid sha256:f2c8f52dea162585d4039f8fab7d316e8ffd892ccc3b8690e22373485c4b44b2
size 2867403

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b7b0ec962ffbff1c4878d79999d606d41470120d557cbc73c535930dc6595c51
size 639166
oid sha256:824a103edd6d81a3d00767d24e6d94d3603510e88398e3658708cc0740c0a8a9
size 639130

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f69bae14f7af8889f9d3acb6dbe2a1b34cfc25d60b0ce1fc00df6da18659361d
size 1814829
oid sha256:5381b30287ef79e56b65cf45e62061159279a425e5a89452653e204e6f3691d7
size 1815093

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:944771b784a2d35071518acacf0e4255b7ec1c352898dac03662f5966ab5bed2
size 1008966
oid sha256:b014c971da738f0650de3f1a2e1f35272014868cec7999ba98c0c0a634ebbd6b
size 1008936

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f97b4ab0c37abed014874110c2221d48a6450937118ff36984e3ae419642d3b2
size 4119436
oid sha256:a3492870effd3903d54baf1a3b001da4120b986ed5b27cc097afd669ac96ccb2
size 4119648

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:2d51082af0b253604197f2a6ca0a50c0d2ba93bc70acd35b638d57db28c21129
size 605911
oid sha256:ffe3d84c6680bd14ee75b518adb020d4a473660fce38936e1a33b66efb568450
size 605870

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:0519b66fcee2ddeb684d9322b618435781c9f962c408faed6e68b7d7612d8e96
size 2814108
oid sha256:15cbf567a68b713e0c6d3c067524a5aea6602bc4458bd13c041cc4c6b7e921df
size 2813639

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:bf3ba097e2bbb495f4f2f21bf8d9a0033ea226577cb31622dd011c0776ae78d3
size 642686
oid sha256:836ea6cd7e45f8a562b661b2b3ab603d5618c582640be637b09efbf04eb7cb19
size 642499

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:0b4015864ad14fee00828059dd30a9cb43edb15fa172e54572d0b156306fa50d
size 3613934
oid sha256:1a85f58ed7122e066ef40b816b1c6296ece6725bb6d8aed13329ea498cebf17e
size 3614093

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:e8e5c11458ac80f7a5b78e444c7fe86e8211e75e6f1717f28693b7627e1a13c6
size 619053
oid sha256:4dbc3b3c19ba70695f5c9132962264eb5ec24c8993d5bb00301d305d7b7b82c2
size 619258

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f8442f471a0d6a5e15ff57dba4dfea4ddea2d316818c91e1349d2fd4b88a56b7
size 2917407
oid sha256:5559c612d6bcec11e738a7f9eb6d01e15d459a5ab3c0dfd90bfc6438b3404c7e
size 2917881

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:527682fc084d63741a041242d58bb53a74536e519a92f0b0bf0cf71142f9b077
size 659510
oid sha256:2796d62f7d928ac5828734e0a8c64386e15519fc20268346e8d06ed41b003188
size 659440

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f560a659d25ccacc4d1dfc820cb037ebb4d5d5179a0a2ba7621547b63de64a5b
size 1872227
oid sha256:3a45aecf889f53ee0c4d2e321f033f5ee31673e7841b2d79d809f300d42c0bbd
size 1872159

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:207422beb875a16d2c4d9164e317b1486ff292d4cc2251f5665baf25dc439495
size 1042850
oid sha256:f5657b0dec71e7e523b9d0d7b6e8da35e40617da59f9f8cf73777522c3c46433
size 1043094

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:5785062164d1143c573042a18d4307a323163fcc131f3e7c35afa4de926ffbea
size 4221659
oid sha256:e20f53968b7a9a25c486354a16cc23db5719e6cfff49fa72bef848e17d40d033
size 4220153

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:8fbd3338815168a02862a4094b1eb40f6b26356cd995bebc2bb58ce6cb6d25b8
size 623943
oid sha256:8cba7efd3bf09553df6876dbacdc58e542f70bd7571bead6e4f58622e9a29d24
size 624137

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:5bf8612471153cd862712cb76ad3f7fc5115a9ffa72f7cbc7d315f397247dedf
size 2911638
oid sha256:8787034ba16e9123faa472dba47c97b0c212ad18f97b01d5213371c65b4428ad
size 2912154

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7d12b8bcbcb850f10ba7e516e6ce26a7be310c160a9749d98b5c5ea52e1c09cb
size 664033
oid sha256:37f091958e706fa4ab5d365467cd43f4cc337756c6789d70302ff84877c05e34
size 664014

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:30e11a77cb34b8eecce606e3a5455584589c1cf54a2693d77461fd4705a437ba
size 3730699
oid sha256:e5aec51120584e7edbec323989f2e31e8c0deac0fad93af5f34c1b317149d45e
size 3732557

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:6b00d5ad4d560455121946db2a80845955430e8cd5cbb3b6637c83fc00463112
size 638170
oid sha256:b41b352930e57506e69076968dea6e8987a577459dce1e4d0500a4f9b8248997
size 638268

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a9b08bfe44dd2a781b828c7abfc23c57f873698a14bcabf48059c35374108a33
size 3004320
oid sha256:881037aa089613a0b40de2d658b7b314a03bdc18b65ae83c1b8294685a822775
size 3004832

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:92ce7531f82551088b5a974bc70dc8490e3044a9af36d71fa0380cf0e27ca325
size 848215
oid sha256:718bb51f0ac8513e4d8ebd3d8c84305ca9011490f7e9cec53718ce824df2dbc7
size 848421

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:6e54a240f663e30ce0b0142d00c096a520b447d7e2f6719c3b9153e77f70af24
size 2091548
oid sha256:775d44a679e901e8013895db4e2550eac9d31f0fadef3e8d06420ff975c51550
size 2092255

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:8c1acd98f80aba2d2b24f5704d1b4a1caf0abca82275a2486d23bf2eeb36856b
size 1326182
oid sha256:c735e14b04922823675d6806a10451883ee254051d3d529de6ee910fa995c2ba
size 1326730

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:05252e9e5236496ddefc58e2147398427a4dd281acf3c94d468f0b1798199ba3
size 5066711
oid sha256:200482274768fc56982ba6d0c400a93e75ef5a3dca3eae11aadf9b7d9a5d7ffc
size 5068336

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:8fdd778fff72f8ddce73ef24d4c7c2dcf5ad98409ab27c24822388b8e1612165
size 794726
oid sha256:ee4496c2b065fdb072d5332fb73c1a9dd2e2c33d9f5c90ce5024996ad681b7d1
size 795064

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:8d0a9e91877184337f573468d2c596d63f3642a09c1e78b29232922b226b21cc
size 3497101
oid sha256:0fb1bcc19d22ca108aec05a5075cdf3950a5f50576e5a195ee419a2cb715448e
size 3497352

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b8f8702edc28af1d0c1a1f967867b5a068842d525cc7bd2dd7c51603410e82d2
size 856350
oid sha256:fe0e380bf190ab92406601f0fc3a063dddf3b413e87d223d9718a8d1dac1e08e
size 856644

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7db6c51475d826c9b3f2a89d454c98e5806f7e3a1796baf7ebff92298c13dc70
size 4549684
oid sha256:3c0edacfd800ea23f9ec3734219c67157861e9de3e4270a59d5041c80bde2db0
size 4550101

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:e3e66e1d1da70c48a3aa774aa9c4a21c743e1915f6f6e3e729409830c6180917
size 809592
oid sha256:f8ea9fccd77d330bb7ee181dad48f25c5809266c5e27771a942b73bcea17215c
size 809342

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:65bb69e82300b25425f5c8658940a0d59552d5fa027478dabec7c3ea07db4414
size 3591202
oid sha256:28d8b17cae00f52330ca2dac09fb2a7c73c7ca7b89c33c2a8434104d705561f7
size 3591670

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d1e01e5cc54b8e154e91db3049714c667ca0a9563717086699c3e5d2fb949fab
size 512951
oid sha256:3d816b2e48aaa736f81499efee7c055f0fafaf9846982e9137f7622360e25f27
size 513025

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f69f0849408a3ff84d84aad55b19b1ceaabd14e26b0886acc331b8d1f1edaed8
size 1416298
oid sha256:b7c009b51234b5158961033b2f2f2f42d267611ecc61c019b4a0f28dea15bd1d
size 1415878

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:ada3f1d0955ffd80e380205ac491454a22241cdf523c90a3630b46df51fd90c5
size 831762
oid sha256:2625ecb26e249d53edb2319b9782eaf713e3e7e6ebcf1d1b3b8e0bb5f397f79e
size 831741

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:eccf9f9637538f0ee2a8936f761a5521b9e26b154820255dec4c95bec796f336
size 3338802
oid sha256:8e583e895045f56b1960a245b9191251aafe0df447db07b9868f7b55e58f5d16
size 3338507

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:74f7aab5759d10d17c4a37f3f2c732e07860e53c7d99faaa6428c6c14441bc40
size 486737
oid sha256:308b915172e1c967bacf1dff6fb7e5a450fac110a24d6271a2202e74c70ff9fd
size 486953

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:c6d98429142b76a16f9563c038867270540597dcdd2de9e7b9930cd6ad67cdfa
size 2189465
oid sha256:8d4325579edd6eb075a2b6f74ad1f8123de04768caec1cc55e8943339447b48d
size 2189529

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4174a1a0981e406df23812382fb14db88b36cbb8f68d06bfdb9d85c9a0081c49
size 516146
oid sha256:cbf22569566d493fbe15b1283576f8507c9a2453f4b33139c431b2358781018e
size 516180

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:fe57e9407fac326b8211d8ad45873c8de17e8a9b6576152ca3ce47066a13039f
size 2793785
oid sha256:c59e142dd34157bda2b5a764a2707c80308d05bf71b76cf61738640a51a6a9e3
size 2793694

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:9b0230a725cc1dd0256983e41fa9d2c718baeb4ef8ba68fe0a4a49c78e3cf338
size 499368
oid sha256:402eda8f36aedb5d98c76c95994f1ffa62f8aefe95ba178e89fc9137a6427e37
size 499495

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:797b6d883ecdd4960073ddc8a7890eeed65bb2992d84912b2a4287e29184c3fd
size 2274330
oid sha256:5c9d289711963dc586f33171b91c06be2fe8336d7469080d0e47bae175429899
size 2274294

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:c326b9052c0148a9757a7cac582a259852ae6e69fbe67286f68f2e629b2cc822
size 772186
oid sha256:85885d85acd4c946a105a0c61b8b771987e979bd0b9e00ff65a8fd24083f8ebb
size 772047

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:bc2c2c38b6b2741b61aa91024c2b69a9114027ba18384c9490472df939df6759
size 2110326
oid sha256:7478305df4d95466e43bb6d98f79a09c0b1b8a0a7f698412847c7ba39ef654b3
size 2110397

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:3a108cc00cf4d9277ae905342cce813080060ca1cb8dd587558bc5af3dc032fe
size 1188180
oid sha256:d4b778b826f520a35f56b020145fc237b3fa73d1a231f9627bdc17f01fe454fa
size 1188599

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:8cc79b8fb1b6f5288b01d2e5e69904d8e635bd143b8b7eee4a0346a3b31bf1ee
size 4797941
oid sha256:cb621f9d81c3df4bf69c8310877517b0579ef6ee779a4d7e8ed911efdda8f5fa
size 4798680

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f6073138ac112aeaf41eba7964d265a2509b0ce94894ec9bf2e9fac16235ec08
size 739393
oid sha256:6ca015006aec89e867c99c472f9a5a30d249ee16272ecd4795d2eca9033c8e78
size 739493

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b52b746116ecb855eddd5330f4674f9f3032bb2049e420898d40c3462035294d
size 3440543
oid sha256:dd4ddf771c13d75a49f92d1fabcd0b0da0fa9d8a84155cc8b1029b92480cc3c2
size 3441601

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:22810dfd37e7d55a5dd490185529bfae34df872fdc7b54d904102f5fa61a37c0
size 782460
oid sha256:61697baa66b0805b5baffddafeea2d4cc81b6097af6c33a35c3c0d7317a3b4d6
size 782404

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a953a939807ac2da8ed1cb66331d29b60b99bc6d44cc6f3642e19be4fef0759e
size 4387066
oid sha256:8f047196a0aeb048c7577e1d6386e80edfdf40831d4dad52d04baab4595ddcc0
size 4390060

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:6676ca23c58f818d1809703a1ee5b6e12554a01548d01331e26d82e2a47e2925
size 753757
oid sha256:cce588cd6906af443a0c661cc60c6fcf3cd0e6a8bae077aa3e2445e824585b86
size 753823

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4bfd069b6c3ad33feed220a87e7c706fe730783ae9ada9efbd5129446230d48e
size 3527672
oid sha256:b57e6fb9324d2554e270b30c2f480f6b91f8364bf167ed7c7bbfc879890e3de3
size 3527224

14
package-lock.json generated
View File

@@ -12,7 +12,7 @@
"@primer/components": "^32.1.0",
"@primer/css": "^18.2.0",
"@primer/octicons": "^16.1.1",
"@primer/octicons-react": "^16.1.1",
"@primer/octicons-react": "^16.2.0",
"@react-aria/ssr": "^3.1.0",
"accept-language-parser": "^1.5.0",
"ajv": "^8.8.2",
@@ -3666,9 +3666,9 @@
}
},
"node_modules/@primer/octicons-react": {
"version": "16.1.1",
"resolved": "https://registry.npmjs.org/@primer/octicons-react/-/octicons-react-16.1.1.tgz",
"integrity": "sha512-xCxQ5z23ol7yDuJs85Lc4ARzyoay+b3zOhAKkEMU7chk0xi2hT2OnRP23QUudNNDPTGozX268RGYLexUa6P4xw==",
"version": "16.2.0",
"resolved": "https://registry.npmjs.org/@primer/octicons-react/-/octicons-react-16.2.0.tgz",
"integrity": "sha512-943t5kkVRt+/hxVnKS27xweUp4lXFxwJaTrsit1C1xBB4kqdjzmYGpU84zwKsNyyV2Ch7may3umKjbI/mFBPPQ==",
"engines": {
"node": ">=8"
},
@@ -25793,9 +25793,9 @@
}
},
"@primer/octicons-react": {
"version": "16.1.1",
"resolved": "https://registry.npmjs.org/@primer/octicons-react/-/octicons-react-16.1.1.tgz",
"integrity": "sha512-xCxQ5z23ol7yDuJs85Lc4ARzyoay+b3zOhAKkEMU7chk0xi2hT2OnRP23QUudNNDPTGozX268RGYLexUa6P4xw==",
"version": "16.2.0",
"resolved": "https://registry.npmjs.org/@primer/octicons-react/-/octicons-react-16.2.0.tgz",
"integrity": "sha512-943t5kkVRt+/hxVnKS27xweUp4lXFxwJaTrsit1C1xBB4kqdjzmYGpU84zwKsNyyV2Ch7may3umKjbI/mFBPPQ==",
"requires": {}
},
"@primer/primitives": {

View File

@@ -14,7 +14,7 @@
"@primer/components": "^32.1.0",
"@primer/css": "^18.2.0",
"@primer/octicons": "^16.1.1",
"@primer/octicons-react": "^16.1.1",
"@primer/octicons-react": "^16.2.0",
"@react-aria/ssr": "^3.1.0",
"accept-language-parser": "^1.5.0",
"ajv": "^8.8.2",

117
script/find-orphaned-assets.mjs Executable file
View File

@@ -0,0 +1,117 @@
#!/usr/bin/env node
// [start-readme]
//
// Print a list of all the asset files that can't be found mentioned
// in any of the source files (content & code).
//
// [end-readme]
import fs from 'fs'
import path from 'path'
import program from 'commander'
import walk from 'walk-sync'
program
.description('Print all images that are in ./assets/ but not found in any markdown')
.option('-e, --exit', 'Exit script by count of orphans (useful for CI)')
.option('-v, --verbose', 'Verbose outputs')
.option('--json', 'Output in JSON format')
.option('--exclude-translations', "Don't search in translations/")
.parse(process.argv)
main(program.opts(), program.args)
async function main(opts) {
const { json, verbose, exit, excludeTranslations } = opts
const walkOptions = {
directories: false,
includeBasePath: true,
}
const sourceFiles = []
const roots = [
'content',
'data',
'tests',
'components',
'script',
'stylesheets',
'contributing',
'pages',
]
if (!excludeTranslations) {
roots.push('translations')
}
for (const root of roots) {
sourceFiles.push(
...walk(
root,
Object.assign(
{
globs: ['!**/*.+(png|csv|graphql|json|svg)'],
},
walkOptions
)
)
)
}
// Add exceptions
sourceFiles.push('CONTRIBUTING.md')
sourceFiles.push('README.md')
verbose && console.log(`${sourceFiles.length.toLocaleString()} source files found in total.`)
const allImages = new Set(
walk(
'assets',
Object.assign(
{
globs: ['!**/*.+(md)'],
},
walkOptions
)
).filter((filePath) => !filePath.endsWith('.md'))
)
verbose && console.log(`${allImages.size.toLocaleString()} images found in total.`)
for (const markdownFile of sourceFiles) {
const content = fs.readFileSync(markdownFile, 'utf-8')
for (const imagePath of allImages) {
const needle = imagePath.split(path.sep).slice(-2).join('/')
if (content.includes(needle)) {
allImages.delete(imagePath)
}
}
}
if (verbose && allImages.size) {
console.log('The following files are not mentioned anywhere in any Markdown file')
}
if (json) {
console.log(JSON.stringify([...allImages], undefined, 2))
} else {
for (const imagePath of [...allImages].sort((a, b) => a.localeCompare(b))) {
console.log(imagePath)
}
}
if (verbose) {
console.log(`${allImages.size.toLocaleString()} orphans left.`)
const totalDiskSize = getTotalDiskSize(allImages)
console.log(`Total disk size of all of these: ${(totalDiskSize / 1024 / 1024).toFixed(1)}MB`)
}
if (exit) {
process.exit(allImages.size)
}
}
function getTotalDiskSize(filePaths) {
let sum = 0
for (const filePath of filePaths) {
sum += fs.statSync(filePath).size
}
return sum
}

View File

@@ -21,7 +21,7 @@ describe('redirect orphans', () => {
for (const page of pageList) {
for (const redirectFrom of page.redirect_from || []) {
if (redirectFrom.endsWith('/') && redirectFrom.startsWith('/')) {
console.warn(
throw new Error(
`In ${path.join(
'content',
page.relativePath