Commit Graph

187 Commits

Author SHA1 Message Date
Jay McCure 6a5769d0d4
fix(auth status): exit with code 1 when auth fails 2024-05-01 11:05:28 +10:00
Mikel d2eabc73b9 chore(deps): Update retry-go dependency 2024-04-24 14:50:58 +00:00
Timo Furrer 077b50219d chore(deps): update github.com/xanzy/go-gitlab to v0.103.0 2024-04-19 22:43:30 +00:00
Justen Stall 6d181a1f0b
fix(deps): update github.com/xanzy/go-gitlab to v0.101.0
- Update github.com/xanzy/go-gitlab from v0.93.0 to v0.101.0
- Update rebase MR functions to use RebaseMergeRequestOptions for setting the "skip_ci" field
- Update all request options to use the LabelOptions type
- Replace deprecated gitlab.{String,Int,Bool,etc} functions with gitlab.Ptr

Fixes #7504

Signed-off-by: Justen Stall <justenstall@gmail.com>
2024-04-04 14:24:13 -04:00
Shekhar Patnaik 2b7d84f9bc Merge branch 'dcouture-upgrade-go-1-20' into 'main'
build: upgrade go version from 1.19 to 1.21

See merge request https://gitlab.com/gitlab-org/cli/-/merge_requests/1393

Merged-by: Shekhar Patnaik <spatnaik@gitlab.com>
Approved-by: Shekhar Patnaik <spatnaik@gitlab.com>
Approved-by: James Liu <jliu@gitlab.com>
Co-authored-by: Dominic Couture <dcouture@gitlab.com>
2024-01-10 07:38:23 +00:00
Mikel 49f06b73a1 chore(dependency): update to github.com/google/renameio/v2 2024-01-09 15:52:48 +00:00
Dominic Couture 3efdf9844d
build: upgrade go version from 1.19 to 1.21 2024-01-08 16:27:49 +01:00
Oscar Tovar 47b2676865 chore: Bump minimum supported Go version to 1.19 2023-10-27 05:27:37 +00:00
Timo Furrer eec102ad3f feat(cluster): Implement basic `update-kubeconfig` command 2023-10-26 04:39:50 +00:00
Kai Armstrong 8728637cce
fix: upgrade x/net 2023-10-19 15:47:57 -05:00
Taka Nishida 3d81c74097 feat(cluster): implement cluster agent `get-token` command 2023-10-13 18:16:27 +00:00
Jay McCure 79a9211729 chore(dependency): remove alecthomas/assert module 2023-10-05 13:20:13 +00:00
Jay McCure cbea97c368
chore(dependency): remove jarcoal/httpmock 2023-10-04 10:40:27 +10:00
Jay McCure 35385c5c0d Merge branch '1368-show-pipeline-iid' into 'main'
Add Pipeline IID to `ci list`

Closes #1368

See merge request https://gitlab.com/gitlab-org/cli/-/merge_requests/1315

