View Code? Open in Web Editor
NEW
Automate creation of a local repo on your PC and a remote repo on Github in one click.
Home Page: https://inspirezone.tech/automate-git-local-and-remote-repo-setup-python/
License: MIT License
automategitreposetup's People
Contributors
Watchers
automategitreposetup's Issues
Current Behaviour
.gitignore
does not exist
Changes Requested
Add .gitignore
file to root of repo to ignore any generated files from running automate_git.py
and test_automate_git.py
.
To prevent someone committing unnecessary files to the repo.
Current Behaviour
The config variables are defined at the top of the python file and all functions can make use of them.
Changes Requested
Edit code so only the relevant configs are passed into each function as an argument.
Current Behaviour
No template for "Current Behaviour" "Changes Requested"
Changes Requested
Add template to repo.
Current Behaviour
Execution of the python program in the github workflow will fail.
Changes Requested
Include tests in the python program.
Setup workflow to execute these tests.
Current Behaviour
Docs need updating.
Changes Requested
Update Docs.
File was renamed. Docs should now reference automate_git.py
Current Behaviour
Some workflows only execute on the main branch. This means using any other branch name e.g. a branch on a fork, will not run the workflow.
Changes Requested
Edit workflow that executes only on main branch to execute on any branch.
Current Behaviour
The config file is not passed into any program function. The file path is simply hardcoded.
Changes Requested
Pass the config file into the program via a parameter e.g. start_program_flow(config_file)
. This will allow flexibility in which config file is used when running the program.
Current Behaviour
No instructions for how to run the pytest program
Changes Requested
Add instructions to readme including:
Add requirements.txt with requirements to install - pytest
gitpython
how to run test using pytest
Current Behaviour
The current Test workflow doesn't match format of other workflows.
Changes Requested
Rename the Test workflow file name and format to match existing workflows.
Current Behaviour
Only one repo will be created.
Changes Requested
Support creation of more than one repo at once - set option in config.ini file
Current Behaviour
No exception handling. Any failed step will result in an unexpected behaviour.
Changes Requested
Add exception handling to print error messages if exceptions occur in various stages of the program.
Current Behaviour
Only works on Linux systems.
Changes Requested
Port so it successfully works on a Windows machine.
Upload original tutorial code to repo
Current Behaviour
Links in doc need updating
Changes Requested
Update links