From e399f2928e997076dc18092ec1c47f2cbd4ae71d Mon Sep 17 00:00:00 2001 From: Marcono1234 Date: Sun, 4 Aug 2024 08:38:01 +0200 Subject: [PATCH] Fix `unmatched-organization` warnings for deny template (#688) --- deny.template.toml | 12 ++++++------ docs/src/checks/sources/cfg.md | 8 ++++---- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/deny.template.toml b/deny.template.toml index f38a8f23e..bd776cf32 100644 --- a/deny.template.toml +++ b/deny.template.toml @@ -227,9 +227,9 @@ allow-registry = ["https://github.com/rust-lang/crates.io-index"] allow-git = [] [sources.allow-org] -# 1 or more github.com organizations to allow git sources for -github = [""] -# 1 or more gitlab.com organizations to allow git sources for -gitlab = [""] -# 1 or more bitbucket.org organizations to allow git sources for -bitbucket = [""] +# github.com organizations to allow git sources for +github = [] +# gitlab.com organizations to allow git sources for +gitlab = [] +# bitbucket.org organizations to allow git sources for +bitbucket = [] diff --git a/docs/src/checks/sources/cfg.md b/docs/src/checks/sources/cfg.md index 9ed0ee38c..89c927c8c 100644 --- a/docs/src/checks/sources/cfg.md +++ b/docs/src/checks/sources/cfg.md @@ -94,11 +94,11 @@ Generally, I think most projects in the Rust space probably follow a similar pro When working in a company or organization, it is often the case that all crates will be forked to a shared organization account rather than a personal Github account. However, if you lint your git sources, every new and deleted fork needs to keep that list updated, which is tedious, even if all the forks fall under the same organization (in Github terminology), even though presumably only people you trust have permission to create forks there, and you would like to just blanket trust any repo under that org. -The `allow-org` object allows you to specify 1 or more organizations or users in several VCS providers to more easily configure git sources for your projects. +The `allow-org` object allows you to specify multiple organizations or users in several VCS providers to more easily configure git sources for your projects. #### The `github` field (optional) -Allows you to specify one or more `github.com` organizations to allow as git sources. +Allows you to specify multiple `github.com` organizations to allow as git sources. ```ini [sources.allow-org] @@ -107,7 +107,7 @@ github = ["YourCoolOrgGoesHere"] #### The `gitlab` field (optional) -Allows you to specify one or more `gitlab.com` organizations to allow as git sources. +Allows you to specify multiple `gitlab.com` organizations to allow as git sources. ```ini [sources.allow-org] @@ -116,7 +116,7 @@ gitlab = ["YourCoolOrgGoesHere"] #### The `bitbucket` field (optional) -Allows you to specify one or more `bitbucket.org` organizations to allow as git sources. +Allows you to specify multiple `bitbucket.org` organizations to allow as git sources. ```ini [sources.allow-org]