mirror of
https://github.com/sourcegraph/sourcegraph.git
synced 2026-02-06 17:11:49 +00:00
Revert "v5.1.0 bake constants and static content" (#53753)
Reverts sourcegraph/sourcegraph#53718 This broke main because `src-cli` 5.1.0 is not yet released on its GH release page, but executor docker images are trying to download this release already. ## Test plan CI go green
This commit is contained in:
parent
4fc988f573
commit
09c0e2941e
@ -13,7 +13,7 @@ import styles from './BatchChangesListIntro.module.scss'
|
||||
* Ie. After 5.0 is cut, this should be bumped to 5.1, and so on. This ensures we
|
||||
* always render the right changelog.
|
||||
*/
|
||||
const CURRENT_VERSION = '5.2'
|
||||
const CURRENT_VERSION = '5.1'
|
||||
/**
|
||||
* SHOW_CHANGELOG has to be set to true when a changelog entry is added for a release.
|
||||
* After every release, this will be set back to `false`. Chromatic will also verify
|
||||
|
||||
@ -1,22 +0,0 @@
|
||||
# `src admin`
|
||||
|
||||
|
||||
|
||||
## Usage
|
||||
|
||||
```
|
||||
'src admin' is a tool that manages an initial admin user on a new Sourcegraph instance.
|
||||
|
||||
Usage:
|
||||
|
||||
src admin create [command options]
|
||||
|
||||
The commands are:
|
||||
|
||||
create create an initial admin user
|
||||
|
||||
Use "src admin [command] -h" for more information about a command.
|
||||
|
||||
|
||||
```
|
||||
|
||||
@ -3,7 +3,6 @@
|
||||
## Subcommands
|
||||
|
||||
|
||||
* [`admin`](admin.md)
|
||||
* [`api`](api.md)
|
||||
* [`batch`](batch/index.md)
|
||||
* [`code-intel`](code-intel/index.md)
|
||||
@ -16,7 +15,6 @@
|
||||
* [`lsif`](lsif.md)
|
||||
* [`orgs`](orgs/index.md)
|
||||
* [`repos`](repos/index.md)
|
||||
* [`scout`](scout.md)
|
||||
* [`search`](search.md)
|
||||
* [`serve-git`](serve-git.md)
|
||||
* [`snapshot`](snapshot.md)
|
||||
|
||||
@ -8,12 +8,11 @@
|
||||
| `-dump-requests` | Log GraphQL requests and responses to stdout | `false` |
|
||||
| `-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` |
|
||||
| `-key` | The name of the metadata key to add (required) | |
|
||||
| `-repo` | The ID of the repo to add the key-value pair metadata to (required if -repo-name is not specified) | |
|
||||
| `-repo-name` | The name of the repo to add the key-value pair metadata to (required if -repo is not specified) | |
|
||||
| `-key` | The name of the key to add (required) | |
|
||||
| `-repo` | The ID of the repo to add the key-value pair to (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` |
|
||||
| `-value` | The metadata value associated with the metadata key. Defaults to null. | |
|
||||
| `-value` | The value associated with the key. Defaults to null. | |
|
||||
|
||||
|
||||
## Usage
|
||||
@ -27,17 +26,15 @@ Usage of 'src repos add-metadata':
|
||||
-insecure-skip-verify
|
||||
Skip validation of TLS certificates against trusted chains
|
||||
-key string
|
||||
The name of the metadata key to add (required)
|
||||
The name of the key to add (required)
|
||||
-repo string
|
||||
The ID of the repo to add the key-value pair metadata to (required if -repo-name is not specified)
|
||||
-repo-name string
|
||||
The name of the repo to add the key-value pair metadata to (required if -repo is not specified)
|
||||
The ID of the repo to add the key-value pair to (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)
|
||||
-value string
|
||||
The metadata value associated with the metadata key. Defaults to null.
|
||||
The value associated with the key. Defaults to null.
|
||||
|
||||
Examples:
|
||||
|
||||
@ -47,8 +44,6 @@ Examples:
|
||||
|
||||
Omitting -value will create a tag (a key with a null value).
|
||||
|
||||
[DEPRECATED] Note that 'add-kvp' is deprecated and will be removed in future release. Use 'add-metadata' instead.
|
||||
|
||||
|
||||
```
|
||||
|
||||
@ -8,9 +8,8 @@
|
||||
| `-dump-requests` | Log GraphQL requests and responses to stdout | `false` |
|
||||
| `-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` |
|
||||
| `-key` | The name of the metadata key to be deleted (required) | |
|
||||
| `-repo` | The ID of the repo with the key-value pair metadata to be deleted (required if -repo-name is not specified) | |
|
||||
| `-repo-name` | The name of the repo to add the key-value pair metadata to (required if -repo is not specified) | |
|
||||
| `-key` | The name of the key to be deleted (required) | |
|
||||
| `-repo` | The ID of the repo with the key-value pair to be deleted (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` |
|
||||
|
||||
@ -26,11 +25,9 @@ Usage of 'src repos delete-metadata':
|
||||
-insecure-skip-verify
|
||||
Skip validation of TLS certificates against trusted chains
|
||||
-key string
|
||||
The name of the metadata key to be deleted (required)
|
||||
The name of the key to be deleted (required)
|
||||
-repo string
|
||||
The ID of the repo with the key-value pair metadata to be deleted (required if -repo-name is not specified)
|
||||
-repo-name string
|
||||
The name of the repo to add the key-value pair metadata to (required if -repo is not specified)
|
||||
The ID of the repo with the key-value pair to be deleted (required)
|
||||
-trace
|
||||
Log the trace ID for requests. See https://docs.sourcegraph.com/admin/observability/tracing
|
||||
-user-agent-telemetry
|
||||
@ -40,9 +37,8 @@ Examples:
|
||||
|
||||
Delete a key-value pair metadata from a repository:
|
||||
|
||||
$ src repos delete-metadata -repo=repoID -key=mykey
|
||||
$ src repos delete-metadata -repo=repoID -key=mykey
|
||||
|
||||
[DEPRECATED] Note 'delete-kvp' is deprecated and will be removed in future release. Use 'delete-metadata' instead.
|
||||
|
||||
|
||||
```
|
||||
|
||||
@ -8,12 +8,11 @@
|
||||
| `-dump-requests` | Log GraphQL requests and responses to stdout | `false` |
|
||||
| `-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` |
|
||||
| `-key` | The name of the metadata key to be updated (required) | |
|
||||
| `-repo` | The ID of the repo with the metadata key to be updated (required if -repo-name is not specified) | |
|
||||
| `-repo-name` | The name of the repo to add the key-value pair metadata to (required if -repo is not specified) | |
|
||||
| `-key` | The name of the key to be updated (required) | |
|
||||
| `-repo` | The ID of the repo with the key to be updated (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` |
|
||||
| `-value` | The new metadata value of the metadata key to be set. Defaults to null. | |
|
||||
| `-value` | The new value of the key to be set. Defaults to null. | |
|
||||
|
||||
|
||||
## Usage
|
||||
@ -27,28 +26,24 @@ Usage of 'src repos update-metadata':
|
||||
-insecure-skip-verify
|
||||
Skip validation of TLS certificates against trusted chains
|
||||
-key string
|
||||
The name of the metadata key to be updated (required)
|
||||
The name of the key to be updated (required)
|
||||
-repo string
|
||||
The ID of the repo with the metadata key to be updated (required if -repo-name is not specified)
|
||||
-repo-name string
|
||||
The name of the repo to add the key-value pair metadata to (required if -repo is not specified)
|
||||
The ID of the repo with the key to be updated (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)
|
||||
-value string
|
||||
The new metadata value of the metadata key to be set. Defaults to null.
|
||||
The new value of the key to be set. Defaults to null.
|
||||
|
||||
Examples:
|
||||
|
||||
Update the metadata value for a metadata key on a repository:
|
||||
Update the value metadata for a key on a repository:
|
||||
|
||||
$ src repos update-metadata -repo=repoID -key=my-key -value=new-value
|
||||
|
||||
Omitting -value will set the value of the key to null.
|
||||
|
||||
[DEPRECATED] Note that 'update-kvp' is deprecated and will be removed in future release. Use 'update-metadata' instead.
|
||||
|
||||
|
||||
```
|
||||
|
||||
@ -1,27 +0,0 @@
|
||||
# `src scout`
|
||||
|
||||
|
||||
|
||||
## Usage
|
||||
|
||||
```
|
||||
'src scout' is a tool that provides monitoring for Sourcegraph resources
|
||||
|
||||
EXPERIMENTAL: 'scout' is an experimental command in the 'src' tool. To use, you must
|
||||
point your .kube config to your Sourcegraph instance.
|
||||
|
||||
Usage:
|
||||
|
||||
src scout command [command options]
|
||||
|
||||
The commands are:
|
||||
|
||||
resource print all known sourcegraph resources and their allocations
|
||||
usage get CPU, memory and current disk usage
|
||||
advise recommend lowering or raising resource allocations based on actual usage
|
||||
|
||||
Use "src scout [command] -h" for more information about a command.
|
||||
|
||||
|
||||
```
|
||||
|
||||
@ -27,14 +27,14 @@ var defaultIndexers = map[string]string{
|
||||
|
||||
// To update, run `DOCKER_USER=... DOCKER_PASS=... ./update-shas.sh`
|
||||
var defaultIndexerSHAs = map[string]string{
|
||||
"sourcegraph/scip-go": "sha256:2a04ea639f4f72a23decfd9badf3663275a753fdf6d77c49ed47d8246e49402f",
|
||||
"sourcegraph/scip-go": "sha256:2430d1a85f081bceb54d7ae21df7f3f40cff91bed35df124ed45ae134aba3743",
|
||||
"sourcegraph/lsif-clang": "sha256:ea814e5ab5c6e1e6ab4d001e4f4afddcc7b44128edbeeedf1d97da553813a4c8",
|
||||
"sourcegraph/lsif-rust": "sha256:83cb769788987eb52f21a18b62d51ebb67c9436e1b0d2e99904c70fef424f9d1",
|
||||
"sourcegraph/scip-rust": "sha256:e9c400fd1d3146cd9a3d98f89c6d9a70e0a116618057e0dac452219b1c60b658",
|
||||
"sourcegraph/scip-java": "sha256:b0d0a6387d4be4e11bc6305021edf5ba2e58157fecff0fa6a74a7308a9b5a668",
|
||||
"sourcegraph/scip-python": "sha256:ab7f4b6c42870761248fa0d2c4774e2e1a6f5b1b65dd06f75f064a9418625b83",
|
||||
"sourcegraph/scip-java": "sha256:138898b73737087424760dba8dbf998e960bf585c96cbe0d1b17d9920b44c80d",
|
||||
"sourcegraph/scip-python": "sha256:4cb64c4f62cfa611fcb217581073c2831fb9350bbb1c8e855f152cc4b3428a00",
|
||||
"sourcegraph/scip-typescript": "sha256:4c9b65a449916bf2d8716c8b4b0a45666cd303a05b78e02980d25b23c1e55e92",
|
||||
"sourcegraph/scip-ruby": "sha256:ffbe40f23bd49a0163417589374f0bda97619e15f18bb09a048135094d21176d",
|
||||
"sourcegraph/scip-ruby": "sha256:e553fee039973cda8726d4c8c13cdbb851f82a6fca5daa15798a595ee4042906",
|
||||
}
|
||||
|
||||
func DefaultIndexerForLang(language string) (string, bool) {
|
||||
|
||||
@ -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 = "5.1.0"
|
||||
const MinimumVersion = "5.0.0"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user