Moving to a new URL

Thursday, October 22, 2020

The Human World project moved to the new URL https://lsaffre.gitlab.io/hw/ and I might remove from the old address https://hw.saffre-rumma.net after some time.

This is a technical note.

It started because Matthias Geier released a new version of his insipid-sphinx-theme package. I tried it out. Works fine. Beautiful layout. No more need need for manual css tweaking. I just had to specify a few configuration options in my conf.py file.

While I was there and since I have now some more experience, I also made the pages script of the .gitlab-ci.yml file pass on GitLab.

Then I discovered that the pages link https://luc.saffre.gitlab.io/hw/ caused the https certificate to not work because the dot in my username (“luc.saffre”) made it think that we are on yet another subdomain.

So I changed my GitLab username from “luc.saffre” to “lsaffre” (the same as on GitHub).

I had to change the origin of my working copy:

$ git remote -v
origin        git@gitlab.com:luc.saffre/hw.git (fetch)
origin        git@gitlab.com:luc.saffre/hw.git (push)
$ git remote set-url origin git@gitlab.com:lsaffre/hw.git
$ git remote set-url --push origin git@gitlab.com:lsaffre/hw.git
$ git remote -v
origin        git@gitlab.com:lsaffre/hw.git (fetch)
origin        git@gitlab.com:lsaffre/hw.git (push)

I also adapted the “Share on FB/Twitter” and the “Show source code” links so that thy point to the new URL.