retriever icon indicating copy to clipboard operation
retriever copied to clipboard

Provenance does not seem to work well

Open henrykironde opened this issue 4 years ago • 4 comments

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

henrykironde avatar Mar 03 '21 08:03 henrykironde

I would like to work on this issue. Can you explain with another example?

Aakash3101 avatar Mar 24 '21 09:03 Aakash3101

I will update you on this after testing again, It seems to have been fixed but I have to confirm

henrykironde avatar Mar 24 '21 09:03 henrykironde

Sure

Aakash3101 avatar Mar 24 '21 10:03 Aakash3101

Testing outside of the repository director works fine for me.

ethanwhite avatar Apr 11 '21 18:04 ethanwhite