Tools will be in CLI and only available to site admin (connected as codendiadm).
Export
Export of a TV3 will, in addition to the tv5 structure + data (already done):
- user_group list
- members of those groups
The final structure should be compatible with a "project XML" but only limited to one tracker.
Import
The transfert is done by admin (scp, ftp, whatever)
Import is done in CLI through a "project import". In addition to the the current behaviour (import of tracker structure + agile dashboard), it will add:
- import with the tracker v5 data import when present (already exists but in a dedicated script)
- import of user group definition (should be idempotent: if the user group already exist, should be skipped)
- import of user in user group
Behaviour of user import:
- if a user_group exist with the same name, we assume it already exists (ie. no check of user list)
- if a user_group doesn't exist, it is created and feeded with the list of users from XML
- users are created with best effort
- assuming same LDAPs are used for same platform, we use ldap identifiers for export and import (ie. we assume that platformA.user_jojo == platformB.user_jojo)
- if user doesn't exist yet on target platform but does exist in ldap, the account is automatically provisionned
- if no user match, the user is skipped and a warning is reported to site admin (this doesn't block the processing).