sourcegraph/dev/tools.go
Stephen Gutekanst f6eb23799c
Configuration refactoring + management console (#966)
* use .Critical accessors; use conf.Unified type

* pkg/conf: add unified configuration types

* {pkg/conf,cmd/...}: rewrite conf package to be database-backed

* pkg/legacyconf: import from sourcegraph@v2.13.6 pkg/conf/ (and reduce)

* legacyschema: import from sourcegraph@v2.13.6 schema/ (and reduce)

* add dev config override support

* cmd/management-console/assets: add assets package for packing web app code

* cmd/management-console/web: initial webapp implementation

* schema: split site.schema.json into site and critical configuration portions

* schema: critical: add gitlab as valid auth.providers key (broken in master)

* web: update to reflect site config changes

* cmd/management-console: initial backend implementation

* cmd/management-console: add Go backend

* cmd/management-console: add TS frontend

* web: site-admin: add management console password alert

* cmd/management-console/internal/tlscertgen: package for TLS certificate generation

* schema: update docs

* upgrade deasync

* pkg/conf: add proper config defaults for each deployment type

* vfsgendev installation fix

* mgmt console web package-lock.json change

* assets doc.go + gitignore change

* gofmt assets

* dev/check: use dev build tag

Some things such as assets are only defined behind a dev build tag OR
after generating something via `go generate`. Since go generate has not
run yet, I am opting to use the `dev` build tag here.

* cmd/management-console/auth_test.go: simplify test

* fix go assets

* pkg/conf/confdefaults

* pkg/conf: validation test fix

* web: update to reflect site configuration changes

* expose management console port in docker run commands

* management-console: go: return concrete type to /update requests, not type that can arbitrarily change in future

* management-console: web: fix saving ID bug + properly display errors

* pkg/db/confdb: return an error if the creator is not up to date

* web mgmt console error handling

* mgmt console go backend ErrNewerEdit

* pkg/conf: fix zero configuration check (marshaled JSON is "{}")

* add linter for accidental transitive imports of pkg/conf in mgmt console

* enterprise/dev/ci: fix building of non-enterprise docker-images branches

* NOCHANGELOG
2018-12-12 14:59:15 -08:00

19 lines
603 B
Go

// +build tools
package main
import (
_ "github.com/derekparker/delve"
_ "github.com/golangci/golangci-lint/cmd/golangci-lint"
_ "github.com/google/zoekt/cmd/zoekt-archive-index"
_ "github.com/google/zoekt/cmd/zoekt-sourcegraph-indexserver"
_ "github.com/google/zoekt/cmd/zoekt-webserver"
_ "github.com/kevinburke/differ"
_ "github.com/kevinburke/go-bindata/go-bindata"
_ "github.com/mattn/goreman"
_ "github.com/shurcooL/vfsgen/cmd/vfsgendev"
_ "github.com/sourcegraph/go-jsonschema/cmd/go-jsonschema-compiler"
_ "github.com/sourcegraph/godockerize"
_ "golang.org/x/tools/cmd/stringer"
)