GSoC-19: Install datasets using the latest version of scripts

Google Summer of Code 2019 - Weecology

Posted by Harshit Bansal on July 23, 2019 · 236 1 min read

Hello,

The second phase of the GSoC period is almost over and with that, majority of the project too.

For the last two weeks, I worked on the task of always attempting to use the latest version of scripts when installing or using a dataset. This was build on the previous task of downloading the scripts only when specifically needed. I stuck with the proposal for this task and added a utility function, namely get_script_version_upstream to fetch the version of a script from the upstream repositories. Also, the functions, name_matches and get_script were modified to prompt the user if a newer version of a script was available.

I have opened a pull request for this task, which is currently in review and testing phase. It is only being delayed due to a minor problem caused by cyclic dependencies. However, the solution has been identified and it is expected to be merged soon.

On the retriever-recipes repository, I had worked on two tasks. One was writing the installation path of the project to ~/.retriever/retriever_recipes_path.txt to facilitate retriever in searching for scripts. Other than this, I also wrote a README for the repository. It talks about the edit/create/delete functionalities, offline and online scripts, and has a guide for contributing to start. I opened two PR's for these tasks and both of them got merged.

This pretty much sums up the second phase of the GSoC period. Thanks.