docs: Update various external links to use HEAD instead of master

Update several links to allow the remote to use its configured default
branch name, rather than specifying `master` as the default branch name.
This will help avoid breakage if any of these projects rename their
default branch in the future.

Fix a few of the links where they were hitting redirects or had moved.

Signed-off-by: Philip Withnall <pwithnall@endlessos.org>

Helps: #2348
This commit is contained in:
Philip Withnall 2021-06-07 13:16:50 +01:00
parent f551a60380
commit 1a43d950b4
17 changed files with 26 additions and 26 deletions

View File

@ -25,7 +25,7 @@ exit_status=$?
# style with the changes theyre making.) # style with the changes theyre making.)
echo "" echo ""
echo "Note that clang-format output is advisory and cannot always match the GLib coding style, documented at" echo "Note that clang-format output is advisory and cannot always match the GLib coding style, documented at"
echo " https://gitlab.gnome.org/GNOME/gtk/blob/master/docs/CODING-STYLE" echo " https://gitlab.gnome.org/GNOME/gtk/blob/HEAD/docs/CODING-STYLE.md"
echo "Warnings from this tool can be ignored in favour of the documented coding style," echo "Warnings from this tool can be ignored in favour of the documented coding style,"
echo "or in favour of matching the style of existing surrounding code." echo "or in favour of matching the style of existing surrounding code."

View File

