33 lines
1.1 KiB
Markdown

# Gitea-Assigment-Migrator
Migrate assignments for Gitea-Issues after a Gitea2Gitea-Migration.
## Purpose
- Migrate assignments for Gitea-Issues after a Gitea2Gitea-Migration
- issues must have the same ID on both systems
- users must have the same NAME on both systems
- users must have the right to be assigned on both systems
- example
- OLD: https://oldgitea.example.com/my_organisation/my_repository
- NEW: https://newgitea.example.com/my_organisation/my_repository
- Typical Workflow
1. migrate your repository from your OLD Gitea instance to your NEW one
2. use this script to migrate the assignments
## Design Decisions
- the title is not fetched due to complications with tea and "quotes"
- the script places a comment and mentiones the creator of the issue to inform that person of the new location of the issue
## For mor information
…[read the script](migrate_assignments.sh) or read the help-page.
```sh
chmod +x migrate_assignments.sh
./migrate_assignments.sh --help
```
## License
This script is free software under the `GPL-3.0-or-later`, see [LICENSE](LICENSE).