[gjs: 1/3] Upgrades codespell to 2.0.0 in CI and adds suggestions by codespell package




commit 87f8e49ecfd3cc17e56e1e5043044c6cc7aa4f31
Author: Kajal Sah <kajalksah07 gmail com>
Date:   Mon Apr 5 01:39:28 2021 +0530

    Upgrades codespell to 2.0.0 in CI and adds suggestions by codespell package

 .gitlab-ci.yml               | 10 ++++++----
 CONTRIBUTING.md              |  6 +++---
 NEWS                         | 18 +++++++++---------
 README.md                    | 14 +++++++-------
 doc/CPP_Style_Guide.md       |  2 +-
 doc/ESModules.md             |  2 +-
 doc/Environment.md           |  2 +-
 doc/Home.md                  |  6 +++---
 doc/Logging.md               |  4 ++--
 doc/Modules.md               | 36 ++++++++++++++++++------------------
 doc/Package/Specification.md |  2 +-
 test/test-ci.sh              |  2 +-
 tools/heapgraph.md           |  2 +-
 13 files changed, 54 insertions(+), 52 deletions(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index a9f01ff9..ae4cc6ed 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -14,7 +14,7 @@ stages:
 
 .gjs-alpine:
   variables:
-    FDO_DISTRIBUTION_TAG: '2020-11-23.0'
+    FDO_DISTRIBUTION_TAG: '2021-04-02.0'
     FDO_UPSTREAM_REPO: GNOME/gjs
 
 build-alpine-image:
@@ -27,7 +27,7 @@ build-alpine-image:
     FDO_DISTRIBUTION_EXEC: |
       python3 -m ensurepip &&
       rm -r /usr/lib/python*/ensurepip &&
-      pip3 install --no-cache --upgrade cpplint reuse &&
+      pip3 install --no-cache --upgrade cpplint reuse codespell &&
       mkdir -p /cwd
 
 .coverage: &coverage
@@ -234,10 +234,12 @@ iwyu:
 
 codespell:
   when: on_success
+  extends:
+    - .fdo.distribution-image@alpine
+    - .gjs-alpine
   stage: source_check
-  image: "docker.io/bilelmoussaoui/codespell"
   script:
-    - codespell -S "*.png,*.po,*.jpg,.git,LICENSES" -f --builtin "code,clear" 
--skip="./installed-tests/js/jasmine.js" 
--ignore-words-list="afterall,befores,files',filetest,gir,inout,stdio,uint,upto,xdescribe"
+    - codespell -S "*.png,*.po,*.jpg,.git,LICENSES" -f --builtin "code,usage,clear" 
--skip="./installed-tests/js/jasmine.js,./README.md,./subprojects/glib.wrap,./subprojects/gobject-introspection.wrap,./subprojects/sysprof.wrap"
 --ignore-words-list="afterall,befores,files',filetest,gir,inout,stdio,uint,upto,xdescribe"
   except:
     - schedules
 
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index 8783f348..c04cd4d2 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -331,10 +331,10 @@ this guide!
 [devdocs]: https://github.com/ptomato/devdocs
 [gjsguide]: https://gitlab.gnome.org/rockon999/gjs-guide
 [workflow]: https://wiki.gnome.org/GitLab#Using_a_fork_-_Non_GNOME_developer
-[hacking]: https://gitlab.gnome.org/GNOME/gjs/blob/master/doc/Hacking.md
-[doap]: https://gitlab.gnome.org/GNOME/gjs/blob/master/gjs.doap
+[hacking]: https://gitlab.gnome.org/GNOME/gjs/blob/HEAD/doc/Hacking.md
+[doap]: https://gitlab.gnome.org/GNOME/gjs/blob/HEAD/gjs.doap
 [googlestyle]: https://google.github.io/styleguide/cppguide.html
-[cppstyle]: https://gitlab.gnome.org/GNOME/gjs/blob/master/doc/CPP_Style_Guide.md
+[cppstyle]: https://gitlab.gnome.org/GNOME/gjs/blob/HEAD/doc/CPP_Style_Guide.md
 [eslint]: https://eslint.org/
 [commitmessages]: https://chris.beams.io/posts/git-commit/
 [contributingtemplate]: https://github.com/nayafia/contributing-template
diff --git a/NEWS b/NEWS
index 95de900f..1a63c58e 100644
--- a/NEWS
+++ b/NEWS
@@ -90,7 +90,7 @@ Version 1.67.2
     prompt [#371, !556, Ales Huzik]
   * function: Remove JSClass macros [!558, Philip Chimento, Marco Trevisan]
   * Missing classes on global. [#372, !559, Philip Chimento]
-  * arg: fix build failure with glib master [!560, Michael Catanzaro]
+  * arg: fix build failure with glib main branch [!560, Michael Catanzaro]
   * Update to Jasmine 2.9.1 [!561, Evan Welsh]
   * Various maintenance [!562, Philip Chimento]
   * Add list command to debugger [!563, Nasah Kuma]
@@ -225,7 +225,7 @@ Version 1.65.92
 
   * CI: Make iwyu idempotent [!481, Simon McVittie]
   * Enum and flags test failing in s390x [#319, !480, Simon McVittie]
-  * Bring back Visual Studio build support for GJS master [!482, Chun-wei Fan]
+  * Bring back Visual Studio build support for GJS main branch [!482, Chun-wei Fan]
   * gjs_dbus_implementation_emit_signal: don't try to unref NULL [!482, Adam
     Williamson]
   * doc: add third party applications [!484, Sonny Piers]
@@ -243,7 +243,7 @@ Version 1.65.91
   * Crash in gjs_dbus_implementation_flush() [#332, !471, Andy Holmes]
   * eslint: Bump ecmaScript version [!473, Florian Müllner]
   * Documentation: add documentation for ENV variables [!474, Andy Holmes]
-  * Fix build for master on Windows (due to SpiderMonkey-78.x upgrade) [!475,
+  * Fix build for the main branch on Windows (due to SpiderMonkey-78.x upgrade) [!475,
     Chun-wei Fan]
   * Argument cache causes test failure in armhf [#342, !476, Marco Trevisan]
   * Argument cache causes test regressions in s390x [#341, !477, Simon McVittie]
@@ -521,7 +521,7 @@ Version 1.63.91
 - Closed bugs and merge requests:
   * [mozjs68] Reorganize modules for ESM. [Evan Welsh, Philip Chimento, !383]
   * Various maintenance [Philip Chimento, !388]
-  * Fix building GJS master with Visual Studio and update build instructions
+  * Fix building GJS main branch with Visual Studio and update build instructions
     [Chun-wei Fan, !389]
   * Resolve "Gnome Shell crash on GC run with mozjs68" [Philip Chimento, !391]
   * installed-tests/js: Add missing dep on warnlib_typelib [Jan Alexander
@@ -1422,7 +1422,7 @@ Version 1.53.4
 Version 1.53.3
 --------------
 
-- This release was made from an earlier state of master, before a bug was
+- This release was made from an earlier state of the main branch, before a bug was
   introduced, while we sort out how to fix it. As a result, we don't have too
   many changes this round.
 
@@ -1524,7 +1524,7 @@ Version 1.52.1
   version. The intention of 1.52.1 is to deliver a version that runs cleaner
   under performance tools, in time for the upcoming GNOME Shell performance
   hackfest. We also wanted to deliver a stable CI pipeline before branching
-  GNOME 3.28 off of master.
+  GNOME 3.28 off of the main branch.
 
 - Claudio André's work on the CI pipeline deserves a spotlight. We now have
   test jobs that run linters, sanitizers, Valgrind, and more; the tests are
@@ -1538,7 +1538,7 @@ Version 1.52.1
 - heapgraph.py is a tool in the repository (not installed in distributions) for
   analyzing and graphing heap dumps, to aid with tracking down memory leaks.
 
-- The linter CI jobs will compare your branch against GNOME/gjs@master, and fail
+- The linter CI jobs will compare your branch against the main branch of GNOME/gjs, and fail
   if your branch added any new linter errors. There may be false positives, and
   the rules configuration is not perfect. If that's the case on your merge
   request, you can skip the appropriate linter job by adding the text
@@ -1673,7 +1673,7 @@ Version 1.50.3
     Marco Trevisan]
   * Test "Cairo context has methods when created from a C function" fails [#27,
     !35, Valentín Barros]
-  * Various fixes from the master branch for rare crashes [Philip Chimento]
+  * Various fixes from the main branch for rare crashes [Philip Chimento]
 
 Version 1.51.4
 --------------
@@ -1711,7 +1711,7 @@ Version 1.51.4
 Version 1.51.3
 --------------
 
-- This release was made from an earlier state of master, before a breaking
+- This release was made from an earlier state of the main branch, before a breaking
   change was merged, while we decide whether to revert that change or not.
 
 - Closed bugs and merge requests:
diff --git a/README.md b/README.md
index 79f983aa..5ccfd933 100644
--- a/README.md
+++ b/README.md
@@ -1,10 +1,10 @@
 [![Build 
Status](https://gitlab.gnome.org/GNOME/gjs/badges/master/pipeline.svg)](https://gitlab.gnome.org/GNOME/gjs/pipelines)
 [![Coverage 
report](https://gitlab.gnome.org/GNOME/gjs/badges/master/coverage.svg)](https://gnome.pages.gitlab.gnome.org/gjs/)
-[![Contributors](https://img.shields.io/github/contributors/GNOME/gjs.svg)](https://gitlab.gnome.org/GNOME/gjs/-/graphs/master)
-[![Last 
commit](https://img.shields.io/github/last-commit/GNOME/gjs.svg)](https://gitlab.gnome.org/GNOME/gjs/commits/master)
+[![Contributors](https://img.shields.io/github/contributors/GNOME/gjs.svg)](https://gitlab.gnome.org/GNOME/gjs/-/graphs/HEAD)
+[![Last 
commit](https://img.shields.io/github/last-commit/GNOME/gjs.svg)](https://gitlab.gnome.org/GNOME/gjs/commits/HEAD)
 [![Search 
hit](https://img.shields.io/github/search/GNOME/gjs/goto.svg?label=github%20hits)](https://github.com/search?utf8=%E2%9C%93&q=gjs&type=)
-[![License](https://img.shields.io/badge/License-LGPL%20v2%2B-blue.svg)](https://gitlab.gnome.org/GNOME/gjs/blob/master/COPYING)
-[![License](https://img.shields.io/badge/License-MIT-blue.svg)](https://gitlab.gnome.org/GNOME/gjs/blob/master/COPYING)
+[![License](https://img.shields.io/badge/License-LGPL%20v2%2B-blue.svg)](https://gitlab.gnome.org/GNOME/gjs/blob/HEAD/COPYING)
+[![License](https://img.shields.io/badge/License-MIT-blue.svg)](https://gitlab.gnome.org/GNOME/gjs/blob/HEAD/COPYING)
 
 JavaScript bindings for GNOME
 =============================
@@ -39,7 +39,7 @@ Type `gjs --help` for more information.
 
 For instructions on how to get started contributing to GJS, please read
 the contributing guide,
-<https://gitlab.gnome.org/GNOME/gjs/blob/master/CONTRIBUTING.md>.
+<https://gitlab.gnome.org/GNOME/gjs/blob/HEAD/CONTRIBUTING.md>.
 
 ## History
 
@@ -63,7 +63,7 @@ a forked version, [Cinnamon].
 
 ### Documentation
 
-* [Get started](https://gitlab.gnome.org/GNOME/gjs/-/blob/master/doc/Home.md)
+* [Get started](https://gitlab.gnome.org/GNOME/gjs/-/blob/HEAD/doc/Home.md)
 * [API documentation](https://gjs-docs.gnome.org/)
 
 ### JavaScript & SpiderMonkey
@@ -85,7 +85,7 @@ The form of this README was inspired by [Nadia Odunayo][hospitable] on
 the Greater Than Code podcast.
 
 [havocp]: https://blog.ometer.com/2008/08/25/embeddable-languages/
-[gscript]: https://gitlab.gnome.org/Archive/gscript/tree/master/gscript
+[gscript]: https://gitlab.gnome.org/Archive/gscript/tree/HEAD/gscript
 [litl webbook]: https://en.wikipedia.org/wiki/Litl
 [GNOME Shell]: https://wiki.gnome.org/Projects/GnomeShell
 [treitter]: https://treitter.livejournal.com/14871.html
diff --git a/doc/CPP_Style_Guide.md b/doc/CPP_Style_Guide.md
index 516d15be..abcdda83 100644
--- a/doc/CPP_Style_Guide.md
+++ b/doc/CPP_Style_Guide.md
@@ -34,7 +34,7 @@ at <https://gitlab.gnome.org/GNOME/gjs>.
 
 [google]: https://google.github.io/styleguide/cppguide.html
 [llvm]: https://llvm.org/docs/CodingStandards.html
-[llvm-source]: https://raw.githubusercontent.com/llvm-mirror/llvm/master/docs/CodingStandards.rst
+[llvm-source]: https://raw.githubusercontent.com/llvm-mirror/llvm/HEAD/docs/CodingStandards.rst
 
 ## Languages, Libraries, and Standards ##
 
diff --git a/doc/ESModules.md b/doc/ESModules.md
index 7b966305..b63f06b6 100644
--- a/doc/ESModules.md
+++ b/doc/ESModules.md
@@ -1,6 +1,6 @@
 # Modules: ECMAScript modules
 
-> _This documentation is inspired by [Node.js' 
documentation](https://github.com/nodejs/node/blob/master/doc/api/esm.md)
+> _This documentation is inspired by [Node.js' 
documentation](https://github.com/nodejs/node/blob/HEAD/doc/api/esm.md)
on ECMAScript modules._
 
 ECMAScript Modules or "ES modules" are the [official ECMAScript
diff --git a/doc/Environment.md b/doc/Environment.md
index c584498c..84a6ecb0 100644
--- a/doc/Environment.md
+++ b/doc/Environment.md
@@ -100,5 +100,5 @@ GJS allows runtime configuration with a number of environment variables.
   typically useful to set this manually.
 
 
-[hacking-gczeal]: https://gitlab.gnome.org/GNOME/gjs/blob/master/doc/Hacking.md#gc-zeal
+[hacking-gczeal]: https://gitlab.gnome.org/GNOME/gjs/blob/HEAD/doc/Hacking.md#gc-zeal
 [mdn-gczeal]: https://developer.mozilla.org/docs/Mozilla/Projects/SpiderMonkey/JSAPI_reference/JS_SetGCZeal
diff --git a/doc/Home.md b/doc/Home.md
index 166350e5..fe3f5f6e 100644
--- a/doc/Home.md
+++ b/doc/Home.md
@@ -6,7 +6,7 @@ To find out when a language feature was implemented in GJS, review [NEWS][gjs-ne
 
 GJS includes some built-in modules like Cairo and Gettext, as well as helpers for some core APIs like DBus 
and GVariants. See the [Modules](Modules.md) page for an overview of the built-in modules and their usage.
 
-[gjs-news]: https://gitlab.gnome.org/GNOME/gjs/raw/master/NEWS
+[gjs-news]: https://gitlab.gnome.org/GNOME/gjs/raw/HEAD/NEWS
 [mdn-polyfills]: https://developer.mozilla.org/docs/Glossary/Polyfill
 
 ## GNOME API Documentation
@@ -18,8 +18,8 @@ The [Mapping](Mapping.md) page has an overview of GNOME API usage in GJS such as
 There are also a growing number of [examples][gjs-examples] and thorough tests of language features in the 
[test suite][gjs-tests].
 
 [gjs-docs]: https://gjs-docs.gnome.org/
-[gjs-examples]: https://gitlab.gnome.org/GNOME/gjs/tree/master/examples
-[gjs-tests]: https://gitlab.gnome.org/GNOME/gjs/blob/master/installed-tests/js
+[gjs-examples]: https://gitlab.gnome.org/GNOME/gjs/tree/HEAD/examples
+[gjs-tests]: https://gitlab.gnome.org/GNOME/gjs/blob/HEAD/installed-tests/js
 
 
 ## Standalone Applications
diff --git a/doc/Logging.md b/doc/Logging.md
index e2f127f4..fafae385 100644
--- a/doc/Logging.md
+++ b/doc/Logging.md
@@ -110,6 +110,6 @@ if (GLib.log_writer_is_journald(2))
     GLib.setenv('G_MESSAGES_DEBUG', LOG_DOMAIN, false);
 ```
 
-[global-cpp]: https://gitlab.gnome.org/GNOME/gjs/blob/master/gjs/global.cpp
-[polari]: https://gitlab.gnome.org/GNOME/polari/blob/master/src/main.js
+[global-cpp]: https://gitlab.gnome.org/GNOME/gjs/blob/HEAD/gjs/global.cpp
+[polari]: https://gitlab.gnome.org/GNOME/polari/blob/HEAD/src/main.js
 
diff --git a/doc/Modules.md b/doc/Modules.md
index 4b196b56..39f16b88 100644
--- a/doc/Modules.md
+++ b/doc/Modules.md
@@ -1,6 +1,6 @@
 GJS includes some built-in modules, as well as helpers for some core APIs like DBus like Variants. The 
headings below are links to the JavaScript source, which are decently documented and informative of usage.
 
-## [Gio](https://gitlab.gnome.org/GNOME/gjs/blob/master/modules/core/overrides/Gio.js)
+## [Gio](https://gitlab.gnome.org/GNOME/gjs/blob/HEAD/modules/core/overrides/Gio.js)
 
 **Import with `const Gio = gi.require('Gio');` or `import Gio from 'gi://Gio'`**
 
@@ -30,7 +30,7 @@ The `Gio` override includes a number of utilities for DBus that will be document
 
 [old-dbus-example]: https://wiki.gnome.org/Gjs/Examples/DBusClient
 
-## [GLib](https://gitlab.gnome.org/GNOME/gjs/blob/master/modules/core/overrides/GLib.js)
+## [GLib](https://gitlab.gnome.org/GNOME/gjs/blob/HEAD/modules/core/overrides/GLib.js)
 
 **Import with `const GLib = gi.require('GLib');` or `import GLib from 'gi://GLib'`**
 
@@ -41,13 +41,13 @@ Mostly GVariant and GBytes compatibility.
 * `GLib.Variant.unpack()`: Unpack a variant to a native type
 * `GLib.Variant.deep_unpack()`: Deep unpack a variant.
 
-## [GObject](https://gitlab.gnome.org/GNOME/gjs/blob/master/modules/core/overrides/GObject.js)
+## [GObject](https://gitlab.gnome.org/GNOME/gjs/blob/HEAD/modules/core/overrides/GObject.js)
 
 **Import with `const GObject = gi.require('GObject');` or `import GObject from 'gi://GObject'`**
 
 Mostly GObject implementation (properties, signals, GType mapping). May be useful as a reference.
 
-## [Gtk](https://gitlab.gnome.org/GNOME/gjs/blob/master/modules/core/overrides/Gtk.js)
+## [Gtk](https://gitlab.gnome.org/GNOME/gjs/blob/HEAD/modules/core/overrides/Gtk.js)
 
 **Import with `const Gtk = gi.require('Gtk', '3.0');` or `import Gtk from 'gi://Gtk'`**
 
@@ -89,10 +89,10 @@ drawingArea.connect("draw", (widget, cr) => {
 });
 ```
 
-[cairo-const]: https://gitlab.gnome.org/GNOME/gjs/blob/master/modules/script/cairo.js
-[cairo-func]: https://gitlab.gnome.org/GNOME/gjs/blob/master/modules/cairo-context.cpp#L825
+[cairo-const]: https://gitlab.gnome.org/GNOME/gjs/blob/HEAD/modules/script/cairo.js
+[cairo-func]: https://gitlab.gnome.org/GNOME/gjs/blob/HEAD/modules/cairo-context.cpp#L825
 
-## [Format](https://gitlab.gnome.org/GNOME/gjs/blob/master/modules/script/format.js)
+## [Format](https://gitlab.gnome.org/GNOME/gjs/blob/HEAD/modules/script/format.js)
 
 **Import with `const Format = imports.format;`**
 
@@ -122,28 +122,28 @@ Gettext.ngettext("I have %d apple", "I have %d apples", num).format(num);
 [template-literals]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals
 [bug-50920]: https://savannah.gnu.org/bugs/?50920
 
-## [Gettext](https://gitlab.gnome.org/GNOME/gjs/blob/master/modules/script/gettext.js)
+## [Gettext](https://gitlab.gnome.org/GNOME/gjs/blob/HEAD/modules/script/gettext.js)
 
 **Import with `import gettext from 'gettext';`**
 
 Helper functions for gettext. See also [examples/gettext.js][example-gettext] for usage.
 
-[example-gettext]: https://gitlab.gnome.org/GNOME/gjs/blob/master/examples/gettext.js
+[example-gettext]: https://gitlab.gnome.org/GNOME/gjs/blob/HEAD/examples/gettext.js
 
 ### Legacy Imports (`imports.gettext`)
 
 Gettext is also exposed via `imports.gettext` on the global `imports` object.
 
-## [jsUnit](https://gitlab.gnome.org/GNOME/gjs/blob/master/modules/script/jsUnit.js)
+## [jsUnit](https://gitlab.gnome.org/GNOME/gjs/blob/HEAD/modules/script/jsUnit.js)
 
 **DEPRECATED**
 
 Deprecated unit test functions. [Jasmine][jasmine-gjs] for GJS should now be preferred, as demonstrated in 
the GJS [test suite][gjs-tests].
 
 [jasmine-gjs]: https://github.com/ptomato/jasmine-gjs
-[gjs-tests]: https://gitlab.gnome.org/GNOME/gjs/blob/master/installed-tests/js
+[gjs-tests]: https://gitlab.gnome.org/GNOME/gjs/blob/HEAD/installed-tests/js
 
-## [`Lang`](https://gitlab.gnome.org/GNOME/gjs/blob/master/modules/script/lang.js)
+## [`Lang`](https://gitlab.gnome.org/GNOME/gjs/blob/HEAD/modules/script/lang.js)
 
 **DEPRECATED**
 
@@ -176,7 +176,7 @@ var MyNewClass = class {
 }
 ```
 
-## [Mainloop](https://gitlab.gnome.org/GNOME/gjs/blob/master/modules/script/mainloop.js)
+## [Mainloop](https://gitlab.gnome.org/GNOME/gjs/blob/HEAD/modules/script/mainloop.js)
 
 **DEPRECATED**
 
@@ -185,11 +185,11 @@ Mainloop is simply a layer of convenience and backwards-compatibility over some
 [c-timeoutaddfull]: https://developer.gnome.org/glib/stable/glib-The-Main-Event-Loop.html#g-timeout-add-full
 [gjs-timeoutadd]: https://gjs-docs.gnome.org/glib20/glib.timeout_add
 
-## [Package](https://gitlab.gnome.org/GNOME/gjs/blob/master/modules/script/package.js)
+## [Package](https://gitlab.gnome.org/GNOME/gjs/blob/HEAD/modules/script/package.js)
 
 Infrastructure and utilities for [standalone applications](Home#standalone-applications).
 
-## [Signals](https://gitlab.gnome.org/GNOME/gjs/blob/master/modules/script/signals.js)
+## [Signals](https://gitlab.gnome.org/GNOME/gjs/blob/HEAD/modules/script/signals.js)
 
 **Import with `const Signals = imports.signals;`**
 
@@ -219,7 +219,7 @@ obj.disconnect(handlerId);
 obj.disconnectAll();
 ```
 
-## [System](https://gitlab.gnome.org/GNOME/gjs/blob/master/modules/system.cpp)
+## [System](https://gitlab.gnome.org/GNOME/gjs/blob/HEAD/modules/system.cpp)
 
 **Import with `import system from 'system';`**
 
@@ -273,9 +273,9 @@ The System module offers a number of useful functions and properties for debuggi
     myApp.run([System.programInvocationName].concat(ARGV));
     ```
 
-[example-application]: https://gitlab.gnome.org/GNOME/gjs/blob/master/examples/gtk-application.js
+[example-application]: https://gitlab.gnome.org/GNOME/gjs/blob/HEAD/examples/gtk-application.js
 
-## [Tweener](https://gitlab.gnome.org/GNOME/gjs/blob/master/modules/script/tweener/)
+## [Tweener](https://gitlab.gnome.org/GNOME/gjs/blob/HEAD/modules/script/tweener/)
 
 **Import with `const Tweener = imports.tweener.tweener;`**
 
diff --git a/doc/Package/Specification.md b/doc/Package/Specification.md
index ec02a688..f0d5c99e 100644
--- a/doc/Package/Specification.md
+++ b/doc/Package/Specification.md
@@ -89,7 +89,7 @@ This `main()` function should initialize a GApplication whose id is **${entry-po
 
 ## Runtime support
 
-The following API will be available to applications, through the 
[`package.js`](https://gitlab.gnome.org/GNOME/gjs/blob/master/modules/script/package.js) module.
+The following API will be available to applications, through the 
[`package.js`](https://gitlab.gnome.org/GNOME/gjs/blob/HEAD/modules/script/package.js) module.
 
 * `globalThis.pkg` (ie `pkg` on the global object) will provide access to the package module
 * `pkg.name` and `pkg.version` will return the package name and version, as passed to `pkg.init()`
diff --git a/test/test-ci.sh b/test/test-ci.sh
index 830d0faf..315dc7b9 100755
--- a/test/test-ci.sh
+++ b/test/test-ci.sh
@@ -30,7 +30,7 @@ do_Get_Upstream_Base () {
     # of date branches.
     #
     # Limit the fetch to a certain date horizon to limit the amount of data we
-    # get. If the branch was forked from origin/master before this horizon, it
+    # get. If the branch was forked from the main branch before this horizon, it
     # should probably be rebased.
     git remote add upstream https://gitlab.gnome.org/GNOME/gjs.git || \
         git remote set-url upstream https://gitlab.gnome.org/GNOME/gjs.git
diff --git a/tools/heapgraph.md b/tools/heapgraph.md
index 11a1479c..ba96d400 100644
--- a/tools/heapgraph.md
+++ b/tools/heapgraph.md
@@ -185,5 +185,5 @@ and heap parsing:
 * [GC.cpp Comments](https://searchfox.org/mozilla-central/source/js/src/gc/GC.cpp)
 * [How JavaScript Objects Are 
Implemented](https://www.infoq.com/presentations/javascript-objects-spidermonkey)
 * [Tracing garbage collection](https://en.wikipedia.org/wiki/Tracing_garbage_collection#Tri-color_marking) 
on Wikipedia
-* [SpiderMonkey Memory](https://gitlab.gnome.org/GNOME/gjs/blob/master/doc/SpiderMonkey_Memory.md) via GJS 
Repo
+* [SpiderMonkey Memory](https://gitlab.gnome.org/GNOME/gjs/blob/HEAD/doc/SpiderMonkey_Memory.md) via GJS Repo
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]