Commit graph

4706 commits

Author SHA1 Message Date
Mislav Marohnić
af522e4e69
Merge pull request #4482 from cli/dependabot/go_modules/github.com/itchyny/gojq-0.12.5
Bump github.com/itchyny/gojq from 0.12.4 to 0.12.5
2021-10-11 18:25:23 +02:00
Mislav Marohnić
a364cd3487
Merge pull request #4483 from cli/dependabot/go_modules/github.com/cpuguy83/go-md2man/v2-2.0.1
Bump github.com/cpuguy83/go-md2man/v2 from 2.0.0 to 2.0.1
2021-10-11 18:12:32 +02:00
Mislav Marohnić
8cc77bd61e Fix test expectation for man contents
https://github.com/cpuguy83/go-md2man/pull/74
2021-10-11 18:05:52 +02:00
dependabot[bot]
32c17b2d95
Bump github.com/itchyny/gojq from 0.12.4 to 0.12.5
Bumps [github.com/itchyny/gojq](https://github.com/itchyny/gojq) from 0.12.4 to 0.12.5.
- [Release notes](https://github.com/itchyny/gojq/releases)
- [Changelog](https://github.com/itchyny/gojq/blob/main/CHANGELOG.md)
- [Commits](https://github.com/itchyny/gojq/compare/v0.12.4...v0.12.5)

---
updated-dependencies:
- dependency-name: github.com/itchyny/gojq
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-10-11 15:29:21 +00:00
Mislav Marohnić
152c2888d7
Merge pull request #4481 from cli/dependabot/go_modules/github.com/mattn/go-colorable-0.1.11
Bump github.com/mattn/go-colorable from 0.1.8 to 0.1.11
2021-10-11 17:23:35 +02:00
dependabot[bot]
668d7dc8ff
Bump github.com/cpuguy83/go-md2man/v2 from 2.0.0 to 2.0.1
Bumps [github.com/cpuguy83/go-md2man/v2](https://github.com/cpuguy83/go-md2man) from 2.0.0 to 2.0.1.
- [Release notes](https://github.com/cpuguy83/go-md2man/releases)
- [Commits](https://github.com/cpuguy83/go-md2man/compare/v2.0.0...v2.0.1)

---
updated-dependencies:
- dependency-name: github.com/cpuguy83/go-md2man/v2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-10-11 14:25:26 +00:00
dependabot[bot]
a131644d85
Bump github.com/mattn/go-colorable from 0.1.8 to 0.1.11
Bumps [github.com/mattn/go-colorable](https://github.com/mattn/go-colorable) from 0.1.8 to 0.1.11.
- [Release notes](https://github.com/mattn/go-colorable/releases)
- [Commits](https://github.com/mattn/go-colorable/compare/v0.1.8...v0.1.11)

---
updated-dependencies:
- dependency-name: github.com/mattn/go-colorable
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-10-11 14:25:14 +00:00
Mislav Marohnić
9406ba3abc
Merge pull request #4478 from cli/dependabot/go_modules/github.com/mattn/go-isatty-0.0.14
Bump github.com/mattn/go-isatty from 0.0.13 to 0.0.14
2021-10-11 11:49:51 +02:00
Mislav Marohnić
5dcd1dd5b1
Merge pull request #4477 from cli/dependabot/go_modules/github.com/briandowns/spinner-1.16.0
Bump github.com/briandowns/spinner from 1.11.1 to 1.16.0
2021-10-11 11:49:18 +02:00
dependabot[bot]
3018770846
Bump github.com/mattn/go-isatty from 0.0.13 to 0.0.14
Bumps [github.com/mattn/go-isatty](https://github.com/mattn/go-isatty) from 0.0.13 to 0.0.14.
- [Release notes](https://github.com/mattn/go-isatty/releases)
- [Commits](https://github.com/mattn/go-isatty/compare/v0.0.13...v0.0.14)

---
updated-dependencies:
- dependency-name: github.com/mattn/go-isatty
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-10-11 09:43:40 +00:00
Mislav Marohnić
74ddc24dac
Merge pull request #4479 from cli/dependabot/go_modules/github.com/muesli/termenv-0.9.0
Bump github.com/muesli/termenv from 0.8.1 to 0.9.0
2021-10-11 11:38:02 +02:00
Mislav Marohnić
fd16453eb6
Merge pull request #4475 from cli/dependabot/go_modules/github.com/google/go-cmp-0.5.6
Bump github.com/google/go-cmp from 0.5.5 to 0.5.6
2021-10-11 11:21:36 +02:00
dependabot[bot]
e472f46083
Bump github.com/muesli/termenv from 0.8.1 to 0.9.0
Bumps [github.com/muesli/termenv](https://github.com/muesli/termenv) from 0.8.1 to 0.9.0.
- [Release notes](https://github.com/muesli/termenv/releases)
- [Commits](https://github.com/muesli/termenv/compare/v0.8.1...v0.9.0)

---
updated-dependencies:
- dependency-name: github.com/muesli/termenv
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-10-11 08:54:27 +00:00
dependabot[bot]
b3947a7a94
Bump github.com/briandowns/spinner from 1.11.1 to 1.16.0
Bumps [github.com/briandowns/spinner](https://github.com/briandowns/spinner) from 1.11.1 to 1.16.0.
- [Release notes](https://github.com/briandowns/spinner/releases)
- [Commits](https://github.com/briandowns/spinner/compare/v1.11.1...v1.16.0)

---
updated-dependencies:
- dependency-name: github.com/briandowns/spinner
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-10-11 08:54:15 +00:00
dependabot[bot]
98fa94cc6b
Bump github.com/google/go-cmp from 0.5.5 to 0.5.6
Bumps [github.com/google/go-cmp](https://github.com/google/go-cmp) from 0.5.5 to 0.5.6.
- [Release notes](https://github.com/google/go-cmp/releases)
- [Commits](https://github.com/google/go-cmp/compare/v0.5.5...v0.5.6)

---
updated-dependencies:
- dependency-name: github.com/google/go-cmp
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-10-11 08:53:52 +00:00
Mislav Marohnić
31cca1145f
Merge pull request #4473 from neil465/neil/dependabot
Enable dependabot to get security updates and if needed version updat…
2021-10-11 10:48:22 +02:00
flying-cow
706dede7ac Enable dependabot to get security updates and if needed version updates on dependencies
https://docs.github.com/en/code-security/supply-chain-security/keeping-your-dependencies-updated-automatically

Having knowledge about vulnerabilities of the dependencies helps the project owners decide on their dependencies security posture to make decisions.

If the project decides to get updates only on security updates and not on any version updates then setting these options would not open any PR 's open-pull-requests-limit: 0
2021-10-10 19:41:30 -05:00
Mislav Marohnić
0c5c2378ac
Merge pull request #4460 from m4ver1k/feat/2720
#2720 | Add patch flag to pull-request diff command
2021-10-08 13:58:56 +02:00
Mislav Marohnić
e4c8aa3b2b Add tests for pr diff --patch 2021-10-08 13:53:19 +02:00
Luciano Zago
79832c1b04
Add instructions to gh installation via spack (#4412) 2021-10-08 09:14:49 +00:00
Adarsh K Kumar
e0897fd8e8 #2720 | Add patch flag to pull-request diff command 2021-10-07 23:09:21 +05:30
Jose Garcia
cff6cf9acf
Merge pull request #4457 from cli/jg/fix-create-regression
codespace create: fix regression returning nil codespace
2021-10-07 11:09:26 -04:00
Jose Garcia
400749d560 Fix regression returning nil codespace 2021-10-07 11:01:24 -04:00
Sam
becc45a1df
Merge pull request #4437 from cli/fix-extension-io-bug
Set io when initializing extension manager
2021-10-06 12:54:25 -07:00
Jose Garcia
cd1eec5e38
Merge pull request #4448 from cli/jg/codeowners
Add codeowners
2021-10-06 13:55:56 -04:00
Jose Garcia
6f978dd8a4
Merge pull request #4440 from cli/jg/choose-codespace-prompt
codespace: choose codespace prompt improvements
2021-10-06 13:55:45 -04:00
Jose Garcia
b44474c32b Revert rename for ports cmd 2021-10-06 13:47:20 -04:00
Jose Garcia
bdc9ad30e7 Revert other rename changes 2021-10-06 13:46:04 -04:00
Jose Garcia
811d841fae Merge branch 'trunk' of github.com:cli/cli into jg/choose-codespace-prompt 2021-10-06 13:40:01 -04:00
Gabriel Ramírez
3d0d95ce2b
Merge pull request #4439 from geramirez/geramirez/codespaces-pagination
Adding pagination to list codespaces
2021-10-06 12:38:50 -05:00
Jose Garcia
771ac714ac Update docs 2021-10-06 11:47:18 -04:00
Jose Garcia
a509c2d884 Remove unused guid 2021-10-06 11:45:43 -04:00
Jose Garcia
3a28643630 Keep codespace struct in API for now
- Use a private codespace structure in the cmd pkg to encapsulate common
  behavior
2021-10-06 11:44:26 -04:00
Gabriel Ramírez
20ae9d305d
Fetch 100 codespaces by default 2021-10-06 14:53:55 +00:00
Jose Garcia
073200a275 Add codeowners 2021-10-06 10:19:17 -04:00
Gabriel Ramírez
e29a0ac7c4
Merge branch 'geramirez/codespaces-pagination' of https://github.com/geramirez/cli into geramirez/codespaces-pagination 2021-10-06 14:18:57 +00:00
Gabriel Ramírez
34f9c0a67c
Updating docs and interation exit condition to not check the final page 2021-10-06 14:18:44 +00:00
Gabriel Ramírez
237fdd40c8
Update internal/codespaces/api/api.go
Co-authored-by: Jose Garcia <josebalius@github.com>
2021-10-06 09:03:49 -05:00
Jose Garcia
017632d63d Merge branch 'trunk' of github.com:cli/cli into jg/choose-codespace-prompt 2021-10-06 09:57:39 -04:00
Jose Garcia
52e16dfe09
Merge pull request #4446 from cli/jg/get-codespace-api
codespace: switch `API.GetCodespace` to new API endpoint
2021-10-06 09:41:01 -04:00
Jose Garcia
b2ff4c321a Remove unused structs 2021-10-06 09:25:39 -04:00
Jose Garcia
7c497f283b Update test signature 2021-10-06 09:15:07 -04:00
Jose Garcia
8bb55359b1 Update mock API 2021-10-06 09:10:00 -04:00
Jose Garcia
8135fdbd99 Switch GetCodespace to new API endpoint
- Drop GetCodespaceToken as it is no longer necessary
- Introduces new behavior with the API to optionally include connection
  details in the GET request. Ommitting to do so results in a faster
  response
2021-10-06 08:50:42 -04:00
Gabriel Ramírez
aa49a3a557
Adding a second condition just in case 2021-10-05 21:43:28 +00:00
Gabriel Ramírez
61b0fe36b2
Adding additional tests for mid-flight deletions and additions 2021-10-05 21:31:47 +00:00
Gabriel Ramírez
02145cc4fd
Updated PR with suggestions
- created a new method  to avoid defer pileup issue
- removed extra api call at the end of the sequence
2021-10-05 21:15:24 +00:00
Gabriel Ramírez
c6dc50983d
Update internal/codespaces/api/api.go
Co-authored-by: Jose Garcia <josebalius@github.com>
2021-10-05 15:33:22 -05:00
Gabriel Ramírez
4314f734e3
Update internal/codespaces/api/api.go
Co-authored-by: Jose Garcia <josebalius@github.com>
2021-10-05 15:33:16 -05:00
Gabriel Ramírez
e793a5961d
Add strconv 2021-10-05 19:00:21 +00:00