guix: docker: Ensure repository name length limits are met.
authorMaxim Cournoyer <maxim.cournoyer@gmail.com>
Sun, 4 Jul 2021 03:08:15 +0000 (23:08 -0400)
committerMaxim Cournoyer <maxim.cournoyer@gmail.com>
Mon, 5 Jul 2021 20:34:07 +0000 (16:34 -0400)
commit38bcef1c3b4f67abb314368d2248e08026219de3
treea42abddbf94b6c6ab649eabfa07dbe516c9fcd0b
parent4fa62cf70214b4bd10e3682b8c91f62aa9ceb387
guix: docker: Ensure repository name length limits are met.

* guix/docker.scm (canonicalize-repository-name): Fix typo in doc.  Capture
repository name length limits and ensure they are met, by either truncating or
padding the normalized name.

Reported-by: Ludovic Courtès <ludo@gnu.org>
guix/docker.scm