phab-api/cf6f309afe3cstatic-import
phab-api/
cf6f309afe3cstatic-import
static-import vs master
static-import vs master
Commit | Author | Details | Committed | ||||
---|---|---|---|---|---|---|---|
31bef4624bb9 | aubort | Always add the user to edit and view permissions. Also add him if no permission… | Jun 1 2017 | ||||
1d2677c22514 | aubort | Do not add tags to permissions | Jun 1 2017 | ||||
4ea055923266 | aubort | Check if group resolution worked | Jun 1 2017 | ||||
253e117cc0f8 | aubort | Check if default importer is set (when trying to import users) | Jun 1 2017 |
/
/
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
- Usage
./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