Commit Graph

2988 Commits

Author SHA1 Message Date
Jeroen Engels
9ebf3bc409 Add test for the visiting order of extra files 2024-04-10 20:12:59 +02:00
Jeroen Engels
e2f4c68189 Inline toRuleProjectVisitor 2024-04-10 20:12:59 +02:00
Jeroen Engels
7b9dded0b0 Inline constant argument 2024-04-10 20:12:59 +02:00
Jeroen Engels
b838b6694b Pass raise 2024-04-10 20:12:59 +02:00
Jeroen Engels
c5d31915f0 Inline constant argument 2024-04-10 20:12:59 +02:00
Jeroen Engels
09165e0c4a Inline constant argument 2024-04-10 20:12:59 +02:00
Jeroen Engels
5f4617bc03 fixup! Visit extra files after readme 2024-04-10 20:12:59 +02:00
Jeroen Engels
ad02ded102 Visit extra files after readme 2024-04-10 20:12:59 +02:00
Jeroen Engels
cad7100ecc Style: Move code related to extra files after the ones for readme 2024-04-10 20:12:59 +02:00
Jeroen Engels
ea44cf22bb Name things extra files instead of arbitrary files 2024-04-10 20:12:59 +02:00
Jeroen Engels
e739f882e4 Add test to make sure files only have access to the files they requested 2024-04-10 20:12:59 +02:00
Jeroen Engels
9b96c975eb Add the visitor in each test 2024-04-10 20:12:59 +02:00
Jeroen Engels
a22fc9132e Add helper function for creating project in tests 2024-04-10 20:12:59 +02:00
Jeroen Engels
b3a94c7f33 Add TODO 2024-04-10 20:12:59 +02:00
Jeroen Engels
633eb06b97 Remove tuple for arbitrary files visitor 2024-04-10 20:12:59 +02:00
Jeroen Engels
9525bda2f5 Set arbitraryFileRequest in module rule schema 2024-04-10 20:12:59 +02:00
Jeroen Engels
5a30c8495d Remove excess filtering 2024-04-10 20:12:59 +02:00
Jeroen Engels
2af4f864cf Filter files in withArbitraryFilesProjectVisitor 2024-04-10 20:12:59 +02:00
Jeroen Engels
082c6cee77 Filter files in withArbitraryFilesModuleVisitor 2024-04-10 20:12:59 +02:00
Jeroen Engels
c7adcb6df2 Rename variables 2024-04-10 20:12:59 +02:00
Jeroen Engels
7bf927a5fe Add arbitraryFileRequest to ModuleRuleVisitor 2024-04-10 20:12:59 +02:00
Jeroen Engels
6a77dc3831 Extract function 2024-04-10 20:12:59 +02:00
Jeroen Engels
9ec3b770ae Add withArbitraryFilesProjectVisitor 2024-04-10 20:12:59 +02:00
Jeroen Engels
3f6646bb26 Fix applying fixes in the arbitrary files visitor 2024-04-10 20:12:59 +02:00
Jeroen Engels
265d45d1d4 Get the errors from the cache 2024-04-10 20:12:59 +02:00
Jeroen Engels
1e80c184a2 Fix the caching for the arbitrary files visitor
It was still using the cache of the readme visitor
2024-04-10 20:12:59 +02:00
Jeroen Engels
5df0dade89 Add ValidProject.arbitraryFilesHash 2024-04-10 20:12:59 +02:00
Jeroen Engels
f298bca75c Add Rule.ruleRequestedFiles 2024-04-10 20:12:59 +02:00
Jeroen Engels
3816ab1074 Filter out files that were not requested 2024-04-10 20:12:59 +02:00
Jeroen Engels
08647ec79d Remove unused import 2024-04-10 20:12:59 +02:00
Jeroen Engels
318c6107e6 Use exact matches for now in tests 2024-04-10 20:12:59 +02:00
Jeroen Engels
2239a05643 Add files to RequestedData 2024-04-10 20:12:59 +02:00
Jeroen Engels
0e63394168 Add arbitraryFileRequest to ProjectRuleSchema 2024-04-10 20:12:59 +02:00
Jeroen Engels
416f1ac43d Extract to function 2024-04-10 20:12:59 +02:00
Jeroen Engels
50f869a431 Add a requested files field 2024-04-10 20:12:59 +02:00
Jeroen Engels
004d6a2496 Add files to RequestedData 2024-04-10 20:12:59 +02:00
Jeroen Engels
1850b55de8 Add test for arbitrary files visitor 2024-04-10 20:12:59 +02:00
Jeroen Engels
9ed5016e17 Add withArbitraryFilesModuleVisitor 2024-04-10 20:12:59 +02:00
Jeroen Engels
cd37e8cf81 Create arbitraryFilesVisitor from module rule 2024-04-10 20:12:58 +02:00
Jeroen Engels
6ca90416f9 Add arbitraryFilesVisitor to ModuleRuleSchema 2024-04-10 20:12:58 +02:00
Jeroen Engels
65f74ef80d Add arbitrary files visitor 2024-04-10 20:12:58 +02:00
Jeroen Engels
9ef29a3008 Add arbitraryFilesVisitor to RuleProjectVisitorOperations 2024-04-10 20:12:58 +02:00
Jeroen Engels
02c1a73035 Add an ArbitraryFile step 2024-04-10 20:12:58 +02:00
Jeroen Engels
439352ae55 Add function to get the initial cache 2024-04-10 20:12:58 +02:00
Jeroen Engels
be80f2b48c Add arbitraryFilesVisitor to ProjectRuleSchema 2024-04-10 20:12:58 +02:00
Jeroen Engels
0401257502 Add arbitraryFiles in ProjectRuleCache 2024-04-10 20:12:58 +02:00
Jeroen Engels
47cfbd46fc Add ArbitraryFilesCache 2024-04-10 20:12:58 +02:00
Jeroen Engels
8f6f78e7f0 Add Review.Cache.ArbitraryFile 2024-04-10 20:12:58 +02:00
Jeroen Engels
a74a271f85 Add ContentHash.areEqualForList 2024-04-10 20:12:58 +02:00
Jeroen Engels
3821ee32f4 Add ValidProject.arbitraryFiles 2024-04-10 20:12:58 +02:00