@ -63,5 +63,5 @@ additionally be made via
## Acknowledgements ## Acknowledgements
This text was partially based on the This text was partially based on the
[github.com/containers security policy](https://github.com/containers/common/blob/master/SECURITY.md), [github.com/containers security policy](https://github.com/containers/common/blob/HEAD/SECURITY.md),
and partially based on the [flatpak security policy](https://github.com/flatpak/flatpak/blob/master/SECURITY.md). and partially based on the [flatpak security policy](https://github.com/flatpak/flatpak/blob/HEAD/SECURITY.md).

View File

@ -40,7 +40,7 @@ $ DIR/fuzzing/fuzz_target_name FILE
Correct MSAN instrumentation is [difficult to achieve](https://clang.llvm.org/docs/MemorySanitizer.html#handling-external-code) locally, so false positives are very likely to mask the actual bug. Correct MSAN instrumentation is [difficult to achieve](https://clang.llvm.org/docs/MemorySanitizer.html#handling-external-code) locally, so false positives are very likely to mask the actual bug.
If need be, [you can still reproduce](https://github.com/google/oss-fuzz/blob/master/docs/reproducing.md#building-using-docker) those bugs with the oss-fuzz provided docker images. If need be, [you can still reproduce](https://google.github.io/oss-fuzz/advanced-topics/reproducing/#building-using-docker) those bugs with the oss-fuzz provided docker images.
###### There are no file/function names in the stack trace. ###### There are no file/function names in the stack trace.

View File

@ -24,7 +24,7 @@ extra_sources = []
extra_c_args = cc.get_supported_arguments('-Werror=unused-function') extra_c_args = cc.get_supported_arguments('-Werror=unused-function')
# Links in a static library provided by oss-fuzz, else a standalone driver. # Links in a static library provided by oss-fuzz, else a standalone driver.
# https://github.com/google/oss-fuzz/blob/master/docs/new_project_guide.md#buildsh-script-environment # https://google.github.io/oss-fuzz/getting-started/new-project-guide/#buildsh-script-environment
fuzzing_engine = cxx.find_library('FuzzingEngine', required : get_option('oss_fuzz')) fuzzing_engine = cxx.find_library('FuzzingEngine', required : get_option('oss_fuzz'))
if fuzzing_engine.found() if fuzzing_engine.found()
deps += fuzzing_engine deps += fuzzing_engine

View File

@ -155,13 +155,13 @@
* respectively. * respectively.
* *
* For an example of opening files with a GApplication, see * For an example of opening files with a GApplication, see
* [gapplication-example-open.c](https://gitlab.gnome.org/GNOME/glib/-/blob/master/gio/tests/gapplication-example-open.c). * [gapplication-example-open.c](https://gitlab.gnome.org/GNOME/glib/-/blob/HEAD/gio/tests/gapplication-example-open.c).
* *
* For an example of using actions with GApplication, see * For an example of using actions with GApplication, see
* [gapplication-example-actions.c](https://gitlab.gnome.org/GNOME/glib/-/blob/master/gio/tests/gapplication-example-actions.c). * [gapplication-example-actions.c](https://gitlab.gnome.org/GNOME/glib/-/blob/HEAD/gio/tests/gapplication-example-actions.c).
* *
* For an example of using extra D-Bus hooks with GApplication, see * For an example of using extra D-Bus hooks with GApplication, see
* [gapplication-example-dbushooks.c](https://gitlab.gnome.org/GNOME/glib/-/blob/master/gio/tests/gapplication-example-dbushooks.c). * [gapplication-example-dbushooks.c](https://gitlab.gnome.org/GNOME/glib/-/blob/HEAD/gio/tests/gapplication-example-dbushooks.c).
*/ */
/** /**
@ -2399,7 +2399,7 @@ g_application_open (GApplication *application,
* and override local_command_line(). In this case, you most likely want * and override local_command_line(). In this case, you most likely want
* to return %TRUE from your local_command_line() implementation to * to return %TRUE from your local_command_line() implementation to
* suppress the default handling. See * suppress the default handling. See
* [gapplication-example-cmdline2.c][https://gitlab.gnome.org/GNOME/glib/-/blob/master/gio/tests/gapplication-example-cmdline2.c] * [gapplication-example-cmdline2.c][https://gitlab.gnome.org/GNOME/glib/-/blob/HEAD/gio/tests/gapplication-example-cmdline2.c]
* for an example. * for an example.
* *
* If, after the above is done, the use count of the application is zero * If, after the above is done, the use count of the application is zero

View File

@ -104,7 +104,7 @@
* } * }
* ]| * ]|
* The complete example can be found here: * The complete example can be found here:
* [gapplication-example-cmdline.c](https://gitlab.gnome.org/GNOME/glib/-/blob/master/gio/tests/gapplication-example-cmdline.c) * [gapplication-example-cmdline.c](https://gitlab.gnome.org/GNOME/glib/-/blob/HEAD/gio/tests/gapplication-example-cmdline.c)
* *
* In more complicated cases, the handling of the comandline can be * In more complicated cases, the handling of the comandline can be
* split between the launcher and the primary instance. * split between the launcher and the primary instance.
@ -155,7 +155,7 @@
* instance. * instance.
* *
* The complete example can be found here: * The complete example can be found here:
* [gapplication-example-cmdline2.c](https://gitlab.gnome.org/GNOME/glib/-/blob/master/gio/tests/gapplication-example-cmdline2.c) * [gapplication-example-cmdline2.c](https://gitlab.gnome.org/GNOME/glib/-/blob/HEAD/gio/tests/gapplication-example-cmdline2.c)
* *
* If handling the commandline requires a lot of work, it may * If handling the commandline requires a lot of work, it may
* be better to defer it. * be better to defer it.
@ -197,7 +197,7 @@
* hold the application until you are done with the commandline. * hold the application until you are done with the commandline.
* *
* The complete example can be found here: * The complete example can be found here:
* [gapplication-example-cmdline3.c](https://gitlab.gnome.org/GNOME/glib/-/blob/master/gio/tests/gapplication-example-cmdline3.c) * [gapplication-example-cmdline3.c](https://gitlab.gnome.org/GNOME/glib/-/blob/HEAD/gio/tests/gapplication-example-cmdline3.c)
*/ */
/** /**

View File

@ -166,22 +166,22 @@
* ## An example D-Bus server # {#gdbus-server} * ## An example D-Bus server # {#gdbus-server}
* *
* Here is an example for a D-Bus server: * Here is an example for a D-Bus server:
* [gdbus-example-server.c](https://gitlab.gnome.org/GNOME/glib/-/blob/master/gio/tests/gdbus-example-server.c) * [gdbus-example-server.c](https://gitlab.gnome.org/GNOME/glib/-/blob/HEAD/gio/tests/gdbus-example-server.c)
* *
* ## An example for exporting a subtree # {#gdbus-subtree-server} * ## An example for exporting a subtree # {#gdbus-subtree-server}
* *
* Here is an example for exporting a subtree: * Here is an example for exporting a subtree:
* [gdbus-example-subtree.c](https://gitlab.gnome.org/GNOME/glib/-/blob/master/gio/tests/gdbus-example-subtree.c) * [gdbus-example-subtree.c](https://gitlab.gnome.org/GNOME/glib/-/blob/HEAD/gio/tests/gdbus-example-subtree.c)
* *
* ## An example for file descriptor passing # {#gdbus-unix-fd-client} * ## An example for file descriptor passing # {#gdbus-unix-fd-client}
* *
* Here is an example for passing UNIX file descriptors: * Here is an example for passing UNIX file descriptors:
* [gdbus-unix-fd-client.c](https://gitlab.gnome.org/GNOME/glib/-/blob/master/gio/tests/gdbus-example-unix-fd-client.c) * [gdbus-unix-fd-client.c](https://gitlab.gnome.org/GNOME/glib/-/blob/HEAD/gio/tests/gdbus-example-unix-fd-client.c)
* *
* ## An example for exporting a GObject # {#gdbus-export} * ## An example for exporting a GObject # {#gdbus-export}
* *
* Here is an example for exporting a #GObject: * Here is an example for exporting a #GObject:
* [gdbus-example-export.c](https://gitlab.gnome.org/GNOME/glib/-/blob/master/gio/tests/gdbus-example-export.c) * [gdbus-example-export.c](https://gitlab.gnome.org/GNOME/glib/-/blob/HEAD/gio/tests/gdbus-example-export.c)
*/ */
/* ---------------------------------------------------------------------------------------------------- */ /* ---------------------------------------------------------------------------------------------------- */

View File

@ -39,7 +39,7 @@
* Convenience API for owning bus names. * Convenience API for owning bus names.
* *
* A simple example for owning a name can be found in * A simple example for owning a name can be found in
* [gdbus-example-own-name.c](https://gitlab.gnome.org/GNOME/glib/-/blob/master/gio/tests/gdbus-example-own-name.c) * [gdbus-example-own-name.c](https://gitlab.gnome.org/GNOME/glib/-/blob/HEAD/gio/tests/gdbus-example-own-name.c)
*/ */
G_LOCK_DEFINE_STATIC (lock); G_LOCK_DEFINE_STATIC (lock);

View File

@ -40,7 +40,7 @@
* Convenience API for watching bus names. * Convenience API for watching bus names.
* *
* A simple example for watching a name can be found in * A simple example for watching a name can be found in
* [gdbus-example-watch-name.c](https://gitlab.gnome.org/GNOME/glib/-/blob/master/gio/tests/gdbus-example-watch-name.c) * [gdbus-example-watch-name.c](https://gitlab.gnome.org/GNOME/glib/-/blob/HEAD/gio/tests/gdbus-example-watch-name.c)
*/ */
G_LOCK_DEFINE_STATIC (lock); G_LOCK_DEFINE_STATIC (lock);

View File

@ -92,7 +92,7 @@
* of the thread where the instance was constructed. * of the thread where the instance was constructed.
* *
* An example using a proxy for a well-known name can be found in * An example using a proxy for a well-known name can be found in
* [gdbus-example-watch-proxy.c](https://gitlab.gnome.org/GNOME/glib/-/blob/master/gio/tests/gdbus-example-watch-proxy.c) * [gdbus-example-watch-proxy.c](https://gitlab.gnome.org/GNOME/glib/-/blob/HEAD/gio/tests/gdbus-example-watch-proxy.c)
*/ */
/* lock protecting the mutable properties: name_owner, timeout_msec, /* lock protecting the mutable properties: name_owner, timeout_msec,

View File

@ -77,7 +77,7 @@
* session or system bus, you should instead use g_bus_own_name(). * session or system bus, you should instead use g_bus_own_name().
* *
* An example of peer-to-peer communication with GDBus can be found * An example of peer-to-peer communication with GDBus can be found
* in [gdbus-example-peer.c](https://gitlab.gnome.org/GNOME/glib/-/blob/master/gio/tests/gdbus-example-peer.c). * in [gdbus-example-peer.c](https://gitlab.gnome.org/GNOME/glib/-/blob/HEAD/gio/tests/gdbus-example-peer.c).
* *
* Note that a minimal #GDBusServer will accept connections from any * Note that a minimal #GDBusServer will accept connections from any
* peer. In many use-cases it will be necessary to add a #GDBusAuthObserver * peer. In many use-cases it will be necessary to add a #GDBusAuthObserver

View File

@ -121,7 +121,7 @@
* utility. The input is a schema description in an XML format. * utility. The input is a schema description in an XML format.
* *
* A DTD for the gschema XML format can be found here: * A DTD for the gschema XML format can be found here:
* [gschema.dtd](https://gitlab.gnome.org/GNOME/glib/-/blob/master/gio/gschema.dtd) * [gschema.dtd](https://gitlab.gnome.org/GNOME/glib/-/blob/HEAD/gio/gschema.dtd)
* *
* The [glib-compile-schemas][glib-compile-schemas] tool expects schema * The [glib-compile-schemas][glib-compile-schemas] tool expects schema
* files to have the extension `.gschema.xml`. * files to have the extension `.gschema.xml`.

View File

@ -380,7 +380,7 @@ _g_test_watcher_remove_pid (GPid pid)
* *
* An example of a test fixture for D-Bus services can be found * An example of a test fixture for D-Bus services can be found
* here: * here:
* [gdbus-test-fixture.c](https://gitlab.gnome.org/GNOME/glib/-/blob/master/gio/tests/gdbus-test-fixture.c) * [gdbus-test-fixture.c](https://gitlab.gnome.org/GNOME/glib/-/blob/HEAD/gio/tests/gdbus-test-fixture.c)
* *
* Note that these examples only deal with isolating the D-Bus aspect of your * Note that these examples only deal with isolating the D-Bus aspect of your
* service. To successfully run isolated unit tests on your service you may need * service. To successfully run isolated unit tests on your service you may need

View File

@ -56,7 +56,7 @@
<repository> <repository>
<GitRepository> <GitRepository>
<browse rdf:resource="https://gitlab.gnome.org/GNOME/glib/tree/master"/> <browse rdf:resource="https://gitlab.gnome.org/GNOME/glib/"/>
<location rdf:resource="https://gitlab.gnome.org/GNOME/glib.git"/> <location rdf:resource="https://gitlab.gnome.org/GNOME/glib.git"/>
</GitRepository> </GitRepository>
</repository> </repository>

View File

@ -700,7 +700,7 @@
fun:g_inet_address_get_type fun:g_inet_address_get_type
} }
# From: https://github.com/fredericgermain/valgrind/blob/master/glibc-2.X-drd.supp # From: https://github.com/fredericgermain/valgrind/blob/HEAD/glibc-2.X-drd.supp
{ {
drd-libc-stdio drd-libc-stdio
drd:ConflictingAccess drd:ConflictingAccess

View File

@ -80,7 +80,7 @@
* displaying the bookmark inside a GUI. * displaying the bookmark inside a GUI.
* *
* Here is an example of a bookmark file: * Here is an example of a bookmark file:
* [bookmarks.xbel](https://gitlab.gnome.org/GNOME/glib/-/blob/master/glib/tests/bookmarks.xbel) * [bookmarks.xbel](https://gitlab.gnome.org/GNOME/glib/-/blob/HEAD/glib/tests/bookmarks.xbel)
* *
* A bookmark file might contain more than one bookmark; each bookmark * A bookmark file might contain more than one bookmark; each bookmark
* is accessed through its URI. * is accessed through its URI.

View File

@ -81,7 +81,7 @@
* *
* However, some libc implementations, such as glibc, implement dlerror() using * However, some libc implementations, such as glibc, implement dlerror() using
* thread-local storage, so are thread-safe. As of early 2021: * thread-local storage, so are thread-safe. As of early 2021:
* - glibc is thread-safe: https://github.com/bminor/glibc/blob/master/dlfcn/libc_dlerror_result.c * - glibc is thread-safe: https://github.com/bminor/glibc/blob/HEAD/dlfcn/libc_dlerror_result.c
* - uclibc-ng is not thread-safe: https://cgit.uclibc-ng.org/cgi/cgit/uclibc-ng.git/tree/ldso/libdl/libdl.c?id=132decd2a043d0ccf799f42bf89f3ae0c11e95d5#n1075 * - uclibc-ng is not thread-safe: https://cgit.uclibc-ng.org/cgi/cgit/uclibc-ng.git/tree/ldso/libdl/libdl.c?id=132decd2a043d0ccf799f42bf89f3ae0c11e95d5#n1075
* - Other libc implementations have not been checked, and no problems have * - Other libc implementations have not been checked, and no problems have
* been reported with them in 10 years, so default to assuming that they * been reported with them in 10 years, so default to assuming that they