tahoe-lafs / trac2gitea

Utility for migrating Trac projects into Gitea.
GNU General Public License v3.0
0 stars 0 forks source link

Links to to local objects should not contains the hard-coded ROOT_URL #17

Closed btlogy closed 3 weeks ago

btlogy commented 3 weeks ago

Having those absolute links hard-coded in the database may prevent them to be correctly resolved later. Based on the available documentation:

ROOT_URL: %(PROTOCOL)s://%(DOMAIN)s:%(HTTP_PORT)s/: Overwrite the automatically generated public URL. This is useful if the internal and the external URL don't match (e.g. in Docker).

Which seems to be something that can change over time and should not end up in the DB!