Commit graph

4734 commits

Author SHA1 Message Date
Jose Garcia
97b52b30fc Merge branch 'trunk' of github.com:cli/cli into jg/liveshare-keepalive 2021-10-13 10:45:40 -04:00
Alan Donovan
675ee316e9
Merge pull request #4504 from cli/show-http-status
cs create: include HTTP status code in error from /user/codespaces/*/start
2021-10-13 09:00:37 -04:00
Jose Garcia
aa2270799c
Merge pull request #4505 from cli/jg/fix-connection
codespace: fix for API response body change
2021-10-13 08:29:11 -04:00
Jose Garcia
77a86e8611 Fix for API response body change
- Connection is now embedded within the top level of the Codespace
  payload instead of inside the environment.
2021-10-13 08:07:59 -04:00
Alan Donovan
9302e68c92 Include HTTP status code in error 2021-10-13 07:00:55 -04:00
Sam
968b093eda
Merge pull request #4396 from cli/speedy-extension-list
Use concurrency to check for extension updates
2021-10-12 15:53:51 -07:00
Jose Garcia
5170a2931f Switch to standard lib log.Logger & support dfile
- --debug-file flag can now be used in conjuction with --debug to
  specify the debug file path
- Push out logger concerns to callers of liveshare
2021-10-12 15:45:05 -04:00
Mislav Marohnić
7abf682e26
Merge pull request #4480 from cli/codeql-dependabot
CodeQL-Dependabot compatibility
2021-10-12 18:56:24 +02:00
Sam Coe
ed3427974c
Use concurrency to check for extension updates 2021-10-12 09:44:41 -07:00
Mislav Marohnić
efd0b677ef
Merge pull request #4496 from cli/dependabot/go_modules/github.com/gabriel-vasile/mimetype-1.4.0
Bump github.com/gabriel-vasile/mimetype from 1.1.2 to 1.4.0
2021-10-12 17:27:29 +02:00
dependabot[bot]
5fd9f68c85
Bump github.com/gabriel-vasile/mimetype from 1.1.2 to 1.4.0
Bumps [github.com/gabriel-vasile/mimetype](https://github.com/gabriel-vasile/mimetype) from 1.1.2 to 1.4.0.
- [Release notes](https://github.com/gabriel-vasile/mimetype/releases)
- [Commits](https://github.com/gabriel-vasile/mimetype/compare/v1.1.2...v1.4.0)

---
updated-dependencies:
- dependency-name: github.com/gabriel-vasile/mimetype
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-10-12 14:35:16 +00:00
Parth
ec554822b8
Add repo archive command (#4410)
Co-authored-by: meiji163 <mysatellite99@gmail.com>
2021-10-12 12:48:40 +02:00
Mateusz Urbanek
cedbbe3c2a
Add limit flag to codespace list (#4453)
Co-authored-by: Mislav Marohnić <mislav@github.com>
2021-10-11 18:32:40 +00:00
Mislav Marohnić
4d274bd24e
Merge pull request #4485 from cli/dependabot/go_modules/github.com/creack/pty-1.1.16
Bump github.com/creack/pty from 1.1.13 to 1.1.16
2021-10-11 18:30:57 +02:00
Mislav Marohnić
3956510cbc
Merge pull request #4484 from cli/dependabot/go_modules/github.com/hashicorp/go-version-1.3.0
Bump github.com/hashicorp/go-version from 1.2.1 to 1.3.0
2021-10-11 18:25:59 +02:00
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
dependabot[bot]
adc3072303
Bump github.com/creack/pty from 1.1.13 to 1.1.16
Bumps [github.com/creack/pty](https://github.com/creack/pty) from 1.1.13 to 1.1.16.
- [Release notes](https://github.com/creack/pty/releases)
- [Commits](https://github.com/creack/pty/compare/v1.1.13...v1.1.16)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-10-11 16:24:32 +00: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]
c20a5c2832
Bump github.com/hashicorp/go-version from 1.2.1 to 1.3.0
Bumps [github.com/hashicorp/go-version](https://github.com/hashicorp/go-version) from 1.2.1 to 1.3.0.
- [Release notes](https://github.com/hashicorp/go-version/releases)
- [Changelog](https://github.com/hashicorp/go-version/blob/master/CHANGELOG.md)
- [Commits](https://github.com/hashicorp/go-version/compare/v1.2.1...v1.3.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-10-11 14:25:33 +00: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ć
2819deb15b Avoid applying human-oriented PR automation to PRs from bots 2021-10-11 11:33:44 +02:00
Mislav Marohnić
dabaa5ad7d CodeQL-Dependabot compatibility
Configure the CodeQL workflow to avoid running for pushes on all pull
requests because that causes problems with Dependabot PRs.

https://github.com/cli/cli/pull/4475/checks?check_run_id=3857074760
2021-10-11 11:27:54 +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
Jose Garcia
1aefc74378 Add more time between events 2021-10-07 16:48:09 -04:00
Jose Garcia
1ff58a3de7 Update docs, remove needless condition check 2021-10-07 16:39:43 -04:00
Jose Garcia
97cbdca84a Fix additional race in tests 2021-10-07 15:45:55 -04:00
Jose Garcia
8a559ee12a Fix unrelated tests 2021-10-07 15:38:16 -04:00
Jose Garcia
2406f3f09a Fix races and remove unreachable code 2021-10-07 15:32:07 -04:00
Jose Garcia
7ba2fb4c0e Make fileLogger more versatile 2021-10-07 15:19:14 -04:00
Jose Garcia
8f5d6bb672 Tests for most of the new behavior
- Made the heartbeat interval configurable for easier testing
- Moved span to the top of connect to capture the full execution
2021-10-07 15:14:42 -04:00
Adarsh K Kumar
e0897fd8e8 #2720 | Add patch flag to pull-request diff command 2021-10-07 23:09:21 +05:30
Jose Garcia
9c8351ecd8 Merge branch 'trunk' of github.com:cli/cli into jg/liveshare-keepalive 2021-10-07 11:10:45 -04:00
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