Commit graph

248 commits

Author SHA1 Message Date
Sam Coe
06e438b4b4
Update to latest go-gh (#8359) 2023-11-20 16:11:36 +00:00
dependabot[bot]
a74a71e048
build(deps): bump github.com/creack/pty from 1.1.20 to 1.1.21 (#8345)
Bumps [github.com/creack/pty](https://github.com/creack/pty) from 1.1.20 to 1.1.21.
- [Release notes](https://github.com/creack/pty/releases)
- [Commits](https://github.com/creack/pty/compare/v1.1.20...v1.1.21)

---
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>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-17 16:04:42 +01:00
dependabot[bot]
b0252989eb
build(deps): bump github.com/henvic/httpretty from 0.1.2 to 0.1.3
Bumps [github.com/henvic/httpretty](https://github.com/henvic/httpretty) from 0.1.2 to 0.1.3.
- [Commits](https://github.com/henvic/httpretty/compare/v0.1.2...v0.1.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-02 14:18:44 +00:00
dependabot[bot]
534f6d7978
build(deps): bump github.com/creack/pty from 1.1.18 to 1.1.20 (#8265)
Bumps [github.com/creack/pty](https://github.com/creack/pty) from 1.1.18 to 1.1.20.
- [Release notes](https://github.com/creack/pty/releases)
- [Commits](https://github.com/creack/pty/compare/v1.1.18...v1.1.20)

---
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>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: William Martin <williammartin@github.com>
2023-11-01 10:34:47 +01:00
dependabot[bot]
ce7d89de0c
build(deps): bump google.golang.org/grpc from 1.53.0 to 1.56.3 (#8251)
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.53.0 to 1.56.3.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](https://github.com/grpc/grpc-go/compare/v1.53.0...v1.56.3)

---
updated-dependencies:
- dependency-name: google.golang.org/grpc
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-26 08:44:31 +02:00
Sam Coe
20baccfa85
Add default configuration back from go-gh (#8244) 2023-10-24 13:23:31 +02:00
Heath Stewart
7738b6187c
Add headers to all tables (#8157) 2023-10-20 11:20:02 +02:00
dependabot[bot]
1b58241501
build(deps): bump github.com/mattn/go-isatty from 0.0.19 to 0.0.20 (#8205)
Bumps [github.com/mattn/go-isatty](https://github.com/mattn/go-isatty) from 0.0.19 to 0.0.20.
- [Commits](https://github.com/mattn/go-isatty/compare/v0.0.19...v0.0.20)

---
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>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-18 15:26:14 +02:00
Sam Coe
59e84dd069
Remove crypto fork (#8204) 2023-10-18 11:19:03 +02:00
Mikel Olasagasti Uranga
46a7042b88
Bump cpuguy83/go-md2man from 2.0.1 to 2.0.3 (#8209)
Version 2.0.3 introduces a fix in PR
https://github.com/cpuguy83/go-md2man/pull/105 that breaks a test for
gen-doc, thus requires a small change in the test.
2023-10-18 07:17:20 +00:00
dependabot[bot]
7d558edd12
build(deps): bump github.com/gabriel-vasile/mimetype from 1.4.2 to 1.4.3 (#8185)
Bumps [github.com/gabriel-vasile/mimetype](https://github.com/gabriel-vasile/mimetype) from 1.4.2 to 1.4.3.
- [Release notes](https://github.com/gabriel-vasile/mimetype/releases)
- [Commits](https://github.com/gabriel-vasile/mimetype/compare/v1.4.2...v1.4.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-13 17:15:54 +02:00
David Gardiner
64f4660ec7
Migrate all Codespaces operations from Live Share to Dev Tunnels (#8149)
* Migrate all Codespaces operations from Live Share to Dev Tunnels

* Remove Live Share references

* Fix linting errors

* Update comments, remove deps, add uint16 bound checks

* Fix tests and move keep-alive logic to forwarder

* Address comments

* Updated mock port forwarder

* Fix CodeQL error

* Update comment

* Update func name

* Add missing connection close

* Fix linting error

* https -> http

* Update defer

* Fix tests
2023-10-12 22:16:36 +00:00
Sam Coe
776fdf5bb2
Update dependencies to fix security vulnerability (#8176) 2023-10-12 14:06:20 +02:00
David Gardiner
e059f32aa5 Forward codespace ports over Dev Tunnels 2023-09-27 13:42:40 -07:00
Ariel Deitcher
a94240e1e0 mark and unmark project as template 2023-08-30 09:00:24 -07:00
Sam Coe
8016244dbb
Use go-gh prompter package (#7896) 2023-08-28 08:08:43 -05:00
Sam Coe
4a57a812f5
Upgrade to Go 1.21 (#7843) 2023-08-16 10:37:58 -07:00
Sam Coe
8079d18efd
Use asciisanitization package from go-gh (#7745) 2023-07-24 10:50:33 -07:00
dependabot[bot]
4f334d72e6
build(deps): bump google.golang.org/grpc from 1.49.0 to 1.53.0
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.49.0 to 1.53.0.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](https://github.com/grpc/grpc-go/compare/v1.49.0...v1.53.0)

---
updated-dependencies:
- dependency-name: google.golang.org/grpc
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-05 21:28:57 +00:00
dependabot[bot]
b1a3b9986e
build(deps): bump github.com/henvic/httpretty from 0.1.1 to 0.1.2 (#7657)
Bumps [github.com/henvic/httpretty](https://github.com/henvic/httpretty) from 0.1.1 to 0.1.2.
- [Commits](https://github.com/henvic/httpretty/compare/v0.1.1...v0.1.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-04 08:18:06 +09:00
Jose Garcia
fd01fb71ad
Update httpretty to released version (#7654) 2023-07-03 09:03:30 +09:00
dependabot[bot]
e9a80652d5
build(deps): bump github.com/AlecAivazis/survey/v2 from 2.3.6 to 2.3.7
Bumps [github.com/AlecAivazis/survey/v2](https://github.com/AlecAivazis/survey) from 2.3.6 to 2.3.7.
- [Release notes](https://github.com/AlecAivazis/survey/releases)
- [Commits](https://github.com/AlecAivazis/survey/compare/v2.3.6...v2.3.7)

---
updated-dependencies:
- dependency-name: github.com/AlecAivazis/survey/v2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-13 14:58:17 +00:00
Ariel Deitcher
ad4a489f8d
Introduce gh project commands (#7375)
Co-authored-by: Mislav Marohnić <mislav@github.com>
2023-06-09 16:57:01 +00:00
dependabot[bot]
86e4281fc7
build(deps): bump github.com/cli/go-gh/v2 from 2.0.0 to 2.0.1
Bumps [github.com/cli/go-gh/v2](https://github.com/cli/go-gh) from 2.0.0 to 2.0.1.
- [Release notes](https://github.com/cli/go-gh/releases)
- [Commits](https://github.com/cli/go-gh/compare/v2.0.0...v2.0.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-07 14:58:43 +00:00
dependabot[bot]
f6bb2e83ef
build(deps): bump github.com/stretchr/testify from 1.8.3 to 1.8.4
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.8.3 to 1.8.4.
- [Release notes](https://github.com/stretchr/testify/releases)
- [Commits](https://github.com/stretchr/testify/compare/v1.8.3...v1.8.4)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-30 14:58:16 +00:00
Mislav Marohnić
cb33bce8c1
Merge pull request #7474 from cli/bump-browser
Update browser package to avoid Windows crash
2023-05-23 11:13:31 +02:00
dependabot[bot]
0a3c5726b7
build(deps): bump github.com/mattn/go-isatty from 0.0.18 to 0.0.19
Bumps [github.com/mattn/go-isatty](https://github.com/mattn/go-isatty) from 0.0.18 to 0.0.19.
- [Commits](https://github.com/mattn/go-isatty/compare/v0.0.18...v0.0.19)

---
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>
2023-05-22 15:00:08 +00:00
Mislav Marohnić
917c1faa71
Update browser package to avoid Windows crash 2023-05-22 12:31:05 +02:00
dependabot[bot]
d8888f2641
build(deps): bump github.com/stretchr/testify from 1.8.2 to 1.8.3
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.8.2 to 1.8.3.
- [Release notes](https://github.com/stretchr/testify/releases)
- [Commits](https://github.com/stretchr/testify/compare/v1.8.2...v1.8.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-19 14:58:34 +00:00
dependabot[bot]
4a76659996
build(deps): bump github.com/stretchr/testify from 1.8.1 to 1.8.2
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.8.1 to 1.8.2.
- [Release notes](https://github.com/stretchr/testify/releases)
- [Commits](https://github.com/stretchr/testify/compare/v1.8.1...v1.8.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-17 14:58:44 +00:00
Mislav Marohnić
83d6dc5878
Fix windows crash by bumping wincred 2023-05-17 14:43:31 +02:00
dependabot[bot]
e9ce94a3b8
build(deps): bump github.com/cenkalti/backoff/v4 from 4.2.0 to 4.2.1
Bumps [github.com/cenkalti/backoff/v4](https://github.com/cenkalti/backoff) from 4.2.0 to 4.2.1.
- [Release notes](https://github.com/cenkalti/backoff/releases)
- [Commits](https://github.com/cenkalti/backoff/compare/v4.2.0...v4.2.1)

---
updated-dependencies:
- dependency-name: github.com/cenkalti/backoff/v4
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-17 15:00:39 +00:00
Sam Coe
dbc2f05124
Update go-gh to v2 (#7299)
* Update go-gh

* Update code for go-gh v2
2023-04-16 15:34:23 +10:00
dependabot[bot]
3534cf7527
Bump github.com/mattn/go-isatty from 0.0.17 to 0.0.18 (#7217)
Bumps [github.com/mattn/go-isatty](https://github.com/mattn/go-isatty) from 0.0.17 to 0.0.18.
- [Release notes](https://github.com/mattn/go-isatty/releases)
- [Commits](https://github.com/mattn/go-isatty/compare/v0.0.17...v0.0.18)

---
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>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-23 07:53:21 +11:00
dependabot[bot]
2c2ce9b487
Bump github.com/gabriel-vasile/mimetype from 1.4.1 to 1.4.2
Bumps [github.com/gabriel-vasile/mimetype](https://github.com/gabriel-vasile/mimetype) from 1.4.1 to 1.4.2.
- [Release notes](https://github.com/gabriel-vasile/mimetype/releases)
- [Commits](https://github.com/gabriel-vasile/mimetype/compare/v1.4.1...v1.4.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-08 14:59:14 +00:00
Sam Coe
c9a2d85793
Cleanup config.AuthToken and config.DefaultHost methods (#7049) 2023-02-28 00:24:45 +00:00
Sam Coe
df83dc2d58
Add ability to store tokens in encrypted storage (#7043) 2023-02-28 00:04:53 +00:00
Sam Coe
aa1fe64cb6
Update golang.org/x/net package (#7026) 2023-02-21 15:54:57 +11:00
Josh Soref
7541ee6aec
Retry git clone on git clone failure in gh repo fork --clone (#6962) 2023-02-21 04:10:50 +00:00
Mislav Marohnić
9743928b7e
GH_DEBUG: fix api logging not corrupting response bodies
With `GH_DEBUG=api` and response bodies that are greater than a certain size, the httpretty logging library would corrupt the `resp.Body` reader in its HTTP Transport.
2023-02-06 17:03:09 +01:00
Mislav Marohnić
06af84f440
Merge pull request #6932 from cli/godotenv-bump
secret set: enable multiline values when reading from .env file
2023-02-06 16:17:57 +01:00
Mislav Marohnić
73fb4c1463
secret set: enable multiline values when reading from .env file 2023-02-06 15:29:37 +01:00
dependabot[bot]
c36aece5cd
Bump github.com/cli/oauth from 1.0.0 to 1.0.1
Bumps [github.com/cli/oauth](https://github.com/cli/oauth) from 1.0.0 to 1.0.1.
- [Release notes](https://github.com/cli/oauth/releases)
- [Commits](https://github.com/cli/oauth/compare/v1.0.0...v1.0.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-02 14:03:41 +00:00
Mislav Marohnić
4865eb5372
Bump the oauth library (#6885) 2023-01-24 18:08:20 +01:00
Nate Smith
08d7ea5f62
Merge pull request #6798 from cli/dependabot/go_modules/github.com/gdamore/tcell/v2-2.5.4
Bump github.com/gdamore/tcell/v2 from 2.5.3 to 2.5.4
2023-01-03 12:53:56 -06:00
dependabot[bot]
2d3ce6270a
Bump github.com/mattn/go-isatty from 0.0.16 to 0.0.17 (#6794)
Bumps [github.com/mattn/go-isatty](https://github.com/mattn/go-isatty) from 0.0.16 to 0.0.17.
- [Release notes](https://github.com/mattn/go-isatty/releases)
- [Commits](https://github.com/mattn/go-isatty/compare/v0.0.16...v0.0.17)

---
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>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-03 10:38:22 -08:00
dependabot[bot]
2e399dcf01
Bump github.com/gdamore/tcell/v2 from 2.5.3 to 2.5.4
Bumps [github.com/gdamore/tcell/v2](https://github.com/gdamore/tcell) from 2.5.3 to 2.5.4.
- [Release notes](https://github.com/gdamore/tcell/releases)
- [Changelog](https://github.com/gdamore/tcell/blob/main/CHANGESv2.md)
- [Commits](https://github.com/gdamore/tcell/compare/v2.5.3...v2.5.4)

---
updated-dependencies:
- dependency-name: github.com/gdamore/tcell/v2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-02 14:03:51 +00:00
Mislav Marohnić
a55dd656f3
Merge remote-tracking branch 'origin' into cobra-update 2022-12-20 17:15:25 +01:00
Mislav Marohnić
8cb312a620
Fix release assets upload retry logic
Enables up to 3 retries of uploading a single asset when encountering a network error or a HTTP 5xx error.

Bonus:
- simplifies ConcurrentUpload implementation
- support Go context cancellation
2022-12-14 21:25:09 +01:00
Mislav Marohnić
487990bb0c
bump safeexec for 1.19 fix 2022-12-12 16:48:25 +01:00