From 05eee6210fe830fd8f406ca17f2d9c4710949c14 Mon Sep 17 00:00:00 2001 From: Erik Seliger Date: Thu, 11 Nov 2021 09:28:46 +0100 Subject: [PATCH] Bump src-cli version (#27394) --- doc/cli/references/api.md | 3 +++ doc/cli/references/batch/apply.md | 3 +++ doc/cli/references/batch/exec.md | 3 +++ doc/cli/references/batch/new.md | 3 +++ doc/cli/references/batch/preview.md | 3 +++ doc/cli/references/batch/repositories.md | 3 +++ doc/cli/references/batch/validate.md | 3 +++ doc/cli/references/config/edit.md | 3 +++ doc/cli/references/config/get.md | 3 +++ doc/cli/references/config/list.md | 3 +++ doc/cli/references/extensions/copy.md | 3 +++ doc/cli/references/extensions/delete.md | 3 +++ doc/cli/references/extensions/get.md | 3 +++ doc/cli/references/extensions/list.md | 3 +++ doc/cli/references/extensions/publish.md | 3 +++ doc/cli/references/extsvc/edit.md | 3 +++ doc/cli/references/extsvc/list.md | 3 +++ doc/cli/references/login.md | 3 +++ doc/cli/references/orgs/create.md | 3 +++ doc/cli/references/orgs/delete.md | 3 +++ doc/cli/references/orgs/get.md | 3 +++ doc/cli/references/orgs/list.md | 3 +++ doc/cli/references/orgs/members/add.md | 3 +++ doc/cli/references/orgs/members/remove.md | 3 +++ doc/cli/references/repos/delete.md | 3 +++ doc/cli/references/repos/get.md | 3 +++ doc/cli/references/repos/list.md | 3 +++ doc/cli/references/search.md | 3 +++ doc/cli/references/users/create.md | 3 +++ doc/cli/references/users/delete.md | 3 +++ doc/cli/references/users/get.md | 3 +++ doc/cli/references/users/list.md | 3 +++ doc/cli/references/users/tag.md | 3 +++ doc/cli/references/validate.md | 3 +++ doc/cli/references/version.md | 3 +++ internal/src-cli/consts.go | 2 +- 36 files changed, 106 insertions(+), 1 deletion(-) diff --git a/doc/cli/references/api.md b/doc/cli/references/api.md index 7c279eb4f6f..c98b0025f2c 100644 --- a/doc/cli/references/api.md +++ b/doc/cli/references/api.md @@ -10,6 +10,7 @@ | `-insecure-skip-verify` | Skip validation of TLS certificates against trusted chains | `false` | | `-query` | GraphQL query to execute, e.g. 'query { currentUser { username } }' (stdin otherwise) | | | `-trace` | Log the trace ID for requests. See https://docs.sourcegraph.com/admin/observability/tracing | `false` | +| `-user-agent-telemetry` | Include the operating system and architecture in the User-Agent sent with requests to Sourcegraph | `true` | | `-vars` | GraphQL query variables to include as JSON string, e.g. '{"var": "val", "var2": "val2"}' | | @@ -27,6 +28,8 @@ Usage of 'src api': GraphQL query to execute, e.g. 'query { currentUser { username } }' (stdin otherwise) -trace Log the trace ID for requests. See https://docs.sourcegraph.com/admin/observability/tracing + -user-agent-telemetry + Include the operating system and architecture in the User-Agent sent with requests to Sourcegraph (default true) -vars string GraphQL query variables to include as JSON string, e.g. '{"var": "val", "var2": "val2"}' diff --git a/doc/cli/references/batch/apply.md b/doc/cli/references/batch/apply.md index f85e040c9d8..176a1805f3c 100644 --- a/doc/cli/references/batch/apply.md +++ b/doc/cli/references/batch/apply.md @@ -24,6 +24,7 @@ | `-timeout` | The maximum duration a single batch spec step can take. | `1h0m0s` | | `-tmp` | Directory for storing temporary data, such as log files. Default is /tmp. Can also be set with environment variable SRC_BATCH_TMP_DIR; if both are set, this flag will be used and not the environment variable. | `/tmp` | | `-trace` | Log the trace ID for requests. See https://docs.sourcegraph.com/admin/observability/tracing | `false` | +| `-user-agent-telemetry` | Include the operating system and architecture in the User-Agent sent with requests to Sourcegraph | `true` | | `-v` | print verbose output | `false` | | `-workspace` | Workspace mode to use ("auto", "bind", or "volume") | `auto` | @@ -70,6 +71,8 @@ Usage of 'src batch apply': Directory for storing temporary data, such as log files. Default is /tmp. Can also be set with environment variable SRC_BATCH_TMP_DIR; if both are set, this flag will be used and not the environment variable. (default "/tmp") -trace Log the trace ID for requests. See https://docs.sourcegraph.com/admin/observability/tracing + -user-agent-telemetry + Include the operating system and architecture in the User-Agent sent with requests to Sourcegraph (default true) -v print verbose output -workspace string Workspace mode to use ("auto", "bind", or "volume") (default "auto") diff --git a/doc/cli/references/batch/exec.md b/doc/cli/references/batch/exec.md index e145302a856..4c49202d2c1 100644 --- a/doc/cli/references/batch/exec.md +++ b/doc/cli/references/batch/exec.md @@ -17,6 +17,7 @@ | `-timeout` | The maximum duration a single batch spec step can take. | `1h0m0s` | | `-tmp` | Directory for storing temporary data, such as log files. Default is /tmp. Can also be set with environment variable SRC_BATCH_TMP_DIR; if both are set, this flag will be used and not the environment variable. | `/tmp` | | `-trace` | Log the trace ID for requests. See https://docs.sourcegraph.com/admin/observability/tracing | `false` | +| `-user-agent-telemetry` | Include the operating system and architecture in the User-Agent sent with requests to Sourcegraph | `true` | | `-v` | print verbose output | `false` | | `-workspace` | Workspace mode to use ("auto", "bind", or "volume") | `auto` | @@ -49,6 +50,8 @@ Usage of 'src batch exec': Directory for storing temporary data, such as log files. Default is /tmp. Can also be set with environment variable SRC_BATCH_TMP_DIR; if both are set, this flag will be used and not the environment variable. (default "/tmp") -trace Log the trace ID for requests. See https://docs.sourcegraph.com/admin/observability/tracing + -user-agent-telemetry + Include the operating system and architecture in the User-Agent sent with requests to Sourcegraph (default true) -v print verbose output -workspace string Workspace mode to use ("auto", "bind", or "volume") (default "auto") diff --git a/doc/cli/references/batch/new.md b/doc/cli/references/batch/new.md index 0d0bc9f93e9..67f29f0927c 100644 --- a/doc/cli/references/batch/new.md +++ b/doc/cli/references/batch/new.md @@ -10,6 +10,7 @@ | `-get-curl` | Print the curl command for executing this query and exit (WARNING: includes printing your access token!) | `false` | | `-insecure-skip-verify` | Skip validation of TLS certificates against trusted chains | `false` | | `-trace` | Log the trace ID for requests. See https://docs.sourcegraph.com/admin/observability/tracing | `false` | +| `-user-agent-telemetry` | Include the operating system and architecture in the User-Agent sent with requests to Sourcegraph | `true` | ## Usage @@ -26,6 +27,8 @@ Usage of 'src batch new': Skip validation of TLS certificates against trusted chains -trace Log the trace ID for requests. See https://docs.sourcegraph.com/admin/observability/tracing + -user-agent-telemetry + Include the operating system and architecture in the User-Agent sent with requests to Sourcegraph (default true) 'src batch new' creates a new batch spec YAML, prefilled with all required fields. diff --git a/doc/cli/references/batch/preview.md b/doc/cli/references/batch/preview.md index 02a60625da3..b319053e395 100644 --- a/doc/cli/references/batch/preview.md +++ b/doc/cli/references/batch/preview.md @@ -24,6 +24,7 @@ | `-timeout` | The maximum duration a single batch spec step can take. | `1h0m0s` | | `-tmp` | Directory for storing temporary data, such as log files. Default is /tmp. Can also be set with environment variable SRC_BATCH_TMP_DIR; if both are set, this flag will be used and not the environment variable. | `/tmp` | | `-trace` | Log the trace ID for requests. See https://docs.sourcegraph.com/admin/observability/tracing | `false` | +| `-user-agent-telemetry` | Include the operating system and architecture in the User-Agent sent with requests to Sourcegraph | `true` | | `-v` | print verbose output | `false` | | `-workspace` | Workspace mode to use ("auto", "bind", or "volume") | `auto` | @@ -70,6 +71,8 @@ Usage of 'src batch preview': Directory for storing temporary data, such as log files. Default is /tmp. Can also be set with environment variable SRC_BATCH_TMP_DIR; if both are set, this flag will be used and not the environment variable. (default "/tmp") -trace Log the trace ID for requests. See https://docs.sourcegraph.com/admin/observability/tracing + -user-agent-telemetry + Include the operating system and architecture in the User-Agent sent with requests to Sourcegraph (default true) -v print verbose output -workspace string Workspace mode to use ("auto", "bind", or "volume") (default "auto") diff --git a/doc/cli/references/batch/repositories.md b/doc/cli/references/batch/repositories.md index 2e9fdd3bf1c..7144884286f 100644 --- a/doc/cli/references/batch/repositories.md +++ b/doc/cli/references/batch/repositories.md @@ -10,6 +10,7 @@ | `-get-curl` | Print the curl command for executing this query and exit (WARNING: includes printing your access token!) | `false` | | `-insecure-skip-verify` | Skip validation of TLS certificates against trusted chains | `false` | | `-trace` | Log the trace ID for requests. See https://docs.sourcegraph.com/admin/observability/tracing | `false` | +| `-user-agent-telemetry` | Include the operating system and architecture in the User-Agent sent with requests to Sourcegraph | `true` | ## Usage @@ -26,6 +27,8 @@ Usage of 'src batch repositories': Skip validation of TLS certificates against trusted chains -trace Log the trace ID for requests. See https://docs.sourcegraph.com/admin/observability/tracing + -user-agent-telemetry + Include the operating system and architecture in the User-Agent sent with requests to Sourcegraph (default true) 'src batch repositories' works out the repositories that a batch spec would apply to. diff --git a/doc/cli/references/batch/validate.md b/doc/cli/references/batch/validate.md index d053c729a29..d17c07e0b4e 100644 --- a/doc/cli/references/batch/validate.md +++ b/doc/cli/references/batch/validate.md @@ -10,6 +10,7 @@ | `-get-curl` | Print the curl command for executing this query and exit (WARNING: includes printing your access token!) | `false` | | `-insecure-skip-verify` | Skip validation of TLS certificates against trusted chains | `false` | | `-trace` | Log the trace ID for requests. See https://docs.sourcegraph.com/admin/observability/tracing | `false` | +| `-user-agent-telemetry` | Include the operating system and architecture in the User-Agent sent with requests to Sourcegraph | `true` | ## Usage @@ -26,6 +27,8 @@ Usage of 'src batch validate': Skip validation of TLS certificates against trusted chains -trace Log the trace ID for requests. See https://docs.sourcegraph.com/admin/observability/tracing + -user-agent-telemetry + Include the operating system and architecture in the User-Agent sent with requests to Sourcegraph (default true) 'src batch validate' validates the given batch spec. diff --git a/doc/cli/references/config/edit.md b/doc/cli/references/config/edit.md index 4f6c0bcb3fe..67959780b94 100644 --- a/doc/cli/references/config/edit.md +++ b/doc/cli/references/config/edit.md @@ -12,6 +12,7 @@ | `-property` | The name of the settings property to set. | | | `-subject` | The ID of the settings subject whose settings to edit. (default: authenticated user) | | | `-trace` | Log the trace ID for requests. See https://docs.sourcegraph.com/admin/observability/tracing | `false` | +| `-user-agent-telemetry` | Include the operating system and architecture in the User-Agent sent with requests to Sourcegraph | `true` | | `-value` | The value for the settings property (when used with -property). | | | `-value-file` | Read the value from this file instead of from the -value command-line option. | | @@ -34,6 +35,8 @@ Usage of 'src config edit': The ID of the settings subject whose settings to edit. (default: authenticated user) -trace Log the trace ID for requests. See https://docs.sourcegraph.com/admin/observability/tracing + -user-agent-telemetry + Include the operating system and architecture in the User-Agent sent with requests to Sourcegraph (default true) -value string The value for the settings property (when used with -property). -value-file string diff --git a/doc/cli/references/config/get.md b/doc/cli/references/config/get.md index a852c67cc85..6b0846c139a 100644 --- a/doc/cli/references/config/get.md +++ b/doc/cli/references/config/get.md @@ -11,6 +11,7 @@ | `-insecure-skip-verify` | Skip validation of TLS certificates against trusted chains | `false` | | `-subject` | The ID of the settings subject whose settings to get. (default: authenticated user) | | | `-trace` | Log the trace ID for requests. See https://docs.sourcegraph.com/admin/observability/tracing | `false` | +| `-user-agent-telemetry` | Include the operating system and architecture in the User-Agent sent with requests to Sourcegraph | `true` | ## Usage @@ -29,6 +30,8 @@ Usage of 'src config get': The ID of the settings subject whose settings to get. (default: authenticated user) -trace Log the trace ID for requests. See https://docs.sourcegraph.com/admin/observability/tracing + -user-agent-telemetry + Include the operating system and architecture in the User-Agent sent with requests to Sourcegraph (default true) Examples: diff --git a/doc/cli/references/config/list.md b/doc/cli/references/config/list.md index f2c31556333..0264501c0be 100644 --- a/doc/cli/references/config/list.md +++ b/doc/cli/references/config/list.md @@ -11,6 +11,7 @@ | `-insecure-skip-verify` | Skip validation of TLS certificates against trusted chains | `false` | | `-subject` | The ID of the settings subject whose settings to list. (default: authenticated user) | | | `-trace` | Log the trace ID for requests. See https://docs.sourcegraph.com/admin/observability/tracing | `false` | +| `-user-agent-telemetry` | Include the operating system and architecture in the User-Agent sent with requests to Sourcegraph | `true` | ## Usage @@ -29,6 +30,8 @@ Usage of 'src config list': The ID of the settings subject whose settings to list. (default: authenticated user) -trace Log the trace ID for requests. See https://docs.sourcegraph.com/admin/observability/tracing + -user-agent-telemetry + Include the operating system and architecture in the User-Agent sent with requests to Sourcegraph (default true) Examples: diff --git a/doc/cli/references/extensions/copy.md b/doc/cli/references/extensions/copy.md index 1c34feba5ce..c2a65ad733d 100644 --- a/doc/cli/references/extensions/copy.md +++ b/doc/cli/references/extensions/copy.md @@ -11,6 +11,7 @@ | `-get-curl` | Print the curl command for executing this query and exit (WARNING: includes printing your access token!) | `false` | | `-insecure-skip-verify` | Skip validation of TLS certificates against trusted chains | `false` | | `-trace` | Log the trace ID for requests. See https://docs.sourcegraph.com/admin/observability/tracing | `false` | +| `-user-agent-telemetry` | Include the operating system and architecture in the User-Agent sent with requests to Sourcegraph | `true` | ## Usage @@ -29,6 +30,8 @@ Usage of 'src extensions copy': Skip validation of TLS certificates against trusted chains -trace Log the trace ID for requests. See https://docs.sourcegraph.com/admin/observability/tracing + -user-agent-telemetry + Include the operating system and architecture in the User-Agent sent with requests to Sourcegraph (default true) Copy an extension from Sourcegraph.com to your private registry. diff --git a/doc/cli/references/extensions/delete.md b/doc/cli/references/extensions/delete.md index ce5cc8914ac..2222034c8cd 100644 --- a/doc/cli/references/extensions/delete.md +++ b/doc/cli/references/extensions/delete.md @@ -10,6 +10,7 @@ | `-id` | The ID (GraphQL API ID, not extension ID) of the extension to delete. | | | `-insecure-skip-verify` | Skip validation of TLS certificates against trusted chains | `false` | | `-trace` | Log the trace ID for requests. See https://docs.sourcegraph.com/admin/observability/tracing | `false` | +| `-user-agent-telemetry` | Include the operating system and architecture in the User-Agent sent with requests to Sourcegraph | `true` | ## Usage @@ -26,6 +27,8 @@ Usage of 'src extensions delete': Skip validation of TLS certificates against trusted chains -trace Log the trace ID for requests. See https://docs.sourcegraph.com/admin/observability/tracing + -user-agent-telemetry + Include the operating system and architecture in the User-Agent sent with requests to Sourcegraph (default true) Examples: diff --git a/doc/cli/references/extensions/get.md b/doc/cli/references/extensions/get.md index dc13f2d8b51..869457bbbd7 100644 --- a/doc/cli/references/extensions/get.md +++ b/doc/cli/references/extensions/get.md @@ -11,6 +11,7 @@ | `-get-curl` | Print the curl command for executing this query and exit (WARNING: includes printing your access token!) | `false` | | `-insecure-skip-verify` | Skip validation of TLS certificates against trusted chains | `false` | | `-trace` | Log the trace ID for requests. See https://docs.sourcegraph.com/admin/observability/tracing | `false` | +| `-user-agent-telemetry` | Include the operating system and architecture in the User-Agent sent with requests to Sourcegraph | `true` | ## Usage @@ -29,6 +30,8 @@ Usage of 'src extensions get': Skip validation of TLS certificates against trusted chains -trace Log the trace ID for requests. See https://docs.sourcegraph.com/admin/observability/tracing + -user-agent-telemetry + Include the operating system and architecture in the User-Agent sent with requests to Sourcegraph (default true) Examples: diff --git a/doc/cli/references/extensions/list.md b/doc/cli/references/extensions/list.md index e737f8bd130..9885e2d07ab 100644 --- a/doc/cli/references/extensions/list.md +++ b/doc/cli/references/extensions/list.md @@ -12,6 +12,7 @@ | `-insecure-skip-verify` | Skip validation of TLS certificates against trusted chains | `false` | | `-query` | Returns extensions whose extension IDs match the query. (e.g. "myextension") | | | `-trace` | Log the trace ID for requests. See https://docs.sourcegraph.com/admin/observability/tracing | `false` | +| `-user-agent-telemetry` | Include the operating system and architecture in the User-Agent sent with requests to Sourcegraph | `true` | ## Usage @@ -32,6 +33,8 @@ Usage of 'src extensions list': Returns extensions whose extension IDs match the query. (e.g. "myextension") -trace Log the trace ID for requests. See https://docs.sourcegraph.com/admin/observability/tracing + -user-agent-telemetry + Include the operating system and architecture in the User-Agent sent with requests to Sourcegraph (default true) Examples: diff --git a/doc/cli/references/extensions/publish.md b/doc/cli/references/extensions/publish.md index 5fc7e415db2..938695278f6 100644 --- a/doc/cli/references/extensions/publish.md +++ b/doc/cli/references/extensions/publish.md @@ -14,6 +14,7 @@ | `-manifest` | The extension manifest file. | `package.json` | | `-trace` | Log the trace ID for requests. See https://docs.sourcegraph.com/admin/observability/tracing | `false` | | `-url` | Override the URL for the bundle. (example: set to http://localhost:1234/myext.js for local dev with parcel) | | +| `-user-agent-telemetry` | Include the operating system and architecture in the User-Agent sent with requests to Sourcegraph | `true` | ## Usage @@ -38,6 +39,8 @@ Usage of 'src extensions publish': Log the trace ID for requests. See https://docs.sourcegraph.com/admin/observability/tracing -url string Override the URL for the bundle. (example: set to http://localhost:1234/myext.js for local dev with parcel) + -user-agent-telemetry + Include the operating system and architecture in the User-Agent sent with requests to Sourcegraph (default true) Publish an extension to Sourcegraph, creating it (if necessary). diff --git a/doc/cli/references/extsvc/edit.md b/doc/cli/references/extsvc/edit.md index a62bfeae0fc..856304c6e84 100644 --- a/doc/cli/references/extsvc/edit.md +++ b/doc/cli/references/extsvc/edit.md @@ -13,6 +13,7 @@ | `-name` | exact name of the external service to edit | | | `-rename` | when specified, renames the external service | | | `-trace` | Log the trace ID for requests. See https://docs.sourcegraph.com/admin/observability/tracing | `false` | +| `-user-agent-telemetry` | Include the operating system and architecture in the User-Agent sent with requests to Sourcegraph | `true` | ## Usage @@ -35,6 +36,8 @@ Usage of 'src extsvc edit': when specified, renames the external service -trace Log the trace ID for requests. See https://docs.sourcegraph.com/admin/observability/tracing + -user-agent-telemetry + Include the operating system and architecture in the User-Agent sent with requests to Sourcegraph (default true) Examples: diff --git a/doc/cli/references/extsvc/list.md b/doc/cli/references/extsvc/list.md index d309d991963..7aef6404270 100644 --- a/doc/cli/references/extsvc/list.md +++ b/doc/cli/references/extsvc/list.md @@ -11,6 +11,7 @@ | `-get-curl` | Print the curl command for executing this query and exit (WARNING: includes printing your access token!) | `false` | | `-insecure-skip-verify` | Skip validation of TLS certificates against trusted chains | `false` | | `-trace` | Log the trace ID for requests. See https://docs.sourcegraph.com/admin/observability/tracing | `false` | +| `-user-agent-telemetry` | Include the operating system and architecture in the User-Agent sent with requests to Sourcegraph | `true` | ## Usage @@ -29,6 +30,8 @@ Usage of 'src extsvc list': Skip validation of TLS certificates against trusted chains -trace Log the trace ID for requests. See https://docs.sourcegraph.com/admin/observability/tracing + -user-agent-telemetry + Include the operating system and architecture in the User-Agent sent with requests to Sourcegraph (default true) Examples: diff --git a/doc/cli/references/login.md b/doc/cli/references/login.md index 2f3c08e00d5..a53c76fd72b 100644 --- a/doc/cli/references/login.md +++ b/doc/cli/references/login.md @@ -9,6 +9,7 @@ | `-get-curl` | Print the curl command for executing this query and exit (WARNING: includes printing your access token!) | `false` | | `-insecure-skip-verify` | Skip validation of TLS certificates against trusted chains | `false` | | `-trace` | Log the trace ID for requests. See https://docs.sourcegraph.com/admin/observability/tracing | `false` | +| `-user-agent-telemetry` | Include the operating system and architecture in the User-Agent sent with requests to Sourcegraph | `true` | ## Usage @@ -38,6 +39,8 @@ Examples: Skip validation of TLS certificates against trusted chains -trace Log the trace ID for requests. See https://docs.sourcegraph.com/admin/observability/tracing + -user-agent-telemetry + Include the operating system and architecture in the User-Agent sent with requests to Sourcegraph (default true) ``` \ No newline at end of file diff --git a/doc/cli/references/orgs/create.md b/doc/cli/references/orgs/create.md index 48b574dede8..7f1f54108c3 100644 --- a/doc/cli/references/orgs/create.md +++ b/doc/cli/references/orgs/create.md @@ -11,6 +11,7 @@ | `-insecure-skip-verify` | Skip validation of TLS certificates against trusted chains | `false` | | `-name` | The new organization's name. (required) | | | `-trace` | Log the trace ID for requests. See https://docs.sourcegraph.com/admin/observability/tracing | `false` | +| `-user-agent-telemetry` | Include the operating system and architecture in the User-Agent sent with requests to Sourcegraph | `true` | ## Usage @@ -29,6 +30,8 @@ Usage of 'src orgs create': The new organization's name. (required) -trace Log the trace ID for requests. See https://docs.sourcegraph.com/admin/observability/tracing + -user-agent-telemetry + Include the operating system and architecture in the User-Agent sent with requests to Sourcegraph (default true) Examples: diff --git a/doc/cli/references/orgs/delete.md b/doc/cli/references/orgs/delete.md index 7686c0ea992..5175de5335e 100644 --- a/doc/cli/references/orgs/delete.md +++ b/doc/cli/references/orgs/delete.md @@ -10,6 +10,7 @@ | `-id` | The ID of the organization to delete. | | | `-insecure-skip-verify` | Skip validation of TLS certificates against trusted chains | `false` | | `-trace` | Log the trace ID for requests. See https://docs.sourcegraph.com/admin/observability/tracing | `false` | +| `-user-agent-telemetry` | Include the operating system and architecture in the User-Agent sent with requests to Sourcegraph | `true` | ## Usage @@ -26,6 +27,8 @@ Usage of 'src orgs delete': Skip validation of TLS certificates against trusted chains -trace Log the trace ID for requests. See https://docs.sourcegraph.com/admin/observability/tracing + -user-agent-telemetry + Include the operating system and architecture in the User-Agent sent with requests to Sourcegraph (default true) Examples: diff --git a/doc/cli/references/orgs/get.md b/doc/cli/references/orgs/get.md index e2686937cfd..0e583d38e10 100644 --- a/doc/cli/references/orgs/get.md +++ b/doc/cli/references/orgs/get.md @@ -11,6 +11,7 @@ | `-insecure-skip-verify` | Skip validation of TLS certificates against trusted chains | `false` | | `-name` | Look up organization by name. (e.g. "abc-org") | | | `-trace` | Log the trace ID for requests. See https://docs.sourcegraph.com/admin/observability/tracing | `false` | +| `-user-agent-telemetry` | Include the operating system and architecture in the User-Agent sent with requests to Sourcegraph | `true` | ## Usage @@ -29,6 +30,8 @@ Usage of 'src orgs get': Look up organization by name. (e.g. "abc-org") -trace Log the trace ID for requests. See https://docs.sourcegraph.com/admin/observability/tracing + -user-agent-telemetry + Include the operating system and architecture in the User-Agent sent with requests to Sourcegraph (default true) Examples: diff --git a/doc/cli/references/orgs/list.md b/doc/cli/references/orgs/list.md index 68a32ef8994..b37ae9d7cd7 100644 --- a/doc/cli/references/orgs/list.md +++ b/doc/cli/references/orgs/list.md @@ -12,6 +12,7 @@ | `-insecure-skip-verify` | Skip validation of TLS certificates against trusted chains | `false` | | `-query` | Returns organizations whose names match the query. (e.g. "alice") | | | `-trace` | Log the trace ID for requests. See https://docs.sourcegraph.com/admin/observability/tracing | `false` | +| `-user-agent-telemetry` | Include the operating system and architecture in the User-Agent sent with requests to Sourcegraph | `true` | ## Usage @@ -32,6 +33,8 @@ Usage of 'src orgs list': Returns organizations whose names match the query. (e.g. "alice") -trace Log the trace ID for requests. See https://docs.sourcegraph.com/admin/observability/tracing + -user-agent-telemetry + Include the operating system and architecture in the User-Agent sent with requests to Sourcegraph (default true) Examples: diff --git a/doc/cli/references/orgs/members/add.md b/doc/cli/references/orgs/members/add.md index 98fec3848c1..3d87f913559 100644 --- a/doc/cli/references/orgs/members/add.md +++ b/doc/cli/references/orgs/members/add.md @@ -10,6 +10,7 @@ | `-insecure-skip-verify` | Skip validation of TLS certificates against trusted chains | `false` | | `-org-id` | ID of organization to which to add member. (required) | | | `-trace` | Log the trace ID for requests. See https://docs.sourcegraph.com/admin/observability/tracing | `false` | +| `-user-agent-telemetry` | Include the operating system and architecture in the User-Agent sent with requests to Sourcegraph | `true` | | `-username` | Username of user to add as member. (required) | | @@ -27,6 +28,8 @@ Usage of 'src orgs members add': ID of organization to which to add member. (required) -trace Log the trace ID for requests. See https://docs.sourcegraph.com/admin/observability/tracing + -user-agent-telemetry + Include the operating system and architecture in the User-Agent sent with requests to Sourcegraph (default true) -username string Username of user to add as member. (required) diff --git a/doc/cli/references/orgs/members/remove.md b/doc/cli/references/orgs/members/remove.md index fc55402e91f..e4f09aa23f2 100644 --- a/doc/cli/references/orgs/members/remove.md +++ b/doc/cli/references/orgs/members/remove.md @@ -10,6 +10,7 @@ | `-insecure-skip-verify` | Skip validation of TLS certificates against trusted chains | `false` | | `-org-id` | ID of organization from which to remove member. (required) | | | `-trace` | Log the trace ID for requests. See https://docs.sourcegraph.com/admin/observability/tracing | `false` | +| `-user-agent-telemetry` | Include the operating system and architecture in the User-Agent sent with requests to Sourcegraph | `true` | | `-user-id` | ID of user to remove as member. (required) | | @@ -27,6 +28,8 @@ Usage of 'src orgs members remove': ID of organization from which to remove member. (required) -trace Log the trace ID for requests. See https://docs.sourcegraph.com/admin/observability/tracing + -user-agent-telemetry + Include the operating system and architecture in the User-Agent sent with requests to Sourcegraph (default true) -user-id string ID of user to remove as member. (required) diff --git a/doc/cli/references/repos/delete.md b/doc/cli/references/repos/delete.md index e1996896e19..dce1a97d300 100644 --- a/doc/cli/references/repos/delete.md +++ b/doc/cli/references/repos/delete.md @@ -9,6 +9,7 @@ | `-get-curl` | Print the curl command for executing this query and exit (WARNING: includes printing your access token!) | `false` | | `-insecure-skip-verify` | Skip validation of TLS certificates against trusted chains | `false` | | `-trace` | Log the trace ID for requests. See https://docs.sourcegraph.com/admin/observability/tracing | `false` | +| `-user-agent-telemetry` | Include the operating system and architecture in the User-Agent sent with requests to Sourcegraph | `true` | ## Usage @@ -23,6 +24,8 @@ Usage of 'src repos delete' Skip validation of TLS certificates against trusted chains -trace Log the trace ID for requests. See https://docs.sourcegraph.com/admin/observability/tracing + -user-agent-telemetry + Include the operating system and architecture in the User-Agent sent with requests to Sourcegraph (default true) Examples: diff --git a/doc/cli/references/repos/get.md b/doc/cli/references/repos/get.md index 4aae1786cda..16bbfdfe17b 100644 --- a/doc/cli/references/repos/get.md +++ b/doc/cli/references/repos/get.md @@ -11,6 +11,7 @@ | `-insecure-skip-verify` | Skip validation of TLS certificates against trusted chains | `false` | | `-name` | The name of the repository. (required) | | | `-trace` | Log the trace ID for requests. See https://docs.sourcegraph.com/admin/observability/tracing | `false` | +| `-user-agent-telemetry` | Include the operating system and architecture in the User-Agent sent with requests to Sourcegraph | `true` | ## Usage @@ -29,6 +30,8 @@ Usage of 'src repos get': The name of the repository. (required) -trace Log the trace ID for requests. See https://docs.sourcegraph.com/admin/observability/tracing + -user-agent-telemetry + Include the operating system and architecture in the User-Agent sent with requests to Sourcegraph (default true) Examples: diff --git a/doc/cli/references/repos/list.md b/doc/cli/references/repos/list.md index a72bbef318e..139f8a705c5 100644 --- a/doc/cli/references/repos/list.md +++ b/doc/cli/references/repos/list.md @@ -19,6 +19,7 @@ | `-order-by` | How to order the results; possible choices are: "name", "created-at" | `name` | | `-query` | Returns repositories whose names match the query. (e.g. "myorg/") | | | `-trace` | Log the trace ID for requests. See https://docs.sourcegraph.com/admin/observability/tracing | `false` | +| `-user-agent-telemetry` | Include the operating system and architecture in the User-Agent sent with requests to Sourcegraph | `true` | ## Usage @@ -53,6 +54,8 @@ Usage of 'src repos list': Returns repositories whose names match the query. (e.g. "myorg/") -trace Log the trace ID for requests. See https://docs.sourcegraph.com/admin/observability/tracing + -user-agent-telemetry + Include the operating system and architecture in the User-Agent sent with requests to Sourcegraph (default true) Examples: diff --git a/doc/cli/references/search.md b/doc/cli/references/search.md index b00107609a9..0e99c54532b 100644 --- a/doc/cli/references/search.md +++ b/doc/cli/references/search.md @@ -14,6 +14,7 @@ | `-less` | Pipe output to 'less -R' (only if stdout is terminal, and not json flag). | `true` | | `-stream` | Consume results as stream. Streaming search only supports a subset of flags and parameters: trace, insecure-skip-verify, display, json. | `false` | | `-trace` | Log the trace ID for requests. See https://docs.sourcegraph.com/admin/observability/tracing | `false` | +| `-user-agent-telemetry` | Include the operating system and architecture in the User-Agent sent with requests to Sourcegraph | `true` | ## Usage @@ -38,6 +39,8 @@ Usage of 'src search': Consume results as stream. Streaming search only supports a subset of flags and parameters: trace, insecure-skip-verify, display, json. -trace Log the trace ID for requests. See https://docs.sourcegraph.com/admin/observability/tracing + -user-agent-telemetry + Include the operating system and architecture in the User-Agent sent with requests to Sourcegraph (default true) Examples: diff --git a/doc/cli/references/users/create.md b/doc/cli/references/users/create.md index 5751ba6d6eb..096cfb496ab 100644 --- a/doc/cli/references/users/create.md +++ b/doc/cli/references/users/create.md @@ -11,6 +11,7 @@ | `-insecure-skip-verify` | Skip validation of TLS certificates against trusted chains | `false` | | `-reset-password-url` | Print the reset password URL to manually send to the new user. | `false` | | `-trace` | Log the trace ID for requests. See https://docs.sourcegraph.com/admin/observability/tracing | `false` | +| `-user-agent-telemetry` | Include the operating system and architecture in the User-Agent sent with requests to Sourcegraph | `true` | | `-username` | The new user's username. (required) | | @@ -30,6 +31,8 @@ Usage of 'src users create': Print the reset password URL to manually send to the new user. -trace Log the trace ID for requests. See https://docs.sourcegraph.com/admin/observability/tracing + -user-agent-telemetry + Include the operating system and architecture in the User-Agent sent with requests to Sourcegraph (default true) -username string The new user's username. (required) diff --git a/doc/cli/references/users/delete.md b/doc/cli/references/users/delete.md index f2b4b6c90e9..72b0db30125 100644 --- a/doc/cli/references/users/delete.md +++ b/doc/cli/references/users/delete.md @@ -10,6 +10,7 @@ | `-id` | The ID of the user to delete. | | | `-insecure-skip-verify` | Skip validation of TLS certificates against trusted chains | `false` | | `-trace` | Log the trace ID for requests. See https://docs.sourcegraph.com/admin/observability/tracing | `false` | +| `-user-agent-telemetry` | Include the operating system and architecture in the User-Agent sent with requests to Sourcegraph | `true` | ## Usage @@ -26,6 +27,8 @@ Usage of 'src users delete': Skip validation of TLS certificates against trusted chains -trace Log the trace ID for requests. See https://docs.sourcegraph.com/admin/observability/tracing + -user-agent-telemetry + Include the operating system and architecture in the User-Agent sent with requests to Sourcegraph (default true) Examples: diff --git a/doc/cli/references/users/get.md b/doc/cli/references/users/get.md index ea1006caf79..5aa05082e9c 100644 --- a/doc/cli/references/users/get.md +++ b/doc/cli/references/users/get.md @@ -10,6 +10,7 @@ | `-get-curl` | Print the curl command for executing this query and exit (WARNING: includes printing your access token!) | `false` | | `-insecure-skip-verify` | Skip validation of TLS certificates against trusted chains | `false` | | `-trace` | Log the trace ID for requests. See https://docs.sourcegraph.com/admin/observability/tracing | `false` | +| `-user-agent-telemetry` | Include the operating system and architecture in the User-Agent sent with requests to Sourcegraph | `true` | | `-username` | Look up user by username. (e.g. "alice") | | @@ -27,6 +28,8 @@ Usage of 'src users get': Skip validation of TLS certificates against trusted chains -trace Log the trace ID for requests. See https://docs.sourcegraph.com/admin/observability/tracing + -user-agent-telemetry + Include the operating system and architecture in the User-Agent sent with requests to Sourcegraph (default true) -username string Look up user by username. (e.g. "alice") diff --git a/doc/cli/references/users/list.md b/doc/cli/references/users/list.md index d1b98b7935c..a5a9c0fbd47 100644 --- a/doc/cli/references/users/list.md +++ b/doc/cli/references/users/list.md @@ -13,6 +13,7 @@ | `-query` | Returns users whose names match the query. (e.g. "alice") | | | `-tag` | Returns users with the given tag. | | | `-trace` | Log the trace ID for requests. See https://docs.sourcegraph.com/admin/observability/tracing | `false` | +| `-user-agent-telemetry` | Include the operating system and architecture in the User-Agent sent with requests to Sourcegraph | `true` | ## Usage @@ -35,6 +36,8 @@ Usage of 'src users list': Returns users with the given tag. -trace Log the trace ID for requests. See https://docs.sourcegraph.com/admin/observability/tracing + -user-agent-telemetry + Include the operating system and architecture in the User-Agent sent with requests to Sourcegraph (default true) Examples: diff --git a/doc/cli/references/users/tag.md b/doc/cli/references/users/tag.md index ecb89e9ac30..5ec8cd5d235 100644 --- a/doc/cli/references/users/tag.md +++ b/doc/cli/references/users/tag.md @@ -11,6 +11,7 @@ | `-remove` | Remove the tag. (default: add the tag | `false` | | `-tag` | The tag to set on the user. (required) | | | `-trace` | Log the trace ID for requests. See https://docs.sourcegraph.com/admin/observability/tracing | `false` | +| `-user-agent-telemetry` | Include the operating system and architecture in the User-Agent sent with requests to Sourcegraph | `true` | | `-user-id` | The ID of the user to tag. (required) | | @@ -30,6 +31,8 @@ Usage of 'src users tag': The tag to set on the user. (required) -trace Log the trace ID for requests. See https://docs.sourcegraph.com/admin/observability/tracing + -user-agent-telemetry + Include the operating system and architecture in the User-Agent sent with requests to Sourcegraph (default true) -user-id string The ID of the user to tag. (required) diff --git a/doc/cli/references/validate.md b/doc/cli/references/validate.md index 3f769a1971c..309a43fc172 100644 --- a/doc/cli/references/validate.md +++ b/doc/cli/references/validate.md @@ -11,6 +11,7 @@ | `-insecure-skip-verify` | Skip validation of TLS certificates against trusted chains | `false` | | `-secrets` | Path to a file containing key=value lines. The key value pairs will be added to the script context | | | `-trace` | Log the trace ID for requests. See https://docs.sourcegraph.com/admin/observability/tracing | `false` | +| `-user-agent-telemetry` | Include the operating system and architecture in the User-Agent sent with requests to Sourcegraph | `true` | ## Usage @@ -29,6 +30,8 @@ Usage of 'src validate validate': Path to a file containing key=value lines. The key value pairs will be added to the script context -trace Log the trace ID for requests. See https://docs.sourcegraph.com/admin/observability/tracing + -user-agent-telemetry + Include the operating system and architecture in the User-Agent sent with requests to Sourcegraph (default true) 'src validate' is a tool that validates a Sourcegraph instance. EXPERIMENTAL: 'validate' is an experimental command in the 'src' tool. diff --git a/doc/cli/references/version.md b/doc/cli/references/version.md index 3230fb9e6a5..3fd6a9aa72e 100644 --- a/doc/cli/references/version.md +++ b/doc/cli/references/version.md @@ -9,6 +9,7 @@ | `-get-curl` | Print the curl command for executing this query and exit (WARNING: includes printing your access token!) | `false` | | `-insecure-skip-verify` | Skip validation of TLS certificates against trusted chains | `false` | | `-trace` | Log the trace ID for requests. See https://docs.sourcegraph.com/admin/observability/tracing | `false` | +| `-user-agent-telemetry` | Include the operating system and architecture in the User-Agent sent with requests to Sourcegraph | `true` | ## Usage @@ -23,6 +24,8 @@ Usage of 'src version': Skip validation of TLS certificates against trusted chains -trace Log the trace ID for requests. See https://docs.sourcegraph.com/admin/observability/tracing + -user-agent-telemetry + Include the operating system and architecture in the User-Agent sent with requests to Sourcegraph (default true) Examples: diff --git a/internal/src-cli/consts.go b/internal/src-cli/consts.go index 1fec42bc4c8..bf231cf182f 100644 --- a/internal/src-cli/consts.go +++ b/internal/src-cli/consts.go @@ -6,4 +6,4 @@ package srccli // as the suggested download with this instance. // // At the time of a Sourcegraph release, this is always the latest src-cli version. -const MinimumVersion = "3.33.4" +const MinimumVersion = "3.33.6"