phab-api/0d9231911a90master
phab-api/
0d9231911a90master
/
/
README.md
README.md
Utilities scripts for c4science
GetMyStuph
- Dependencies
pip install --user -r requirements.txt
- Generate a cli token here: https://c4science.ch/conduit/login/
- Create a .yml file with the repositories and group you want to import, Take a look in the example.yml file for help. The script needs an explicit list of your repositories to import. You can set global options in the all section and override it per repository.
- Run the script
./getmystuph_in_phab.py --config config.yml -v
- You should use the --dry-run option, which is showing what actions it will do without modifying anything on c4science
./getmystuph_in_phab.py --config config.yml -v --dry-run
Windows users
- Install Python 3 and Git Bash
- Follow the install above and run the script like this in CMD.exe
python getmystuph_in_phab.py --config config.yml
c4science · Help