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 force-members: username # List or single username from the source backend that force-members: # Will be added to the group instead of the source - username1 # members - username2 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 | skip # the type to migrate to. # (only git->git, svn->svn and svn->git are supported) # Skip will ignore the repository (if for instance it already has # been imported. name: "gms_{original_name}" # default: '{original_name}' tags: project_name # String or List of project to tag the repository with # When using project in the same subproject hierarchy, # only the child will be kept permission_only: false # default: false # if this is set to true it will ONLY create the repository and set the permissions in accordance to the permissions scheme selected ignore_if_present: false # default: false # if set to true it will skip the import if the repository is already present in the destination permissions: scheme: import # import | project | user | static # # import # Import the groups and users structure from the source # scheme: import # # project # Set the repo policy to a specific Project name # scheme: project # project: # # user # Set the repo policy to the repository author (you) # scheme: user # # static # Custom permissions # scheme: static # view: | _author_ | _public_ | _users_ # push: | _author_ | _public_ | _users_ # edit: | _author_ | _public_ | _users_ iohelper: # The repository name import-scheme: permissions: # Custom permissions scheme: static 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