Compare commits
	
		
			50 Commits
		
	
	
		
			master
			...
			healthchec
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| 0e1860f9d0 | |||
| 5d7bad7f0d | |||
| 9067df7866 | |||
| 99cbfb225e | |||
| 0144393f34 | |||
| 38978db6fa | |||
| 1ee28e6798 | |||
| 263730fd21 | |||
| 32c68d77ba | |||
|   | 180b781ce1 | ||
|   | 12f5f407ee | ||
|   | ae655dbaee | ||
|   | 08faa11d6d | ||
|   | 6c975e4609 | ||
|   | 1fd2c43204 | ||
| 3cb05376e3 | |||
| 26263ad7d5 | |||
| 29767bde2d | |||
| da38c70c7f | |||
|   | a384a00736 | ||
| b93a0254c2 | |||
| 02de953cbc | |||
| 9cad8e4ccf | |||
| a67a45ce86 | |||
| 62c43fe516 | |||
|   | 656999a909 | ||
|   | f1a1547509 | ||
|   | f1c9d84744 | ||
|   | 245d036af0 | ||
|   | 656993c936 | ||
|   | dd77b97838 | ||
|   | fd845600a8 | ||
|   | 692477badf | ||
|   | 145db10ac5 | ||
|   | 7c4ed4fb4c | ||
|   | 1d2914728c | ||
|   | f7950787d8 | ||
|   | 10e486ece8 | ||
|   | de0fe72bab | ||
|   | 7cb3c61970 | ||
|   | 8b004c661a | ||
|   | af3f0e323c | ||
|   | 00ff2a1d35 | ||
|   | 60bd4d80b0 | ||
|   | edff3780a8 | ||
|   | ef271dc6f3 | ||
|   | 076445b7c3 | ||
|   | ae7d070c45 | ||
|   | c86a94c178 | ||
|   | c08d20ccd6 | 
							
								
								
									
										8
									
								
								.gitignore
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										8
									
								
								.gitignore
									
									
									
									
										vendored
									
									
										Normal file
									
								
							|  | @ -0,0 +1,8 @@ | ||||||
|  | **/* | ||||||
|  | test1/ | ||||||
|  | !/test/ | ||||||
|  | !stderr | ||||||
|  | !stdout | ||||||
|  | !*.md | ||||||
|  | !healthcheck | ||||||
|  | !.git* | ||||||
							
								
								
									
										55
									
								
								conf.json
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										55
									
								
								conf.json
									
									
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,55 @@ | ||||||
|  | { | ||||||
|  |   "stages": [ | ||||||
|  |     { | ||||||
|  |       "name": "healthcheck", | ||||||
|  |       "executor": { | ||||||
|  |         "name": "sandbox", | ||||||
|  |         "with": { | ||||||
|  |           "default": { | ||||||
|  |             "args": [ | ||||||
|  |               "/tmp/repo-health-checker", | ||||||
|  |               "-root=.", | ||||||
|  |               "-meta=readme" | ||||||
|  |             ], | ||||||
|  |             "env": [ | ||||||
|  |               "PATH=/usr/bin:/bin" | ||||||
|  |             ], | ||||||
|  |             "cpuLimit": 10000000000, | ||||||
|  |             "memoryLimit": 104857600, | ||||||
|  |             "procLimit": 50, | ||||||
|  |             "copyInDir": ".", | ||||||
|  |             "copyIn": { | ||||||
|  |               "/tmp/repo-health-checker": { | ||||||
|  |                 "src": "./../../../../../../build/repo-health-checker" | ||||||
|  |               } | ||||||
|  |             }, | ||||||
|  |             "copyOut": [ | ||||||
|  |               "stdout", | ||||||
|  |               "stderr" | ||||||
|  |             ], | ||||||
|  |             "stdin": { | ||||||
|  |               "content": "" | ||||||
|  |             }, | ||||||
|  |             "stdout": { | ||||||
|  |               "name": "stdout", | ||||||
|  |               "max": 4096 | ||||||
|  |             }, | ||||||
|  |             "stderr": { | ||||||
|  |               "name": "stderr", | ||||||
|  |               "max": 4096 | ||||||
|  |             } | ||||||
|  |           } | ||||||
|  |         } | ||||||
|  |       }, | ||||||
|  |       "parsers": [ | ||||||
|  |         { | ||||||
|  |           "name": "healthcheck", | ||||||
|  |           "with": { | ||||||
|  |             "score": 10, | ||||||
|  |             "comment": " + comment from toml conf" | ||||||
|  |           } | ||||||
|  |         } | ||||||
|  |       ] | ||||||
|  |     } | ||||||
|  |   ] | ||||||
|  | } | ||||||
							
								
								
									
										1
									
								
								expected.json
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								expected.json
									
									
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1 @@ | ||||||
|  | [{"name":"healthcheck","results":[{"score":0,"comment":"### Repo Size Check Passed\n### Repo LFS Check Passed\n### Forbidden File Check Failed:\nThe following forbidden files were found: `conf.json`, `expected.json`, `test/.DS_Store`, `test1`, `test1/test.md`\n\nTo fix it, first make a backup of your repository and then run the following commands:\n```bash\nexport GIT_BRANCH=$(git branch --show-current)\nexport GIT_REMOTE_URL=$(git config --get remote.origin.url)\nfor i in conf.json expected.json test/.DS_Store test1 test1/test.md; do git filter-repo --force --invert-paths --path \"$i\"; done\ngit remote add origin $GIT_REMOTE_URL\ngit push --set-upstream origin $GIT_BRANCH --force\n```\n\n### Meta File Check Passed\n### Non-ASCII Characters File Check Passed\n### Non-ASCII Characters Commit Message Check Passed\n### Repo File Check Passed\n### Author Email Check Passed\n"}],"force_quit":true}] | ||||||
							
								
								
									
										0
									
								
								test/.DS_Store
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										0
									
								
								test/.DS_Store
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
								
								
									
										1
									
								
								test/.gitignore
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								test/.gitignore
									
									
									
									
										vendored
									
									
										Normal file
									
								
							|  | @ -0,0 +1 @@ | ||||||
|  | !*.json | ||||||
							
								
								
									
										0
									
								
								test/demo.json
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										0
									
								
								test/demo.json
									
									
									
									
									
										Normal file
									
								
							
							
								
								
									
										0
									
								
								test1/test.md
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										0
									
								
								test1/test.md
									
									
									
									
									
										Normal file
									
								
							
		Loading…
	
		Reference in New Issue
	
	Block a user