Skip to content

Migrating from the previous GitLab Template

The copier tool relies on the presence of the .copier-answers.yml file, in order to make a repository updateable.

Should you have created your Repository without or before this template and you want to migrate to the current Template, then add the following file to your Repository.

Warning

This might not work, as it has not yet been tested. You might want to checkout the copier documentation.

Important

Make sure you correctly fill out the Template, in order to encounter the least resistance when migrating.

.copier-answers.yml
# Changes here will be overwritten by Copier; NEVER EDIT MANUALLY
_commit: 0.2.1
_src_path: git+https://gitlab.tuwien.ac.at/cookbooks/templates/tu-cookbook-python
author_fullname: YOUR_FULL_NAME
legal_entity: TU Wien
license: MIT
project_description: MAYBE_SOME_DESCRIPTION
project_name: YOUR_PROJECT_NAME
repo_name: YOUR_REPOSITORY_NAME

After that you will need to git commit the Answers File and afterwards run

// Update the template
$ copier update