Based on the following blog post, we are able to create custom git commands that the git tool itself can pick up and use. We want to implement this for subgit as well. This will help to bridge the useability as more people know about git and using things like git submodules that we basically want to extend. https://gitbetter.substack.com/p/automate-repetitive-tasks-with-custom
The task is to extend setup.py to include a new entrypoint script that will be named and to be compatible with this git-subcommand feature. Build a package of subgit and test this feature out so that we could possibly call something like git subgit pull for instance
One major issue with this ticket that needs a solution is the redundancy in our name when added to the end of git command. writing git 2 times to run out commands is verbose and redundant. We need to have suggestions or alterations to our name to make this simpler. For instance we could go with git sub or git module or git sg or something completley different. It is within the task to come up with some suggestion, present them to the team and to get an approval and a choice for this command name that we will move forward with.
Based on the following blog post, we are able to create custom git commands that the
git
tool itself can pick up and use. We want to implement this for subgit as well. This will help to bridge the useability as more people know about git and using things likegit submodules
that we basically want to extend. https://gitbetter.substack.com/p/automate-repetitive-tasks-with-customThe task is to extend
setup.py
to include a new entrypoint script that will be named and to be compatible with this git-subcommand feature. Build a package of subgit and test this feature out so that we could possibly call something likegit subgit pull
for instanceOne major issue with this ticket that needs a solution is the redundancy in our name when added to the end of
git
command. writing git 2 times to run out commands is verbose and redundant. We need to have suggestions or alterations to our name to make this simpler. For instance we could go withgit sub
orgit module
orgit sg
or something completley different. It is within the task to come up with some suggestion, present them to the team and to get an approval and a choice for this command name that we will move forward with.