Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagecpp
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

...

  1. First create a new github repository et_spin2018 in your account,
  2. clone it to your laptop and
  3. copy and commit the files required to render the Einstein Toolkit front page http://www.einsteintoolkit.org into a branch gh-pages.
  4. Push your gh-pages branch to github using

    Code Block
    languagecpp
    git push --set-upstream origin gh-pages
  5. 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)

  6. run the migration script with your new repository as the target

    Code Block
    languagecpp
    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

...