A CLI tool that generates configuration files for JOJ3.
			
		
		| .gitea/workflows | ||
| joj3_config_generator | ||
| tests | ||
| .editorconfig | ||
| .gitignore | ||
| .pre-commit-config.yaml | ||
| LICENSE | ||
| pyproject.toml | ||
| README.md | ||
JOJ3-config-generator
Getting Started
For users
- Install Python>=3.9 and pip
- Install the project by pip install git+ssh://git@focs.ji.sjtu.edu.cn:2222/JOJ/JOJ3-config-generator.git
- Run it by joj3-config-generator --help
For developers
- Clone this repo by git clone ssh://git@focs.ji.sjtu.edu.cn:2222/JOJ/JOJ3-config-generator.git
- Install Python>=3.9 and PDM
- Change dir to the repo, cd JOJ3-config-generator
- Install deps by pdm install && pdm run pre-commit install
- Run the cli app by pdm run app --help
How to use?
- 
joj3-config-generator convertfunction is now supported, currently support three flags:- -d/--distribute: Add it without other input, it indicates script is ready to convert things other than testcases within the project
- -c/--conf-root: This is where you want to put all your 'task.toml' type folders, default choice for your input can be '/home/tt/.config/joj/'
- -r/--repo-root: This would be where you put your 'repo.toml' file as well as your 'immutable files', they should all be at same place, default choice for your input can be 'immutable_files', which is the folder at the position '/home/tt/.config/joj/'
 
- 
sample command on the server 
joj3-config-generator convert -d -c /home/tt/.config/joj/ -r immutable_files