reproman icon indicating copy to clipboard operation
reproman copied to clipboard

internal git files got placed into generic files: section by --trace

Open yarikoptic opened this issue 5 years ago • 1 comments

full log: http://www.onerussian.com/tmp/20190425143333-d4.reproman.yml

and the command was

reproman execute -r localshell --trace -- python -m nose -s -v reproman/tests/test_api.py

yarikoptic avatar Apr 25 '19 18:04 yarikoptic

Yeah, I see that too with python -m pytest -s -v reproman/tests/test_api.py

That call seems to read quite a few files under .git/, mostly refs.

$ reprozip trace python -m pytest -s -v reproman/tests/test_api.py
$ grep '\.git' .reprozip-trace/config.yml | wc -l
93
$ grep '\.git/refs' .reprozip-trace/config.yml | wc -l 
83

Do you think the VCS tracer should detect those files and filter them out? I'm not sure it's useful to assign those as files for that git repository.

kyleam avatar Apr 25 '19 19:04 kyleam