retriever
retriever copied to clipboard
Provenance does not seem to work well
Run Provenance out of retriever directory to replicate the error.
retriever commit abalone-age -m "Example commit" --path .
Possible error:
We did not normalize the paths or we did not provide the default path to the provenance directory ~/.retriever_provenance/'
https://github.com/weecology/retriever/blob/main/retriever/lib/scripts.py#L125
get_script_provenance(path_to_archive): should look at the default directory to obtain the scripts.
https://github.com/weecology/retriever/blob/e1ae6684447e562ae94e999fb8bc4df3fe0a8c11/retriever/lib/provenance_tools.py#L24
I would like to work on this issue. Can you explain with another example?
I will update you on this after testing again, It seems to have been fixed but I have to confirm
Sure
Testing outside of the repository director works fine for me.