This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# $ git clone inveniosoftware/automation_tools | |
# $ cd automation_tools | |
# $ ipython | |
from automation_tools.repositories import GithubUtils | |
GITHUB_INVENIOSOFTWARE_URL = "https://github.com/inveniosoftware/" | |
GA_INVENIOSOFTWARE_BADGE_URL = GITHUB_INVENIOSOFTWARE_URL + "{}/workflows/CI/badge.svg" | |
inveniosoftware_repos = GithubUtils.list_organization_repositories('inveniosoftware') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git clone https://github.com/inveniosoftware/invenio-$PACKAGE | |
cd invenio-$PACKAGE/ | |
git remote add invenio https://github.com/inveniosoftware/invenio | |
git fetch invenio | |
git checkout -b master invenio/master | |
git log --follow invenio/modules/$PACKAGE/models.py | |
git log --stat --follow invenio/modules/$PACKAGE/models.py | |
git checkout -b rename fe01274ee7afa8025ae5bfea88eb231dd299637a | |
git checkout -b pre-rename rename~ | |
git filter-branch -f --subdirectory-filter modules/$LEGACY/ |