项目作者: mdietrichstein

项目描述 :
CKAN to DSpace Migration Tool
高级语言: Python
项目地址: git://github.com/mdietrichstein/digitalpreservation-repo-migration.git
创建时间: 2018-06-03T09:08:42Z
项目社区:https://github.com/mdietrichstein/digitalpreservation-repo-migration

开源协议:MIT License

下载


CKAN to DSpace Migration Tool

Prerequisites

  • Python >= 3.5
  • python-requests

Run pip -r requirements.txt to install the required dependencies

Configuration

The configuration tool requires the following parameters to be set in config.ini:

  1. [ckan]
  2. RootUrl: Root url of CKAN installation
  3. RestUrl: CKAN rest url path
  4. [dspace]
  5. RootUrl: Root url of DSpace installation
  6. RestUrl: DSpace rest url path
  7. CommunityId: Id of DSpace community to import the data into (optional)
  8. UserEmail: DSpace user's email
  9. UserPassword: DSpace user's password

If no CommunityId is specified the tool queries the list of existing communities and imports the data into the first community in the list.

Running

Run python migrate.py --help for instructions.

Available Commands

list-ckan

Lists the public contents of the configured ckan repository.

list-dspace

Lists the public contents of the configured dspace repository.

migrate-ckan-to-dspace

Migrate the configured ckan repository to dspace. This command assumes that the dspace repository contains at least one community.