...
Code Block | ||
---|---|---|
| ||
mkdir spin_exercise cd spin_exercise virtualenv -p python2.7 $PWD source bin/activate pip install PyGithub git clone https://bitbucket.org/einsteintoolkit/www.git website git clone https://github.com/behrischstr4d/migrate-trac-issues-to-github.git |
...
- First create a new github repository
et_spin2018
in your account, - clone it to your laptop and
- copy and commit the files required to render the Einstein Toolkit front page http://www.einsteintoolkit.org into a branch gh-pages.
Push your gh-pages branch to github using
Code Block language cpp git push --set-upstream origin gh-pages
modify the foo loop in
migrate-trac-issues-to-github/migrate.py
in line 276 175 by adding a break so that only one ticket is processed (instead of all of them)run the migration script with your new repository as the target
Code Block language cpp migrate-trac-issues-to-github/migrate.py --trac-url=https://trac.einsteintoolkit.org --github-api-url=https://github.com/api/v3 --github-project=YOURGITHUBUSERNAME/et_spin2018
...