This projects aims to automate the process of creating a repository for a candidate to participate in a test.
The logic is simple:
- Configure your credentials in the
settings.toml
file. - Give the candidate's github username as an argument.
python -m repo_generator.cli <candidate_github_username>
- The program will download the repository provided as a url in the settings.
- It will restart the git history deleting all the commits and creating a new one.
- It will create a new repository in your github account with the name of the candidate and the name of the repository provided in the settings.
- It will add the candidate and the reviewers as a collaborators to the repository.
- Install python and PIP
- Intall poetry
pip install poetry
- Install the dependencies
poetry install
Run this command to sent an invitation to the candidate to participate in the test:
python -m repo_generator.cli <candidate_github_username>
The file settings.toml
contains the configuration for the program.
[github]
username = "your_github_username"
access_token = "your_github_access_token"
[challenge]
name = "Aider-macheight" #Name of the challenge
repository_url = "https://github.com/jahelsantiago/aider.git" #Link to the original repo for the challenge
reviewers = [] #The ones that will review the submissions, provide their github usernames