]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
tree-wide: streamline wiki links
authorBenjamin Franzke <benjaminfranzke@googlemail.com>
Thu, 19 May 2022 12:18:34 +0000 (14:18 +0200)
committerBenjamin Franzke <benjaminfranzke@googlemail.com>
Sat, 21 May 2022 12:28:03 +0000 (14:28 +0200)
* 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.

12 files changed:
README
docs/CGROUP_DELEGATION.md
docs/INITRD_INTERFACE.md
man/file-hierarchy.xml
man/org.freedesktop.machine1.xml
man/org.freedesktop.systemd1.xml
man/systemd-machined.service.xml
man/systemd.resource-control.xml
man/systemd.scope.xml
man/systemd.slice.xml
src/core/main.c
src/test/test-pretty-print.c

diff --git a/README b/README
index 3b104c2a46ca22825c4a2a9b945d9ab49127e9d6..566f1253b8aa9292068ccdb198d34a76c4d8bc4a 100644 (file)
--- 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.
index 8b14acf4eb5b2b4fc605a1a05d306544495891fb..17b70fc6c0fdca9ee3fb82852245d76ee425bc4d 100644 (file)
@@ -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
index 1e9493cd8a676414411a2f048fbd081ee0101244..7e8f028ef8e1ee1e1715e15d67094002e6757bd9 100644 (file)
@@ -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
index a6e3d75695ad5f16b3374b489149e0a2090e6e0e..63910b351f7fba89e24d9f3efb8339ab89942d84 100644 (file)
@@ -31,7 +31,7 @@
     project='man-pages'><refentrytitle>hier</refentrytitle><manvolnum>7</manvolnum></citerefentry>, with various
     extensions, partially documented in the <ulink
     url="http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html">XDG Base Directory
-    Specification</ulink> and <ulink url="https://www.freedesktop.org/wiki/Software/xdg-user-dirs/">XDG User
+    Specification</ulink> and <ulink url="https://www.freedesktop.org/wiki/Software/xdg-user-dirs">XDG User
     Directories</ulink>. 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.</para>
     url="http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html">XDG
     Base Directory Specification</ulink>. Additional locations for
     high-level user resources are defined by <ulink
-    url="https://www.freedesktop.org/wiki/Software/xdg-user-dirs/">xdg-user-dirs</ulink>.</para>
+    url="https://www.freedesktop.org/wiki/Software/xdg-user-dirs">xdg-user-dirs</ulink>.</para>
 
     <variablelist>
       <varlistentry>
index d35e8ec220eca477af05c33962ad8660a4b873f7..946041acfc74846c3ccfe4645a8a80dd6cdbe913 100644 (file)
@@ -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
       <interfacename>org.freedesktop.machine1.Machine</interfacename> interface (see below). Also see the
-      <ulink url="https://www.freedesktop.org/wiki/Software/systemd/ControlGroupInterface/">New Control Group
+      <ulink url="https://www.freedesktop.org/wiki/Software/systemd/ControlGroupInterface">New Control Group
       Interfaces</ulink> for details about scope units and how to alter resource control settings on the
       created machine at runtime.</para>
 
index 4d191951658459f5f69c573db225d417d15afea7..79748335547dfd5c442a8658bb62aa570fb677f3 100644 (file)
@@ -1434,7 +1434,7 @@ node /org/freedesktop/systemd1 {
       <varname>properties</varname> contains properties of the unit, specified like in
       <function>SetUnitProperties()</function>. <varname>aux</varname> is currently unused and should be
       passed as an empty array. See the
-      <ulink url="https://www.freedesktop.org/wiki/Software/systemd/ControlGroupInterface/">New Control Group
+      <ulink url="https://www.freedesktop.org/wiki/Software/systemd/ControlGroupInterface">New Control Group
       Interface</ulink> for more information how to make use of this functionality for resource control
       purposes.</para>
     </refsect2>
@@ -1502,7 +1502,7 @@ node /org/freedesktop/systemd1 {
       known: <literal>split-usr</literal>, <literal>mtab-not-symlink</literal>,
       <literal>cgroups-missing</literal>, <literal>local-hwclock</literal>. <literal>split-usr</literal> is
       set if <filename>/usr/</filename> is not pre-mounted when systemd is first invoked. See
-      <ulink url="http://freedesktop.org/wiki/Software/systemd/separate-usr-is-broken">
+      <ulink url="https://www.freedesktop.org/wiki/Software/systemd/separate-usr-is-broken">
       Booting Without /usr is Broken</ulink>
       for details why this is bad. <literal>mtab-not-symlink</literal> indicates that
       <filename>/etc/mtab</filename> is not a symlink to <filename>/proc/self/mounts</filename> as
index 1b4318fdbb8f8386e54eed9d8978ff10eec2fc6f..48bf6c5d758e3b90b0241dcc596f97a827f2d3d5 100644 (file)
@@ -95,7 +95,7 @@
     <para>If you are interested in writing a VM or container manager that makes use of machined, please have
     look at <ulink url="https://www.freedesktop.org/wiki/Software/systemd/writing-vm-managers">Writing
     Virtual Machine or Container Managers</ulink>. Also see the <ulink
-    url="https://www.freedesktop.org/wiki/Software/systemd/ControlGroupInterface/">New Control Group
+    url="https://www.freedesktop.org/wiki/Software/systemd/ControlGroupInterface">New Control Group
     Interfaces</ulink>.</para>
 
     <para>The daemon provides both a C library interface
index ce03a2f1a6de1265c3ea2f90095c18a9c7dd5c36..1397b886c5c20bc7126afc51515c2559f93a034c 100644 (file)
@@ -60,7 +60,7 @@
     Those options complement options listed here.</para>
 
     <para>See the <ulink
-    url="https://www.freedesktop.org/wiki/Software/systemd/ControlGroupInterface/">New
+    url="https://www.freedesktop.org/wiki/Software/systemd/ControlGroupInterface">New
     Control Group Interfaces</ulink> for an introduction on how to make
     use of resource control APIs from programs.</para>
 
index acede4a10b22f6f4d7b4e185eb4e1e1939a243b0..31bd0aa991e547a62a9d8946340524ea69642bdd 100644 (file)
@@ -42,7 +42,7 @@
     command line.</para>
 
     <para>See the <ulink
-    url="https://www.freedesktop.org/wiki/Software/systemd/ControlGroupInterface/">New
+    url="https://www.freedesktop.org/wiki/Software/systemd/ControlGroupInterface">New
     Control Group Interfaces</ulink> for an introduction on how to make
     use of scope units from programs.</para>
 
index ed066d2a8203ded04d4b444ea1d401a8425e6688..5e611997fc7dad68c77f5bee6c7579129e9403e1 100644 (file)
@@ -63,7 +63,7 @@
     </para>
 
     <para>See the <ulink
-    url="https://www.freedesktop.org/wiki/Software/systemd/ControlGroupInterface/">New
+    url="https://www.freedesktop.org/wiki/Software/systemd/ControlGroupInterface">New
     Control Group Interfaces</ulink> for an introduction on how to make
     use of slice units from programs.</para>
   </refsect1>
index 409b84a0064c258135933a7f8f378b839059abf0..ccbab04d274c8805c0d28d6eb7ba03ca0d03a8f9 100644 (file)
@@ -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) {
index 22bb4e5239febd12803c609b022cc7136dbcb4b7..7c6c6c7ad1928efdae9ba0b380bd0254a923df98 100644 (file)
@@ -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);