Content
View differences
Updated by Oliver Günther 11 months ago
**As a** self-hosting GitLab administrator,
**I want to** be able ### Steps to update all stored GitLab integration links when changing reproduce
change the domain of your gitlab instance domain,
**so that** links to issues, merge requests, and other entities remain functional and ### What is the system retains its value after a domain migration. buggy behavior?
### **Acceptance criteria** <br>
* A tool, script, or documented process exists I had to update change the domain of my self-hosted gitlab instance. Then I realized that literally all stored the links containing created in/by the GitLab domain across all relevant gitlab integration are "hardcoded" in the database tables.
* The solution must handle all integration-created links (e.g., issues, MRs, pipelines, webhooks, etc.).
* The solution must be safe I do not want to run on production data talk about what I think of this, being a software developer myself for a very long time, because that will lead us nowhere.
### What is the expected behavior?
Rather than discussing that this is an improper implementation, as this is not something completely unusual and provide unthinkable (while also not a way daily task ofc it is quite the contrary actually and just happens that you migrate to preview changes before applying.
* The solution should not require modifying application code another system or re-installing integrations.
###
### **Technical notes**
* Links are currently hardcoded with host) I would be more than happy and thankful if you could provide me all the tables involved so I can write myself some proper SQL statements for postgres that update all the old stored domain in names to the database.
* The feature could be a rake task, SQL migration script, or admin UI option.
* GitLab integrations new one, as currently 100s of links to issues and projects may have references stored in various tables. Documentation should include which tables MRs are affected.
###
### **Permissions completely useless and visibility considerations** lead to nowhere. The whole system lost its value for all the projects handled.
**To whom is this feature visible?** ### Environment information
**OpenProject installation type**
* OpenProject administrators
<br>
### **Out of scope**
Packaged installation
* Automatic detection CentOS/RedHat/Alma 9 packages (currently version 14 of domain changes.
* Backward compatibility for both old and new domains (redirects or proxying).
<br> OP still)
**OpenProject version**
<br> _14.6.3-1730194473.d9ae0312.centos9_
<br> **Browser**
N/A
**Operating System**
N?A
**Language**
N/A
**I want to** be able
change
**so that** links to issues, merge requests, and other entities remain functional and
### **Acceptance criteria**
* A tool, script, or documented process exists
* The solution must handle all integration-created links (e.g., issues, MRs, pipelines, webhooks, etc.).
* The solution must be safe
### What is the expected behavior?
Rather than discussing that this is an improper implementation, as this is not something completely unusual
* The solution should not require modifying application code
###
### **Technical notes**
* Links are currently hardcoded with
* The feature could be a rake task, SQL migration script, or admin UI option.
* GitLab integrations
###
### **Permissions
**To whom is this feature visible?**
<br>
### **Out of scope**
* Backward compatibility for both old and new domains (redirects or proxying).
<br>
**OpenProject version**
<br>
<br>
N/A
**Operating System**
N?A
**Language**
N/A