Basically a try to automate typical and annoying processes while working with code in git environment. Can be run after OS starts working for instance. Does not create PRs but commits and pushes local changes to origin repos.
Contains couple libraries including:
- jackson-dataformat-yaml reads yml files and transforms data into appropriate model java class
- ScheduledExecutorService java api that helps in running of separate tasks
Additionally, the project uses ProcessBuilder java api approach to assemble git based commands and run them
through installed git application.
Has flexible options to be run:
- yml config file - file can be left in same folder where app's jar is located. Example can be taken from resources folder
- with project path input parameter
Typical run command: java -jar "jgac.yml" ~/projects
Logs can be found in same folder where running jar is located. Configuration of logs is done through log4j.properties file stored in resources.
Implement PR creation logic.
Git token generation: https://docs.github.com/en/github/authenticating-to-github/keeping-your-account-and-data-secure/creating-a-personal-access-token
jackson-dataformat-yaml off.: https://github.com/FasterXML/jackson-dataformat-yaml