which server are you using @jon-lee I didn't log to the server for a long time
so you want to test whether the subdir of a subdir containing .gitignore follow the rule in the subdir?
create a new pr for it?
Now the hc parser is hardcoded to read stdout from file ./stdout and stderr from file ./stderr. But with this check, they can not be hardcoded, make them a config option.
what do you mean? not sure about it
what if you add test1/test2/test.c?
do we need to have a gitignore in each in each folder?
@manuel like this?
❯ ../JOJ3/build/healthcheck -root=.
Forbidden File Check Failed:
The following forbidden files were found: conf.json
, expected.json
, test/.DS_Store
, test1
,…
add a simple case here but I'm afraid that it is too simple. https://focs.ji.sjtu.edu.cn/git/JOJ/JOJ3-examples/src/branch/healthcheck/forbiddenfile
can anyone think about some more tricky cases.
seems easier than i think @bomingzh plz check it. i don't sure is this function correctly implemented in package.
may need some time for this feature. A little busy recently.
The .gitignore file may appear in sub-dirs, you also need to check them
Change to locallist and make it work as a gitignore file?
what if the gitignore is nonsense? Not every course provide unchangeable gitignore
Also, add an option to healthcheck parser for stdout and stderr as we need to put them to
/tmp/stdout
and/tmp/stderr
.
not sure what did you mean, can you explain more detailedly?
So what's the default pattern if no gitignore? Warn student add a gitignore or set root as default value?