https://github.com/brookinsconsulting/ezpublishlegacyprojects-gitub-sync
Simple python script to migrate projects.ez.no subversion repositories and downloads to a single github.com account
https://github.com/brookinsconsulting/ezpublishlegacyprojects-gitub-sync
downloads ezpublishlegacy import mirror projects-dot-ez-dot-no python subversion sync
Last synced: 7 months ago
JSON representation
Simple python script to migrate projects.ez.no subversion repositories and downloads to a single github.com account
- Host: GitHub
- URL: https://github.com/brookinsconsulting/ezpublishlegacyprojects-gitub-sync
- Owner: brookinsconsulting
- License: gpl-2.0
- Created: 2017-03-22T05:24:00.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-03-22T05:28:01.000Z (over 8 years ago)
- Last Synced: 2025-01-26T11:28:00.544Z (8 months ago)
- Topics: downloads, ezpublishlegacy, import, mirror, projects-dot-ez-dot-no, python, subversion, sync
- Language: Python
- Size: 14.6 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ezpublishlegacyprojects-github-sync
A simple custom and private solution building and importing project.ez.no subversion repositories and downloads into github repositories.
Note: This solution is alpha quality at best.
# Usage
## Direct python execution, Required Parameters Only (Within interactive shell only)
~/bin/ezpublishlegacyprojects-github-sync/bin/import_project_resources.py --token= --delete_empty_repos=True --github_hostname='github-as-ezpublishlegacyprojects' --account='ezpublishlegacyprojects' --base_path='/home/brookins/ezecosystem/projects.mirror.ezecosystem.org/';
## Direct execution, Remove all empty projects
~/bin/ezpublishlegacyprojects-gitub-sync/bin/import_project_resources.py --token= --delete_empty_repos=True --github_hostname='github-as-ezpublishlegacyprojects' --account='ezpublishlegacyprojects' --base_path='/home/brookins/ezecosystem/projects.mirror.ezecosystem.org/' --subversion_only=False --subversion_import=False --download_only=False --download_import=False --verbose=True
# Required projects.ez.no httrack mirror
- Requires complete static html httrack mirror of all projects.ez.no resources
# Required specific directory strucuture
- /tmp/projects.ez.no/doc
- /tmp/projects.ez.no/mirror
- /tmp/projects.ez.no/mirror/subversion
- /tmp/projects.ez.no/mirror/downloads
- /tmp/projects.ez.no/mirror/repositories# Required software
- GNU/Linux
- bash, 4.1.2(1)-release
- python, 2.6.6 (or version =< 2.6.9)
- pip, ?rev
- github pip module, ?rev
- gitpython pip module, ?rev
- unittest2 pip module, ?rev
- argparse pip module, ?rev
- git, 2.1.2
- find, ?rev
- rsync, ?rev
- coreutils, ?rev
-## Github Access Requires
- eZPublishLegacy github.com user access
- eZPublishlegacyProjectsRobot Application Personal Access Token
- eZPublishlegacyProjectsRobot Application Client ID and Secret