sourcegraph/dev
Thorsten Ball 3bab39af44
sg: ignore config overwrite when generating reference for docs (#39367)
Finally fixing this after it made me say "ah! oh no" one too many times
in the past few weeks.

Here's what previously happened on THORSTEN & SG GENERATE:

1. Thorsten has a custom commandset named `horsegraph` in `sg.config.overwrite.yaml`, along with some other custom commands.
2. Thorsten creates a database migration/GraphQL schema addition/...
3. Thorsten runs `sg generate`
4. Thorsten commits and pushes commit
5. Thorsten sees that he pushed commit in which `sg`'s reference in the
   documentation now contains `"horsegraph"` as an official commandset
   to be used with `sg start`
6. Thorsten says "ah! oh no" and undoes changes

... multiple times.

So what this does here is introduce a `disable-overwrite` flag that
causes only the standard config to be read.

It's then used in the `go:generate` directive that runs `sg help`.
2022-07-25 18:40:06 +02:00
..
adr-docs dev/sg: add 'sg adr [list|view|search|create]' (#37718) 2022-06-27 15:34:46 +00:00
auth-provider Remove left-over mentions of dev/start.sh (#25745) 2021-10-07 16:38:00 +02:00
authtest graphqlbackend: support async deletion of external service (#35293) 2022-05-12 12:54:12 +04:00
bkstats ci: fix a typo in bkstats README (#31846) 2022-02-25 14:41:28 +01:00
buildchecker fix(buildchecker): do not consider cron builds (#38152) 2022-07-04 17:01:15 +02:00
check Jg experiment whitescreen (#34835) 2022-06-08 12:19:45 -07:00
ci batches: Add computed state value to DB (#39316) 2022-07-25 13:03:18 +02:00
codeintel-qa codeintel: qa - sort monitored uploads, not just IDs (#38935) 2022-07-18 12:32:48 +00:00
corrupt-archives errors: Introduce internal package (#30558) 2022-02-07 15:03:45 +00:00
db dev/deb: Remove scripts replaced by sg (#28767) 2021-12-08 23:22:00 +00:00
depgraph dev/depgraph: add summary -deps.sum -deps.only for detecting binary changes (#35379) 2022-05-19 22:46:10 +00:00
gitserver gitserver: fix local config for multi-instance (#32501) 2022-03-11 16:48:39 +04:00
gqltest gqltest: remove skipping TestBitbucketProjectsPermsSync_SetPermissionsUnrestricted (#39351) 2022-07-25 12:23:30 +02:00
grafana dev/sg: introduce 'sg ci logs' with Loki support (#25835) 2021-10-12 11:14:50 -04:00
nix nix: postgres listen on localhost (#34464) 2022-04-27 15:34:18 +01:00
okay lib/log: migrate to github.com/sourcegraph/log (#36834) 2022-06-08 15:02:38 -07:00
perforce/anonymiser dev/perforce: Add anonymiser (#39063) 2022-07-22 12:31:10 +02:00
phabricator all: /bin/bash -> /usr/bin/env bash (#23673) 2021-08-06 12:02:43 +02:00
pr-auditor dev/pr-auditor: run on pull_request_target (#38259) 2022-07-05 15:14:23 -07:00
prometheus Remove query runner (#28333) 2021-11-30 10:13:20 -07:00
release release config for 3.43 (#39331) 2022-07-22 22:41:57 +00:00
sg sg: ignore config overwrite when generating reference for docs (#39367) 2022-07-25 18:40:06 +02:00
src-expose Bump alpine base image (#38423) 2022-07-07 13:01:37 -03:00
team mocks: Reorganize mock definitions into multiple files (#36967) 2022-06-27 20:59:16 +00:00
tilt Remove left-over mentions of dev/start.sh (#25745) 2021-10-07 16:38:00 +02:00
zoekt zoekt: directly use GitHub API for update script (#38609) 2022-07-14 09:26:18 +01:00
.gitignore dev: remove nginx (#13299) 2021-02-18 14:38:58 +00:00
add_https_domain_to_hosts.sh dev: add shfmt for shell script consistency (#9900) 2020-04-15 12:44:36 -07:00
caddy.sh Bump caddy version (#26329) 2021-10-19 22:06:22 +00:00
Caddyfile dev/Caddyfile: use 127.0.0.1 instead of localhost (#38955) 2022-07-18 13:19:09 -07:00
CLA.txt Publish Sourcegraph as open source 🚀 2018-09-30 23:13:36 -07:00
codecov.yml vscode: ignore vscode in Codecov (#32676) 2022-03-16 11:28:28 -04:00
codeinsights-db.sh insights: update references to TimescaleDB (#32948) 2022-03-29 11:04:47 +01:00
comby-install-or-upgrade.sh search: bump comby 1.8.1 (#37804) 2022-06-28 11:39:49 -07:00
config.json Enable Campaigns by default (with write-access only for admins) (#11621) 2020-08-24 11:05:36 +02:00
dev-sourcegraph-server.sh ci: add shellcheck linter for shell scripts (#9903) 2020-04-21 10:03:17 -07:00
docsite.sh Update docsite to v1.8.7 (#36237) 2022-05-30 13:47:04 +00:00
drop-entire-local-database-and-redis.sh all: /bin/bash -> /usr/bin/env bash (#23673) 2021-08-06 12:02:43 +02:00
foreach-ts-project.sh web: remove eslint-plugin-sourcegraph references (#35990) 2022-05-25 04:06:56 +00:00
git-stats search: create and document git-stats script (#32663) 2022-03-16 13:41:17 +02:00
global-settings.json SSBC: Enable by default in dev environment (#36616) 2022-06-06 18:46:51 +02:00
go-mod-update.sh Upgrade aws-sdk-go-v2 (#19155) 2021-04-14 15:06:15 +02:00
golangci-lint.sh dev: fix golangci-lint, re-enable depguard, disable nolintlint (#34298) 2022-04-21 19:37:04 +00:00
licenses.sh doc/dev: migrate continuous_integration.md to ci/index.md (#31905) 2022-02-28 08:16:20 -08:00
postgres_exporter.sh migrations: Update postgres exporter queries for dirty database (#30774) 2022-02-10 17:40:09 -06:00
prune-pick.sh ci: add shellcheck linter for shell scripts (#9903) 2020-04-21 10:03:17 -07:00
redis-postgres.yml Update Postgres to 12.7 (#31933) 2022-03-03 14:39:52 -06:00
redis.conf Local dev with docker-compose (#23537) 2021-08-06 22:11:40 +00:00
run-server-image.sh dev/sg: add 'sg run server' alias (#38256) 2022-07-06 10:09:41 -07:00
site-config.json New Password Policy (#31881) 2022-04-11 11:29:35 -05:00
src-prof-services.json Remove query runner (#28333) 2021-11-30 10:13:20 -07:00
src-search-meta.sh GraphQL: remove deprecated resultCount field (#31573) 2022-02-21 12:03:36 -07:00
tools.go Remove unused LSIF Typed code (#35791) 2022-05-25 11:23:13 +00:00