diff --git a/roles/dev-fakeroot/README.md b/roles/dev-fakeroot/README.md index 69c36b5b28..22c11f8256 100644 --- a/roles/dev-fakeroot/README.md +++ b/roles/dev-fakeroot/README.md @@ -4,7 +4,7 @@ This Ansible role installs **fakeroot** for the current Linux distribution. Fakeroot enables non-privileged users to simulate root-level file manipulations, making it ideal for building packages or performing file operations that normally require root permissions. -Learn more about fakeroot on [Wikipedia](https://en.wikipedia.org/wiki/Fakeroot_(software)) and [fakeroot on Debian](https://packages.debian.org/stable/fakeroot). +Learn more about fakeroot on the [Debian Wiki](https://wiki.debian.org/FakeRoot) and [fakeroot on Debian](https://packages.debian.org/stable/fakeroot). ## Overview diff --git a/roles/svc-opt-keyboard-color/README.md b/roles/svc-opt-keyboard-color/README.md index ebeb2d643c..9358844437 100644 --- a/roles/svc-opt-keyboard-color/README.md +++ b/roles/svc-opt-keyboard-color/README.md @@ -2,7 +2,7 @@ ## Description -[msi-perkeyrgb](https://github.com/Nimayer/msi-perkeyrgb) is a tool for setting dynamic per-key RGB keyboard colors on MSI laptops. +[msi-perkeyrgb](https://github.com/Askannz/msi-perkeyrgb) is a tool for setting dynamic per-key RGB keyboard colors on MSI laptops. ## Overview diff --git a/roles/web-app-bigbluebutton/templates/env.j2 b/roles/web-app-bigbluebutton/templates/env.j2 index c2c6d43ce2..59a571b543 100644 --- a/roles/web-app-bigbluebutton/templates/env.j2 +++ b/roles/web-app-bigbluebutton/templates/env.j2 @@ -153,8 +153,7 @@ NUMBER_OF_FRONTEND_NODEJS_PROCESSES=2 # # For in-depth steps on setting up a Office 365 Login Provider, see: # -# nocheck: url -# https://docs.bigbluebutton.org/greenlight/gl-admin#office365-oauth2 +# https://docs.bigbluebutton.org/greenlight/v3/install/ # OFFICE365_KEY= OFFICE365_SECRET= @@ -171,8 +170,7 @@ OAUTH2_REDIRECT= # Configuring LDAP authentication will take precedence over all other providers. # For information about setting up LDAP, see: # -# nocheck: url -# https://docs.bigbluebutton.org/greenlight/gl-admin#ldap-auth +# https://docs.bigbluebutton.org/greenlight/v3/install/ LDAP_SERVER="{{ LDAP.SERVER.DOMAIN }}" LDAP_PORT="{{ LDAP.SERVER.PORT }}" @@ -192,8 +190,7 @@ LDAP_PASSWORD={{ LDAP.BIND_CREDENTIAL | dotenv_quote }} # Set this to true if you want GreenLight to support user signup and login without # Omniauth. For more information, see: # -# nocheck: url -# https://docs.bigbluebutton.org/greenlight/gl-overview#accounts-and-profile +# https://docs.bigbluebutton.org/greenlight/v3/install/ # ALLOW_GREENLIGHT_ACCOUNTS=true @@ -273,8 +270,7 @@ MAINTENANCE_WINDOW= # # Defaults to the Greenlight documentation # Button can be disabled by setting the value to blank -# nocheck: url -HELP_URL=https://docs.bigbluebutton.org/greenlight/gl-overview +HELP_URL=https://docs.bigbluebutton.org/greenlight/v3/install/ # Specify the default registration to be used by Greenlight until an administrator sets the # registration method diff --git a/roles/web-app-fider/templates/env.j2 b/roles/web-app-fider/templates/env.j2 index bf88215ade..136c71679f 100644 --- a/roles/web-app-fider/templates/env.j2 +++ b/roles/web-app-fider/templates/env.j2 @@ -1,6 +1,5 @@ # Fider configuration -# nocheck: url -# @see https://getfider.com/docs/hosting +# @see https://docs.fider.io/self-hosted/ BASE_URL={{ lookup('tls', application_id, 'url.base') }} DATABASE_URL=postgresql://{{ lookup('database', application_id, 'username') }}:{{ lookup('database', application_id, 'password') }}@{{ lookup('database', application_id, 'host') }}:{{ lookup('database', application_id, 'port') }}/{{ lookup('database', application_id, 'name') }}?sslmode=disable @@ -8,8 +7,7 @@ JWT_SECRET={{ (application_id ~ users.administrator.password) | hash('sha256') } {% if SYSTEM_EMAIL_ENABLED | bool %} # Email configuration -# nocheck: url -# @see https://getfider.com/docs/hosting#email +# @see https://docs.fider.io/self-hosted/ EMAIL_NOREPLY={{ users['no-reply'].email }} EMAIL_SMTP_HOST={{ SYSTEM_EMAIL_HOST }} EMAIL_SMTP_PORT={{ SYSTEM_EMAIL_PORT }} diff --git a/roles/web-app-magento/templates/env.j2 b/roles/web-app-magento/templates/env.j2 index ce3a4f14d4..258e1873ff 100644 --- a/roles/web-app-magento/templates/env.j2 +++ b/roles/web-app-magento/templates/env.j2 @@ -1,7 +1,6 @@ # Magento environment # Base references: -# nocheck: url -# - https://hub.docker.com/r/bitnami/magento +# - https://hub.docker.com/r/bitnamicharts/magento # Host & URLs MAGENTO_URL="{{ MAGENTO_URL }}" diff --git a/tests/external/repository/test_urls_reachable.py b/tests/external/repository/test_urls_reachable.py index c3d4521e97..f89f073aab 100644 --- a/tests/external/repository/test_urls_reachable.py +++ b/tests/external/repository/test_urls_reachable.py @@ -7,8 +7,8 @@ local/example hosts are skipped. This is an external test because it performs live HTTP requests against the referenced third-party URLs. HTTP ``401``, ``403``, and ``405`` are treated as reachable (auth-gated or method-restricted servers). HTTP ``429``, ``500``, and -``503`` emit warning annotations. All other 4xx/5xx codes and connection errors -fail the test. +``503``, timeouts, and connection errors (reset, aborted) emit warning annotations. +All other 4xx/5xx codes fail the test. """ from __future__ import annotations @@ -332,6 +332,8 @@ def _probe_url(url: str) -> ProbeOutcome: response.close() except requests.Timeout as exc: return ProbeOutcome("warn", f"Timeout: {exc}") + except requests.ConnectionError as exc: + return ProbeOutcome("warn", f"ConnectionError: {exc}") except requests.RequestException as exc: return ProbeOutcome("fail", f"{type(exc).__name__}: {exc}") except Exception as exc: # pragma: no cover - defensive safety net diff --git a/tests/unit/roles/web-app-littlejs/filter_plugins/test_littlejs.py b/tests/unit/roles/web-app-littlejs/filter_plugins/test_littlejs.py index 968332501b..881a565f19 100644 --- a/tests/unit/roles/web-app-littlejs/filter_plugins/test_littlejs.py +++ b/tests/unit/roles/web-app-littlejs/filter_plugins/test_littlejs.py @@ -50,10 +50,8 @@ class TestLittlejsHref(unittest.TestCase): def test_respects_protocol_and_domain(self): example = {"file": "platformer", "is_project": True} - href = type(self)._littlejs_href(example, "http", "littlejs.infinito.nexus") - self.assertEqual( - href, "http://littlejs.infinito.nexus/examples/platformer/" - ) # nocheck: url + href = type(self)._littlejs_href(example, "http", "littlejs.example.com") + self.assertEqual(href, "http://littlejs.example.com/examples/platformer/") if __name__ == "__main__":