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

Loading spinner for graphql commands #703

Draft
wants to merge 60 commits into
base: charm-hack-week-main
Choose a base branch
from

Commits on May 10, 2022

  1. Try things

    nramabad committed May 10, 2022
    Configuration menu
    Copy the full SHA
    663f995 View commit details
    Browse the repository at this point in the history

Commits on May 11, 2022

  1. Configuration menu
    Copy the full SHA
    7d6bc7e View commit details
    Browse the repository at this point in the history

Commits on May 12, 2022

  1. Configuration menu
    Copy the full SHA
    6f39b9c View commit details
    Browse the repository at this point in the history

Commits on May 13, 2022

  1. Add API bindings for the pipeline scheduling REST API

    This is actually meant to be used in the CircleCI terraform provider,
    which uses the CLI as a library. As such I'm not adding any
    CLI-user-visible way of interacting with schedules as part of this.
    sulami committed May 13, 2022
    Configuration menu
    Copy the full SHA
    a229deb View commit details
    Browse the repository at this point in the history

Commits on May 17, 2022

  1. Configuration menu
    Copy the full SHA
    60f56cc View commit details
    Browse the repository at this point in the history

Commits on May 18, 2022

  1. Ext 358 pr template (#708)

    * Test
    
    * revert
    
    * Adding PR template to CLI
    
    * Moved file out of folder as many online sources state that this could be why this file is not working
    Added to the template with our standard categories
    corinnesollows authored May 18, 2022
    Configuration menu
    Copy the full SHA
    af626c3 View commit details
    Browse the repository at this point in the history

Commits on May 19, 2022

  1. Added in org id and made vcs and org name optional

    cont changes
    
    Fixed some of those changes up
    
    Co-authored-by: corinnesollows <[email protected]>
    
    Co-authored-by: corinnesollows <[email protected]>
    
    Added in org id and made vcs and org name optional
    
    Co-authored-by: corinnesollows <[email protected]>
    
    Vendor
    
    Add AppendRestPostHandler to clitest to be able to test rest endpoints. Add integration test flag to context to ensure that the rest client is used
    
    Tests created
    
    Co-authored-by: corinnesollows <[email protected]>
    
    create context with VCS and org Name tests
    
    test
    
    Fix tests
    
    Add API bindings for the pipeline scheduling REST API
    
    This is actually meant to be used in the CircleCI terraform provider,
    which uses the CLI as a library. As such I'm not adding any
    CLI-user-visible way of interacting with schedules as part of this.
    
    Added comments to changes and added functions
    
    Attempting to add some new tests
    
    test fixes
    
    test
    
    var
    
    Fix API context tests
    
    setup rest unit tests and make one succesful test
    
    Add should handle an error request with createContextWithOrgID test
    corinnesollows authored and rykimcircle committed May 19, 2022
    Configuration menu
    Copy the full SHA
    e68e80c View commit details
    Browse the repository at this point in the history
  2. Merge pull request #697 from CircleCI-Public/EXT-281-context-update

    Ext 281 context update
    rykimcircle authored May 19, 2022
    Configuration menu
    Copy the full SHA
    5e6ca98 View commit details
    Browse the repository at this point in the history
  3. remove "analytics events added" from PR template

    Also some markdown auto-formatting changes that got applied.
    joeyorlando authored and Joey Orlando committed May 19, 2022
    Configuration menu
    Copy the full SHA
    2922e6c View commit details
    Browse the repository at this point in the history
  4. Merge pull request #709 from CircleCI-Public/modify-pull-request-temp…

    …late
    
    remove "analytics events added" from PR template
    Joey Orlando authored May 19, 2022
    Configuration menu
    Copy the full SHA
    7c05b67 View commit details
    Browse the repository at this point in the history

Commits on May 26, 2022

  1. Update CODEOWNERS (#714)

    ruben1 authored May 26, 2022
    Configuration menu
    Copy the full SHA
    c3ad28b View commit details
    Browse the repository at this point in the history

Commits on Jun 6, 2022

  1. Ext 283 remove legacy org slug (#717)

    * Org UUID support
    
    * Made two methods
    
    * Test for OrgId
    
    * Comments
    corinnesollows authored Jun 6, 2022
    Configuration menu
    Copy the full SHA
    e96ff59 View commit details
    Browse the repository at this point in the history

Commits on Jun 7, 2022

  1. Configuration menu
    Copy the full SHA
    bf986a0 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #733 from CircleCI-Public/http-client-increase-tim…

    …eout-1
    
    Increase http client timeout to 60s
    ruben1 authored Jun 7, 2022
    Configuration menu
    Copy the full SHA
    f5ffef7 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    479631b View commit details
    Browse the repository at this point in the history

Commits on Jun 13, 2022

  1. Configuration menu
    Copy the full SHA
    a65cbb5 View commit details
    Browse the repository at this point in the history

Commits on Jun 14, 2022

  1. Configuration menu
    Copy the full SHA
    214763b View commit details
    Browse the repository at this point in the history
  2. fix linting

    davidmdm committed Jun 14, 2022
    Configuration menu
    Copy the full SHA
    111aaa7 View commit details
    Browse the repository at this point in the history

Commits on Jun 16, 2022

  1. added comments

    davidmdm committed Jun 16, 2022
    Configuration menu
    Copy the full SHA
    f41422c View commit details
    Browse the repository at this point in the history

Commits on Jun 17, 2022

  1. Configuration menu
    Copy the full SHA
    fe60bd2 View commit details
    Browse the repository at this point in the history

Commits on Jun 28, 2022

  1. Merge pull request #738 from CircleCI-Public/SECENG-600-remote-policy…

    …-decision
    
    added make decision policy command
    davidmdm authored Jun 28, 2022
    Configuration menu
    Copy the full SHA
    cc194b5 View commit details
    Browse the repository at this point in the history

Commits on Jun 29, 2022

  1. update go.mod to declare go1.18 and updated CI to use Go 1.18 for tes…

    …ts (#741)
    
    * update go.mod to declare go1.18 and updated CI to use Go 1.18 for tests
    * use cimg/go:1.18 as go executor
    * update golangci-lint for compat with go1.18
    davidmdm authored Jun 29, 2022
    Configuration menu
    Copy the full SHA
    897ebaf View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0510d31 View commit details
    Browse the repository at this point in the history

Commits on Jun 30, 2022

  1. feat: Upgrade Golang version in Dockerfile

    The original image was based on a deprecated version of Ubuntu. Testing on 1.17
    KyleTryon authored and li3n3 committed Jun 30, 2022
    Configuration menu
    Copy the full SHA
    a498b26 View commit details
    Browse the repository at this point in the history
  2. update image version

    The existing pull request is several months old, and as such there is a newer version of this (newer) image available now; let's use that instead.
    li3n3 committed Jun 30, 2022
    Configuration menu
    Copy the full SHA
    e08d271 View commit details
    Browse the repository at this point in the history
  3. update cache keys

    The "restore cache" step is taking far, far too long compared to previous runs (total run 40-60 minutes or more, versus under 4 minutes previously). Consistent with our [documentation](https://circleci.com/docs/2.0/caching#managing-caches), since we've updated the Go version significantly, we should also update our cache keys so we can generate a new cache.
    li3n3 committed Jun 30, 2022
    Configuration menu
    Copy the full SHA
    f5cf3f2 View commit details
    Browse the repository at this point in the history
  4. Merge pull request #682 from CircleCI-Public/update-docker-base

    [EXT-242] Upgrade Golang version in Dockerfile
    li3n3 authored Jun 30, 2022
    Configuration menu
    Copy the full SHA
    19748d2 View commit details
    Browse the repository at this point in the history
  5. ci: use golangci-lint docker image directly

    - Directly use golangci-lint in Docker in CI
    - Remove unused lint scripts and Makefile targets
    - Update Makefile to call golangci-lint directly for lint target (for local use)
    - Update golangci-lint version from 1.35 to 1.46
    - Remove golangmetalinter config, which was seemingly ignored, and add a config
      for golangci-lint
    - Resolve one new lint warning from a test case
    - Update formatting on files that were not properly formatted
    wyardley committed Jun 30, 2022
    Configuration menu
    Copy the full SHA
    8fdf669 View commit details
    Browse the repository at this point in the history

Commits on Jul 1, 2022

  1. Merge pull request #713 from wyardley/wyardley/golangci-lint

    ci: use golangci-lint docker image directly
    li3n3 authored Jul 1, 2022
    Configuration menu
    Copy the full SHA
    859abf9 View commit details
    Browse the repository at this point in the history

Commits on Jul 4, 2022

  1. EXT-280 - EXT-280-open-project-vcs (#744)

    * formatting file
    
    * Warning Error
    corinnesollows authored Jul 4, 2022
    Configuration menu
    Copy the full SHA
    f3c1720 View commit details
    Browse the repository at this point in the history
  2. EXT-282-follow-project (#745)

    * If user is attempting to follow a project that is not in bitbucket or git then warn them we do not support it
    
    * Syntax fixes
    
    * Error correcti0n
    corinnesollows authored Jul 4, 2022
    Configuration menu
    Copy the full SHA
    25ac45c View commit details
    Browse the repository at this point in the history
  3. [RT-603] Migrate CLI to use runner.circleci.com (#742)

    * [RT-603] Migrate CLI to use runner.circleci.com
    
    Jira: [RT-603](https://circleci.atlassian.net/browse/RT-603)
    
    As part of the incident remediation for [Runner UI & CLI making requests to the wrong domain](https://circleci.atlassian.net/l/c/ou0ABPYK), migrate the CLI to use `runner.circleci.com` for runner related operations. This is needed as the infra team starts to depreacate `www-proxy`.
    afranco07 authored Jul 4, 2022
    Configuration menu
    Copy the full SHA
    ee1f054 View commit details
    Browse the repository at this point in the history

Commits on Jul 5, 2022

  1. Fix its possessive typo in orb process command

    Signed-off-by: Adam Harvey <[email protected]>
    adamdmharvey authored and joeyorlando committed Jul 5, 2022
    Configuration menu
    Copy the full SHA
    655d065 View commit details
    Browse the repository at this point in the history

Commits on Jul 7, 2022

  1. Configuration menu
    Copy the full SHA
    d17ebe0 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #746 from christian-stephen/cs/own-runner

    Add Runner team to CODEOWNERS of runner packages
    christian-stephen authored Jul 7, 2022
    Configuration menu
    Copy the full SHA
    830e7ff View commit details
    Browse the repository at this point in the history

Commits on Jul 13, 2022

  1. Configuration menu
    Copy the full SHA
    e15f916 View commit details
    Browse the repository at this point in the history

Commits on Jul 14, 2022

  1. Configuration menu
    Copy the full SHA
    f848adb View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e4216bd View commit details
    Browse the repository at this point in the history

Commits on Jul 20, 2022

  1. Info command skeleton created

    Command fix
    
    Keep the header content type
    
    Unused var removal
    
    testing
    
    Testing one more time
    
    Test
    
    Refactor info into using API info package to match project standards
    
    reformat org info table with tablewriter
    
    Use the same tablewriter solution from context.go to print out a more readable org-info table. Return nil instead of err in the penultimate line.
    
    Refactor API to use client from root instead
    This is in order to respect TLS rules for custom.
    
    Fix tests
    
    remove unused flag
    
    assert output because my local env is borked
    I'm just gonna push a bunch of stuff to the CI because my local env is broken for some reason.
    
    I don't know why things are broken locally but meh
    I'll squash all these later.
    
    I don't know
    
    Revert rest handler in tests
    I don't know I'm shooting at straws right now.
    I might just change the entire way we're doing things.
    If this doesn't work because I'm sick of working with Gomega.
    
    Refactor Info and write tests
    Refactored the info stuff into it's own package because the CMD package
    was getting to be too big. Wrote standard tests without Gingko as
    it was unnecessary and causing problems.
    
    Info Org error 500 message handling test.
    Test the expected case where a 500 message returned.
    
    Info API client tests
    Write tests for happy path and bad path for info tests.
    
    Add documentation to info api client stuff.
    
    Add DS_Store to gitignore and remove the file.
    
    Revert client changes.
    
    Extract validator and write a test for it.
    
    Refactor ServerURL parsing from config into method
    Refactor the ServerURL implementations from the code into a method
    found within the config itself since it seems like an appropriate
    place to put the code.
    
    Fix broken import references
    
    use validator.Validator type
    
    Settings ServerURL test
    corinnesollows authored and rykimcircle committed Jul 20, 2022
    Configuration menu
    Copy the full SHA
    63ff924 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #752 from CircleCI-Public/EXT-311-new-cli-command

    Ext 311 new cli command
    rykimcircle authored Jul 20, 2022
    Configuration menu
    Copy the full SHA
    9f5bc2a View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    52fb209 View commit details
    Browse the repository at this point in the history

Commits on Jul 22, 2022

  1. added metafile flag for policy decisions (#757)

    * stripped name from Policy CLI commands
    * update policy agent and remove name from policy apis
    * added metafile flag for policy decisions
    davidmdm authored Jul 22, 2022
    Configuration menu
    Copy the full SHA
    571ae88 View commit details
    Browse the repository at this point in the history

Commits on Jul 26, 2022

  1. Configuration menu
    Copy the full SHA
    990c791 View commit details
    Browse the repository at this point in the history

Commits on Jul 27, 2022

  1. Configuration menu
    Copy the full SHA
    c69fe82 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #758 from CircleCI-Public/nr/feat/EXT-307/fix-cust…

    …om-certs
    
    [EXT-307] Use SkipInsecureVerify to HTTP call used by runner command
    nramabad authored Jul 27, 2022
    Configuration menu
    Copy the full SHA
    f06195a View commit details
    Browse the repository at this point in the history

Commits on Jul 28, 2022

  1. Configuration menu
    Copy the full SHA
    366cc54 View commit details
    Browse the repository at this point in the history

Commits on Aug 11, 2022

  1. Configuration menu
    Copy the full SHA
    e042377 View commit details
    Browse the repository at this point in the history

Commits on Aug 18, 2022

  1. added dry mode to policy creation (#767)

    * Add prompt during policy push
    * Add policy diff subcommand
    * made policy path positional argument in policy decide and eval commands
    Co-authored-by: Sagar Gupta <[email protected]>
    davidmdm authored Aug 18, 2022
    Configuration menu
    Copy the full SHA
    5ef6776 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ec7d8d3 View commit details
    Browse the repository at this point in the history

Commits on Aug 22, 2022

  1. Added examples for policy commands (#769)

    * added examples for policy commands
    
    * updated example
    sagar-connect authored Aug 22, 2022
    Configuration menu
    Copy the full SHA
    168582f View commit details
    Browse the repository at this point in the history

Commits on Aug 23, 2022

  1. Ext 587 codecov (#772)

    * Removing Codecov from CLI
    corinnesollows authored Aug 23, 2022
    Configuration menu
    Copy the full SHA
    0b26028 View commit details
    Browse the repository at this point in the history

Commits on Aug 24, 2022

  1. fix clone url (#425)

    URL was previously not suitable for cloning. This change will allow the user to copy and paste the command.
    PR is switching to use the SSH for cloning
    Co-authored-by: Marc O'Morain <[email protected]>
    Co-authored-by: corinnesollows <[email protected]>
    KyleTryon authored Aug 24, 2022
    Configuration menu
    Copy the full SHA
    15e1fd4 View commit details
    Browse the repository at this point in the history

Commits on Aug 29, 2022

  1. Configuration menu
    Copy the full SHA
    991bd2a View commit details
    Browse the repository at this point in the history

Commits on Sep 9, 2022

  1. Configuration menu
    Copy the full SHA
    56e791b View commit details
    Browse the repository at this point in the history

Commits on Sep 12, 2022

  1. Configuration menu
    Copy the full SHA
    45afa93 View commit details
    Browse the repository at this point in the history

Commits on Sep 19, 2022

  1. Configuration menu
    Copy the full SHA
    0f1ff57 View commit details
    Browse the repository at this point in the history

Commits on Sep 21, 2022

  1. Hack week help menu (#782)

    * Overwrote default cobra command help menu
    * Added testing env var
    corinnesollows authored Sep 21, 2022
    Configuration menu
    Copy the full SHA
    3b49940 View commit details
    Browse the repository at this point in the history

Commits on Sep 23, 2022

  1. Merge branch 'master' of github.com:CircleCI-Public/circleci-cli into…

    … bubble-exp-2
    
    # Conflicts:
    #	api/api.go
    #	go.mod
    #	go.sum
    corinnesollows committed Sep 23, 2022
    Configuration menu
    Copy the full SHA
    7e1b67d View commit details
    Browse the repository at this point in the history
  2. chore: Dynamically print flag options in error message (#785)

    * chore: Dynamically print flag options
    
    Signed-off-by: Adam Harvey <[email protected]>
    
    * fix: Forcibly sort keys to ensure consistency
    
    Signed-off-by: Adam Harvey <[email protected]>
    
    * fix: Alphabetical sorting of flag values
    
    Signed-off-by: Adam Harvey <[email protected]>
    
    Signed-off-by: Adam Harvey <[email protected]>
    adamdmharvey authored Sep 23, 2022
    Configuration menu
    Copy the full SHA
    eec8fd6 View commit details
    Browse the repository at this point in the history
  3. no message

    corinnesollows committed Sep 23, 2022
    Configuration menu
    Copy the full SHA
    0f90a2f View commit details
    Browse the repository at this point in the history