Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Validate: add ability to expand src validate commands for future health check functionality #921

Merged
merged 12 commits into from
Jan 13, 2023

Commits on Jan 12, 2023

  1. 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
    jdpleiness committed Jan 12, 2023
    Configuration menu
    Copy the full SHA
    9ec1336 View commit details
    Browse the repository at this point in the history
  2. Add env vars for Github access token

    Github access token is needed for new validate command. Add token to config.
    jdpleiness committed Jan 12, 2023
    Configuration menu
    Copy the full SHA
    26d8e61 View commit details
    Browse the repository at this point in the history
  3. Add 'src validate install' command

    * Move 'src validate' functionality into 'srv validate install' commmand to allow for
    more validate subcommands.
    jdpleiness committed Jan 12, 2023
    Configuration menu
    Copy the full SHA
    2368a0c View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    97ee45b View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    fce359a View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    2fdc4f3 View commit details
    Browse the repository at this point in the history
  7. Update CHANGELOG.md

    jdpleiness committed Jan 12, 2023
    Configuration menu
    Copy the full SHA
    7413d9f View commit details
    Browse the repository at this point in the history
  8. 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.
    jdpleiness committed Jan 12, 2023
    Configuration menu
    Copy the full SHA
    10d3be2 View commit details
    Browse the repository at this point in the history

Commits on Jan 13, 2023

  1. Remove unused deps

    jdpleiness committed Jan 13, 2023
    Configuration menu
    Copy the full SHA
    aca3a90 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f5e64bc View commit details
    Browse the repository at this point in the history
  3. Add symbol search to default queries

    * Change default queries to use sourcegraph/src-cli repo instead of gorilla/mux
    jdpleiness committed Jan 13, 2023
    Configuration menu
    Copy the full SHA
    aef84ee View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    febf2ac View commit details
    Browse the repository at this point in the history