global: user_db_cache: "cache.yaml" # file to save ldap queries to all: [svn, git] # Only migrate one type of repo use_keyring: true # Save your password for each repo access in: # Source of the repositories backend: epfl # only epfl backend implemented username: out: backend: c4science username: token: cli-n5dutb2wv26ivcpo66yvb3sbk64g # API token obtained in the settings groups: __all__: import-scheme: # Global project options type: sub-project # project | sub-project | ignore # if sub-project, specify a project to import the group # to. If set to project, will create one project per group. # ignore will skip the group creation project: test_import # only for sub-project type, which project to attach the sub-project to name: test_{original_name} # if you want to prefix or suffix your Project user-import-scheme: additive # additive (default) or synchronize # Sync will delete user on c4science if they # don't exist in the group scitas-ge-unit: # Specific options for the scitas-ge-unit ldap group import-scheme: type: project name: scitas-ge hpc-lsms: # this will created the project if no repo is given, otherwhise # will inherit from __all__ import-scheme lsms-unit: # Example of a EPFL unit to import as lsms Project import-scheme: name: lsms repositories: __all__: # __all__ is the default for other repo, you can override this in each repo type: git # svn | git (default git) import-scheme: type: same # git | svn # the type to migrate to # (only git->git, svn->svn and svn->git are supported) name: gms_{original_name} # default: '{original_name}' permissions: scheme: import # import | project | user | static # Import # Import the groups and users structure from the source # # Project # Set the repo policy to a specific Project name # # User # Set the repo policy to the repository author (you) # # Project: name -> tag to add # view: | _author_ | _public_ | _users_ # push: | _author_ | _public_ | _users_ # edit: | _author_ | _public_ | _users_ iohelper: # The repository name import-scheme: permissions: # Custom permissions view: _public_ # Public repository on c4science push: _users_ # Only c4science users can push edit: lsms # User from the lsms Project can edit # Some more examples toto: # Repository wihtout options, include a blank line after akantu: # Only import master and no tags import-scheme: branches: [master] tags: [] test: # Import an svn repository type: svn import-scheme: permissions: scheme: project project: scitas-ge view: _public_ test: # Transform an svn repo to git type: svn import-scheme: name: test-git type: git