Commit 0ffe3d3
authored
Validate: add ability to expand
* Refactor validate functionality into pkg
To support expansion of the validate command, the current validate
functionality will need to be moved to a new subcommand.
* Use existing internal api package for graphql requests
* Remove create first admin features
* Refactor configuration structs to support multiple code hosts in future
* Add cool emoji to output
* Add insight test cleanup
* Add env vars for Github access token
Github access token is needed for new validate command. Add token to config.
* Add 'src validate install' command
* Move 'src validate' functionality into 'srv validate install' commmand to allow for
more validate subcommands.
* Change validation API to be more specific
* Change SRC_GITHUB_TOKEN to only be read if needed for command
* Update CHANGELOG.md
* Add warning if SRC_GITHUB_TOKEN isn't set
* An auth token is required for code hosts when using `src validate install`, warn user and exit if not set.
* Remove unused deps
* Separate tasks being performed
* Add symbol search to default queries
* Change default queries to use sourcegraph/src-cli repo instead of gorilla/muxsrc validate commands for future health check functionality (#921)1 parent c84c80a commit 0ffe3d3
5 files changed
Lines changed: 631 additions & 758 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| 17 | + | |
| 18 | + | |
17 | 19 | | |
18 | 20 | | |
19 | 21 | | |
20 | 22 | | |
21 | 23 | | |
| 24 | + | |
| 25 | + | |
22 | 26 | | |
23 | 27 | | |
24 | 28 | | |
| |||
28 | 32 | | |
29 | 33 | | |
30 | 34 | | |
| 35 | + | |
| 36 | + | |
31 | 37 | | |
32 | 38 | | |
33 | 39 | | |
| |||
0 commit comments