Is your feature request related to a problem? Please describe.
GitProxy v2.0.0 has breaking schema changes from v1.19.2 that require data migration, but no built-in migration script exists. Critical changes include:
- Repository URLs must change from https://github.com/org/repo → https://github.com/org/repo.git
- User permissions (canPush, canAuthorise) now require email addresses instead of usernames
- New fields (gitHost, owner, displayName) need to be added to existing documents
Describe the solution you'd like
To add a dedicated MongoDB migration script that:
1. Takes a database backup first;
2. Converts repository URLs to new format;
3. Adds missing fields with default values;
4. (Optional) Provides a CSV import option for username→email mapping
Describe alternatives you've considered
Manual database updates are error-prone and not recommended for production. Without a migration script, users will face data inconsistency issues when upgrading.
Additional context
no additional context
Is your feature request related to a problem? Please describe.
GitProxy v2.0.0 has breaking schema changes from v1.19.2 that require data migration, but no built-in migration script exists. Critical changes include:
- Repository URLs must change from https://github.com/org/repo → https://github.com/org/repo.git
- User permissions (canPush, canAuthorise) now require email addresses instead of usernames
- New fields (gitHost, owner, displayName) need to be added to existing documents
Describe the solution you'd like
To add a dedicated MongoDB migration script that:
1. Takes a database backup first;
2. Converts repository URLs to new format;
3. Adds missing fields with default values;
4. (Optional) Provides a CSV import option for username→email mapping
Describe alternatives you've considered
Manual database updates are error-prone and not recommended for production. Without a migration script, users will face data inconsistency issues when upgrading.
Additional context
no additional context