Merged-by: Jay McCure <jmccure@gitlab.com>
Approved-by: Sami Hiltunen <shiltunen@gitlab.com>
Approved-by: Jay McCure <jmccure@gitlab.com>
Reviewed-by: Sami Hiltunen <shiltunen@gitlab.com>
Co-authored-by: Andrew Seales <andrew.seales@ed.ac.uk>
2023-08-11 10:01:22 +00:00
Andrew Seales 730c1db9b3
fix(deps): upgrade go-gitlab to v0.88.0
A couple of SSH Key APIs had to be updated to deal with pagination
for this upgrade to work.
2023-08-09 10:53:16 +01:00
Jay McCure fa9cd2e611
chore: use latest tview version 2023-08-05 10:41:31 +10:00
Jay McCure e9881890d5
chore: downgrade tview 2023-08-04 09:58:54 +10:00
Sebastian Krebs aacab6a129 docs: clarify possible options for parameters for "ci list" 2023-07-13 00:31:10 +00:00
Gary Holtz 990a515fcc
chore: bumping go-gitlab to 0.86.0 2023-07-05 23:44:08 -05:00
Kai Armstrong 315a603cc5
chore: downgrade tview 2023-05-08 10:13:50 -05:00
Sebastian Krebs bd25257a2e feat: update go and dependency versions 2023-05-02 14:53:07 +00:00
Igor Drozdov 48c40fda90 fix(spinner): Bump spinner library version 2023-05-01 16:41:09 +00:00
Marek Vospěl c5f06fd679
feat: add support for token storage in encrypted keychains 2023-04-10 13:35:38 +02:00
Michael Mead cb775d70d6 chore: upgrade go-gitlab to 0.81.0 2023-04-05 12:27:43 +00:00
Gary Holtz 873c3a51b3
chore: update golang/x/net package 2023-03-27 11:52:12 -05:00
Mikel Olasagasti Uranga af24109223 build(deps): update github.com/AlecAivazis/survey/v2 to v2.3.6 2023-01-09 21:21:28 +01:00
Sebastian Gumprich b72d566e2f feat(schedule): Add command to list schedules 2023-01-02 07:55:17 +00:00
Andreas Gruhler 4354e9c55c feat: add GITLAB_GROUP override to issue/mr/variable list (#1057) 2022-12-12 21:56:04 +00:00
Oscar Tovar 163223de18 build(deps): upgrade github.com/xanzy/go-gitlab to v0.73.1 2022-10-04 19:29:02 +00:00
Oscar Tovar 40a5436789 chore: update module path 2022-09-19 20:23:45 +00:00
Calle Pettersson 3c2b1e7399
fix: Fail with a specific error when unauthenticated (#886)
* fix: Fail with a specific error when unauthenticated

If resolutions fails, return the error instead of "no GitLab Projects found
from remotes"

* fix: Do not break multi-network setups on authentication failure

* go mod tidy
2022-02-28 15:20:55 +00:00
Clement Sam 4e9c673845
Require Go 1.17+ (#898) 2021-11-03 23:57:08 +00:00
Brady Mitchell af35a7217e
feature: add variable delete command (#890)
* Move IsValidKey to new variableutils package

* add variable delete command

* remove unnecessary alias

* wip: add tests

* working tests
2021-11-03 16:26:13 +00:00
Clement Sam 74d6d07d79
update dependencies (#884) 2021-10-19 22:31:24 +00:00
Clement Sam 2835c9944b {go.mod,go.sum}: update dependencies 2021-09-11 02:33:12 +00:00
Clement Sam dd0900c516 --amend 2021-08-01 05:17:29 +00:00
Clement Sam c90891e962 {go.mod, go.sum}: update dependencies 2021-08-01 05:06:33 +00:00
Clement Sam 5ef63d8430 feat: switch to cobra\'s v2 bash completion
This adds description of commands to bash completion script.
Also introduces `--no-desc` flag to allow users turn off description.
2021-07-30 19:53:33 +00:00
dependabot[bot] 40ebc52c27
chore(deps): bump github.com/AlecAivazis/survey/v2 from 2.2.12 to 2.2.13
Bumps [github.com/AlecAivazis/survey/v2](https://github.com/AlecAivazis/survey) from 2.2.12 to 2.2.13.
- [Release notes](https://github.com/AlecAivazis/survey/releases)
- [Commits](https://github.com/AlecAivazis/survey/compare/v2.2.12...v2.2.13)

---
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>
2021-06-29 12:10:32 +00:00
dependabot[bot] b43cf6f11c
chore(deps): 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-06-24 12:03:59 +00:00
dependabot[bot] 6bdaf210b4
chore(deps): bump github.com/briandowns/spinner from 1.15.0 to 1.16.0
Bumps [github.com/briandowns/spinner](https://github.com/briandowns/spinner) from 1.15.0 to 1.16.0.
- [Release notes](https://github.com/briandowns/spinner/releases)
- [Commits](https://github.com/briandowns/spinner/compare/v1.15.0...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-06-22 12:03:56 +00:00
dependabot[bot] 903c89e892
chore(deps): bump github.com/gdamore/tcell/v2 from 2.3.10 to 2.3.11
Bumps [github.com/gdamore/tcell/v2](https://github.com/gdamore/tcell) from 2.3.10 to 2.3.11.
- [Release notes](https://github.com/gdamore/tcell/releases)
- [Changelog](https://github.com/gdamore/tcell/blob/master/CHANGESv2.adoc)
- [Commits](https://github.com/gdamore/tcell/compare/v2.3.10...v2.3.11)

---
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>
2021-06-11 05:18:48 +00:00
dependabot[bot] 82c1ada5b7
chore(deps): bump github.com/gdamore/tcell/v2 from 2.3.9 to 2.3.10
Bumps [github.com/gdamore/tcell/v2](https://github.com/gdamore/tcell) from 2.3.9 to 2.3.10.
- [Release notes](https://github.com/gdamore/tcell/releases)
- [Changelog](https://github.com/gdamore/tcell/blob/master/CHANGESv2.adoc)
- [Commits](https://github.com/gdamore/tcell/compare/v2.3.9...v2.3.10)

---
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>
2021-06-10 05:10:06 +00:00
dependabot[bot] 205c95f628
chore(deps): bump github.com/tidwall/pretty from 1.1.1 to 1.2.0
Bumps [github.com/tidwall/pretty](https://github.com/tidwall/pretty) from 1.1.1 to 1.2.0.
- [Release notes](https://github.com/tidwall/pretty/releases)
- [Commits](https://github.com/tidwall/pretty/compare/v1.1.1...v1.2.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-08 05:18:19 +00:00
dependabot[bot] 9fa2cd125c
chore(deps): bump github.com/gdamore/tcell/v2 from 2.3.8 to 2.3.9
Bumps [github.com/gdamore/tcell/v2](https://github.com/gdamore/tcell) from 2.3.8 to 2.3.9.
- [Release notes](https://github.com/gdamore/tcell/releases)
- [Changelog](https://github.com/gdamore/tcell/blob/master/CHANGESv2.adoc)
- [Commits](https://github.com/gdamore/tcell/compare/v2.3.8...v2.3.9)

---
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>
2021-06-07 06:05:13 +00:00
dependabot[bot] a974101b1c
chore(deps): bump github.com/briandowns/spinner from 1.13.0 to 1.15.0
Bumps [github.com/briandowns/spinner](https://github.com/briandowns/spinner) from 1.13.0 to 1.15.0.
- [Release notes](https://github.com/briandowns/spinner/releases)
- [Commits](https://github.com/briandowns/spinner/compare/v1.13.0...v1.15.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-06-04 05:48:52 +00:00
dependabot[bot] 41273b1334
chore(deps): bump github.com/gdamore/tcell/v2 from 2.3.5 to 2.3.8
Bumps [github.com/gdamore/tcell/v2](https://github.com/gdamore/tcell) from 2.3.5 to 2.3.8.
- [Release notes](https://github.com/gdamore/tcell/releases)
- [Changelog](https://github.com/gdamore/tcell/blob/master/CHANGESv2.adoc)
- [Commits](https://github.com/gdamore/tcell/compare/v2.3.5...v2.3.8)

---
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>
2021-06-02 05:16:20 +00:00
dependabot[bot] 8213db4b60
chore(deps): bump github.com/gdamore/tcell/v2 from 2.3.3 to 2.3.5
Bumps [github.com/gdamore/tcell/v2](https://github.com/gdamore/tcell) from 2.3.3 to 2.3.5.
- [Release notes](https://github.com/gdamore/tcell/releases)
- [Changelog](https://github.com/gdamore/tcell/blob/master/CHANGESv2.adoc)
- [Commits](https://github.com/gdamore/tcell/compare/v2.3.3...v2.3.5)

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-01 05:46:44 +00:00
Clement Sam 2215613b9c
Merge pull request #739 from profclems/dependabot/go_modules/github.com/mattn/go-isatty-0.0.13
chore(deps): bump github.com/mattn/go-isatty from 0.0.12 to 0.0.13
2021-05-27 16:39:54 +00:00
Clement Sam 8c5ef218ec
Merge pull request #740 from profclems/dependabot/go_modules/github.com/tidwall/pretty-1.1.1
chore(deps): bump github.com/tidwall/pretty from 1.1.0 to 1.1.1
2021-05-27 16:39:31 +00:00