From a25d9395ad126637756fda1460de1f123262b590 Mon Sep 17 00:00:00 2001 From: Benjamin Franzke Date: Thu, 19 May 2022 14:18:34 +0200 Subject: [PATCH] tree-wide: streamline wiki links * Avoid traling slash as most links are defined without. * Always use https:// protocol and www. subdomain Allows for easier tree-wide linkvalidation for our migration to systemd.io. --- README | 2 +- docs/CGROUP_DELEGATION.md | 4 ++-- docs/INITRD_INTERFACE.md | 2 +- man/file-hierarchy.xml | 4 ++-- man/org.freedesktop.machine1.xml | 2 +- man/org.freedesktop.systemd1.xml | 4 ++-- man/systemd-machined.service.xml | 2 +- man/systemd.resource-control.xml | 2 +- man/systemd.scope.xml | 2 +- man/systemd.slice.xml | 2 +- src/core/main.c | 2 +- src/test/test-pretty-print.c | 2 +- 12 files changed, 15 insertions(+), 15 deletions(-) diff --git a/README b/README index 3b104c2a46c..566f1253b8a 100644 --- a/README +++ b/README @@ -408,5 +408,5 @@ STABLE BRANCHES AND BACKPORTS: Stable branches are started for certain releases of systemd and named after them, e.g. v238-stable. Stable branches are managed by distribution maintainers on an as needed basis. See - https://www.freedesktop.org/wiki/Software/systemd/Backports/ for some + https://www.freedesktop.org/wiki/Software/systemd/Backports for some more information and examples. diff --git a/docs/CGROUP_DELEGATION.md b/docs/CGROUP_DELEGATION.md index 8b14acf4eb5..17b70fc6c0f 100644 --- a/docs/CGROUP_DELEGATION.md +++ b/docs/CGROUP_DELEGATION.md @@ -29,8 +29,8 @@ This document then adds in the higher-level view from systemd. This document augments the existing documentation we already have: -* [The New Control Group Interfaces](https://www.freedesktop.org/wiki/Software/systemd/ControlGroupInterface/) -* [Writing VM and Container Managers](https://www.freedesktop.org/wiki/Software/systemd/writing-vm-managers/) +* [The New Control Group Interfaces](https://www.freedesktop.org/wiki/Software/systemd/ControlGroupInterface) +* [Writing VM and Container Managers](https://www.freedesktop.org/wiki/Software/systemd/writing-vm-managers) These wiki documents are not as up to date as they should be, currently, but the basic concepts still fully apply. You should read them too, if you do something diff --git a/docs/INITRD_INTERFACE.md b/docs/INITRD_INTERFACE.md index 1e9493cd8a6..7e8f028ef8e 100644 --- a/docs/INITRD_INTERFACE.md +++ b/docs/INITRD_INTERFACE.md @@ -25,7 +25,7 @@ interfaces are currently used by dracut and the ArchLinux initrds. * It's highly recommended that the initrd also mounts `/usr/` (if split off) as appropriate and passes it pre-mounted to the main system, to avoid the problems described in [Booting without /usr is - Broken](http://freedesktop.org/wiki/Software/systemd/separate-usr-is-broken). + Broken](https://www.freedesktop.org/wiki/Software/systemd/separate-usr-is-broken). * If the executable `/run/initramfs/shutdown` exists systemd will use it to jump back into the initrd on shutdown. `/run/initramfs/` should be a usable diff --git a/man/file-hierarchy.xml b/man/file-hierarchy.xml index a6e3d75695a..63910b351f7 100644 --- a/man/file-hierarchy.xml +++ b/man/file-hierarchy.xml @@ -31,7 +31,7 @@ project='man-pages'>hier7, with various extensions, partially documented in the XDG Base Directory - Specification and XDG User + Specification and XDG User Directories. This manual page describes a more generalized, though minimal and modernized subset of these specifications that defines more strictly the suggestions and restrictions systemd makes on the file system hierarchy. @@ -499,7 +499,7 @@ url="http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html">XDG Base Directory Specification. Additional locations for high-level user resources are defined by xdg-user-dirs. + url="https://www.freedesktop.org/wiki/Software/xdg-user-dirs">xdg-user-dirs. diff --git a/man/org.freedesktop.machine1.xml b/man/org.freedesktop.machine1.xml index d35e8ec220e..946041acfc7 100644 --- a/man/org.freedesktop.machine1.xml +++ b/man/org.freedesktop.machine1.xml @@ -330,7 +330,7 @@ node /org/freedesktop/machine1 { unit for the calling client (utilizing the passed scope_properties) and move the leader PID into it. The method returns an object path for the registered machine object that implements the org.freedesktop.machine1.Machine interface (see below). Also see the - New Control Group + New Control Group Interfaces for details about scope units and how to alter resource control settings on the created machine at runtime. diff --git a/man/org.freedesktop.systemd1.xml b/man/org.freedesktop.systemd1.xml index 4d191951658..79748335547 100644 --- a/man/org.freedesktop.systemd1.xml +++ b/man/org.freedesktop.systemd1.xml @@ -1434,7 +1434,7 @@ node /org/freedesktop/systemd1 { properties contains properties of the unit, specified like in SetUnitProperties(). aux is currently unused and should be passed as an empty array. See the - New Control Group + New Control Group Interface for more information how to make use of this functionality for resource control purposes. @@ -1502,7 +1502,7 @@ node /org/freedesktop/systemd1 { known: split-usr, mtab-not-symlink, cgroups-missing, local-hwclock. split-usr is set if /usr/ is not pre-mounted when systemd is first invoked. See - + Booting Without /usr is Broken for details why this is bad. mtab-not-symlink indicates that /etc/mtab is not a symlink to /proc/self/mounts as diff --git a/man/systemd-machined.service.xml b/man/systemd-machined.service.xml index 1b4318fdbb8..48bf6c5d758 100644 --- a/man/systemd-machined.service.xml +++ b/man/systemd-machined.service.xml @@ -95,7 +95,7 @@ If you are interested in writing a VM or container manager that makes use of machined, please have look at Writing Virtual Machine or Container Managers. Also see the New Control Group + url="https://www.freedesktop.org/wiki/Software/systemd/ControlGroupInterface">New Control Group Interfaces. The daemon provides both a C library interface diff --git a/man/systemd.resource-control.xml b/man/systemd.resource-control.xml index ce03a2f1a6d..1397b886c5c 100644 --- a/man/systemd.resource-control.xml +++ b/man/systemd.resource-control.xml @@ -60,7 +60,7 @@ Those options complement options listed here. See the New + url="https://www.freedesktop.org/wiki/Software/systemd/ControlGroupInterface">New Control Group Interfaces for an introduction on how to make use of resource control APIs from programs. diff --git a/man/systemd.scope.xml b/man/systemd.scope.xml index acede4a10b2..31bd0aa991e 100644 --- a/man/systemd.scope.xml +++ b/man/systemd.scope.xml @@ -42,7 +42,7 @@ command line. See the New + url="https://www.freedesktop.org/wiki/Software/systemd/ControlGroupInterface">New Control Group Interfaces for an introduction on how to make use of scope units from programs. diff --git a/man/systemd.slice.xml b/man/systemd.slice.xml index ed066d2a820..5e611997fc7 100644 --- a/man/systemd.slice.xml +++ b/man/systemd.slice.xml @@ -63,7 +63,7 @@ See the New + url="https://www.freedesktop.org/wiki/Software/systemd/ControlGroupInterface">New Control Group Interfaces for an introduction on how to make use of slice units from programs. diff --git a/src/core/main.c b/src/core/main.c index 409b84a0064..ccbab04d274 100644 --- a/src/core/main.c +++ b/src/core/main.c @@ -1295,7 +1295,7 @@ static void test_usr(void) { log_warning("/usr appears to be on its own filesystem and is not already mounted. This is not a supported setup. " "Some things will probably break (sometimes even silently) in mysterious ways. " - "Consult http://freedesktop.org/wiki/Software/systemd/separate-usr-is-broken for more information."); + "Consult https://www.freedesktop.org/wiki/Software/systemd/separate-usr-is-broken for more information."); } static int enforce_syscall_archs(Set *archs) { diff --git a/src/test/test-pretty-print.c b/src/test/test-pretty-print.c index 22bb4e5239f..7c6c6c7ad19 100644 --- a/src/test/test-pretty-print.c +++ b/src/test/test-pretty-print.c @@ -14,7 +14,7 @@ TEST(terminal_urlify) { _cleanup_free_ char *formatted = NULL; - assert_se(terminal_urlify("https://www.freedesktop.org/wiki/Software/systemd/", "systemd homepage", &formatted) >= 0); + assert_se(terminal_urlify("https://www.freedesktop.org/wiki/Software/systemd", "systemd homepage", &formatted) >= 0); printf("Hey, consider visiting the %s right now! It is very good!\n", formatted); formatted = mfree(formatted);