conda-incubator / conda-recipe-manager

A project for libraries and automated tools that manage and manipulate conda recipe files.
BSD 3-Clause "New" or "Revised" License
7 stars 5 forks source link

Complete the previously started git/GitHub helper script #85

Open schuylermartin45 opened 2 months ago

schuylermartin45 commented 2 months ago

Introduced in the branches smartin_update_feedstock_script and smartin_update_feedstock_script_gitpython, this issue tracks the progress of finishing one version of the feedstock updater script.

Background

At some point in the future, we will need to start bulk-converting recipe files. To alleviate this problem, I introduced a new conda-recipe-manager command update_feedstock.py intended to streamline the conversion process for package builders. In essence the script tries to:

This script needs to handle the work streams for both conda-forge and AnacondaRecipe package builders. Eventually this script may be called by an automated bot that traverses all recipes owned by an organization. For now, we want a human-centric CLI for package builders to experiment with.

I personally found gitpython a little too clunky to work with and found the documentation frustrating. Hence why that work was put into a separate branch. I have been meaning to try pygit2 instead but haven't had the time to get back to this project.

schuylermartin45 commented 1 week ago

At this point, we should use GitPython. Mostly because we had to add it to the project recently. But also I'm not sure if we can use the other python-git-integration projects per their licenses.