# HG changeset patch # User Evan Read <eread@gitlab.com> # Date 1686018894 -36000 # Tue Jun 06 12:34:54 2023 +1000 # Node ID 3f0f1b02788e0092000b24b90f6540c9c41dce00 # Parent 66c1109fd7011d8c9973859d2691a844548f8e37 Refresh Vale and Markdownlint rules Updates are sourced from GitLab project. diff --git a/.markdownlint.yml b/.markdownlint.yml --- a/.markdownlint.yml +++ b/.markdownlint.yml @@ -52,6 +52,7 @@ "Geo", "Git LFS", "git-annex", + "git-credential-oauth", "git-sizer", "Git", "Gitaly", @@ -102,7 +103,6 @@ "OAuth", "OAuth 2", "OmniAuth", - "Omnibus GitLab", "OpenID", "OpenShift", "PgBouncer", diff --git a/doc/.vale/gitlab/CIConfigFile.yml b/doc/.vale/gitlab/CIConfigFile.yml --- a/doc/.vale/gitlab/CIConfigFile.yml +++ b/doc/.vale/gitlab/CIConfigFile.yml @@ -10,8 +10,4 @@ level: error scope: raw raw: - - '(`gitlab-ci.yml`|' - - '`gitlabci.yml`|' - - '`gitlab.ci.yml`|' - - '`.gitlab.ci-yml`|' - - '`.gitlab-ci.yaml`)' + - '(?!`\.gitlab-ci\.yml`)`.?gitlab.?ci.?ya?ml`' diff --git a/doc/.vale/gitlab/CodeblockFences.yml b/doc/.vale/gitlab/CodeblockFences.yml --- a/doc/.vale/gitlab/CodeblockFences.yml +++ b/doc/.vale/gitlab/CodeblockFences.yml @@ -5,9 +5,9 @@ # # For a list of all options, see https://vale.sh/docs/topics/styles/ extends: existence -message: "Instead of '%s' for the code block, use yaml, ruby, plaintext, markdown, javascript, shell, golang, python, dockerfile, or typescript." +message: "Instead of '%s' for the code block, use yaml, ruby, plaintext, markdown, javascript, shell, go, python, dockerfile, or typescript." link: https://docs.gitlab.com/ee/development/documentation/styleguide/index.html#code-blocks level: error scope: raw raw: - - '\`\`\`(yml|rb|text|md|bash|sh\n|js\n|go\n|py\n|docker\n|ts)' + - '\`\`\`(yml|rb|text|md|bash|sh\n|js\n|golang\n|py\n|docker\n|ts)' diff --git a/doc/.vale/gitlab/ElementDescriptors.yml b/doc/.vale/gitlab/ElementDescriptors.yml --- a/doc/.vale/gitlab/ElementDescriptors.yml +++ b/doc/.vale/gitlab/ElementDescriptors.yml @@ -11,4 +11,4 @@ ignorecase: true scope: raw raw: - - \*\*.+?\*\* button + - \*\*[^*]+\*\*\s+button diff --git a/doc/.vale/gitlab/HeadingDepth.yml b/doc/.vale/gitlab/HeadingDepth.yml --- a/doc/.vale/gitlab/HeadingDepth.yml +++ b/doc/.vale/gitlab/HeadingDepth.yml @@ -10,4 +10,4 @@ level: suggestion scope: raw raw: - - '(?<=\n)#{5,}\s.*' + - '(?<=\n)#{6,}\s.*' diff --git a/doc/.vale/gitlab/OutdatedVersions.yml b/doc/.vale/gitlab/OutdatedVersions.yml --- a/doc/.vale/gitlab/OutdatedVersions.yml +++ b/doc/.vale/gitlab/OutdatedVersions.yml @@ -22,3 +22,4 @@ - "GitLab (v)?10." - "GitLab (v)?11." - "GitLab (v)?12." + - "GitLab (v)?13." diff --git a/doc/.vale/gitlab/RelativeLinks.yml b/doc/.vale/gitlab/RelativeLinks.yml --- a/doc/.vale/gitlab/RelativeLinks.yml +++ b/doc/.vale/gitlab/RelativeLinks.yml @@ -10,4 +10,4 @@ level: error scope: raw raw: - - '\[.+\]\(https?:\/\/docs\.gitlab\.com\/omnibus.*\)' + - '\[[^\]]+\]\(https?:\/\/docs\.gitlab\.com\/omnibus.*\)' diff --git a/doc/.vale/gitlab/SubstitutionWarning.yml b/doc/.vale/gitlab/SubstitutionWarning.yml --- a/doc/.vale/gitlab/SubstitutionWarning.yml +++ b/doc/.vale/gitlab/SubstitutionWarning.yml @@ -33,6 +33,8 @@ n/a: "not applicable" navigate to: "go to" OAuth2: "OAuth 2.0" + omnibus gitlab: "Linux package" + 'omnibus(?!\))': "Linux package" once that: "after that" once the: "after the" once you: "after you" diff --git a/doc/.vale/gitlab/Substitutions.yml b/doc/.vale/gitlab/Substitutions.yml --- a/doc/.vale/gitlab/Substitutions.yml +++ b/doc/.vale/gitlab/Substitutions.yml @@ -18,11 +18,12 @@ GitLabber: GitLab team member GitLabbers: GitLab team members GitLab-shell: GitLab Shell - gitlab omnibus: Omnibus GitLab + gitlab omnibus: Linux package param: parameter params: parameters pg: PostgreSQL 'postgres$': PostgreSQL + golang: Go raketask: Rake task raketasks: Rake tasks rspec: RSpec diff --git a/doc/.vale/gitlab/Uppercase.yml b/doc/.vale/gitlab/Uppercase.yml --- a/doc/.vale/gitlab/Uppercase.yml +++ b/doc/.vale/gitlab/Uppercase.yml @@ -57,6 +57,7 @@ - DHCP - DML - DNS + - DSN - DOM - DORA - DSA @@ -147,6 +148,7 @@ - NPM - NTP - OCI + - OIDC - OKD - OKR - ONLY diff --git a/doc/.vale/gitlab/spelling-exceptions.txt b/doc/.vale/gitlab/spelling-exceptions.txt --- a/doc/.vale/gitlab/spelling-exceptions.txt +++ b/doc/.vale/gitlab/spelling-exceptions.txt @@ -197,6 +197,7 @@ CPU CPUs CRAN +CRI-O cron crond cronjob @@ -275,6 +276,8 @@ desugars desynchronized Dev +devfile +devfiles DevOps Dhall dialogs @@ -292,6 +295,7 @@ Dockerize Dockerized Dockerizing +Docusaurus dogfood dogfooding dogfoods @@ -305,6 +309,7 @@ Dreamweaver DRIs DSLs +DSN Dynatrace Ecto eden @@ -327,6 +332,7 @@ ETags Etsy Excon +exfiltrate exfiltration ExifTool expirable @@ -392,6 +398,8 @@ GLab globals globbing +globstar +globstars Gmail Godep Golang @@ -433,6 +441,7 @@ hotfixes hotfixing hotspots +HTMLHint http https hyperparameter @@ -577,7 +586,7 @@ mitmproxy mixin mixins -MLFlow +MLflow Mmap mockup mockups @@ -1055,6 +1064,7 @@ unencoder unencodes unencrypted +unescaped unfollow unfollowed unfollows @@ -1074,6 +1084,7 @@ unoptimized unoptimizes unoptimizing +unparsable unpatched unpause unprioritized diff --git a/doc/settings/ssl/ssl_troubleshooting.md b/doc/settings/ssl/ssl_troubleshooting.md --- a/doc/settings/ssl/ssl_troubleshooting.md +++ b/doc/settings/ssl/ssl_troubleshooting.md @@ -87,27 +87,6 @@ This error indicates that [SANs](http://wiki.cacert.org/FAQ/subjectAltName) (subjectAltName) must be configured in the certificate. For more information, see [this issue](https://gitlab.com/gitlab-org/gitlab-runner/-/issues/28841). -## Git-LFS and other embedded services written in ***golang*** report custom certificate signed by unknown authority - -NOTE: -In GitLab 11.5, the following workaround is no longer necessary, embedded golang apps now [use the standard GitLab certificate directory automatically](https://gitlab.com/gitlab-org/omnibus-gitlab/-/issues/3701). - -The `gitlab-workhorse` and other services written in ***golang*** use the **crypto/tls** library from ***golang*** -instead of **OpenSSL**. - -Add the following entry in `/etc/gitlab/gitlab.rb` to work around the -[issue as reported](https://gitlab.com/gitlab-org/gitlab-workhorse/-/issues/177#note_90203818): - -```ruby -gitlab_workhorse['env'] = { - 'SSL_CERT_DIR' => '/opt/gitlab/embedded/ssl/certs/' -} -``` - -NOTE: -If you have installed GitLab to a path other than `/opt/gitlab/` then modify the entry above -with the correct path in your operating environment. - ## Reconfigure Fails Due to Certificates ```shell