Commit Graph

1057 Commits

Author SHA1 Message Date
Viktor Nagy (GitLab) e8d51850f6 feat(cluster): Add check manifest usage command 2024-05-13 16:08:35 +00:00
Jay McCure 156ca69c6c Merge branch 'gmh-fix-clone-integration-test' into 'main'
test: fixing error running integration test locally

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

Merged-by: Jay McCure <jmccure@gitlab.com>
Approved-by: Jay McCure <jmccure@gitlab.com>
Co-authored-by: Gary Holtz <gholtz@gitlab.com>
2024-05-10 04:40:57 +00:00
Jay McCure 820b644ca1 fix(glab repo fork): clone if --clone flag set 2024-05-09 21:22:23 +00:00
Gary Holtz c294edf117
test: fixing error running integration test locally 2024-05-08 16:15:23 -05:00
Gary Holtz f77a6313f8 Merge branch 'jmc-auth-exit-code' into 'main'
fix(auth status): exit with code 1 when auth fails

Closes #911

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

Merged-by: Gary Holtz <gholtz@gitlab.com>
Approved-by: Huzaifa Iftikhar <hiftikhar@gitlab.com>
Reviewed-by: Huzaifa Iftikhar <hiftikhar@gitlab.com>
Co-authored-by: Jay McCure <jmccure@gitlab.com>
2024-05-06 14:54:30 +00:00
Jay McCure 55b02cf3e0
fix(project): don't request statistics 2024-05-02 16:43:28 +10:00
Jay McCure 6a5769d0d4
fix(auth status): exit with code 1 when auth fails 2024-05-01 11:05:28 +10:00
Viacheslav Vasilyev d4663189c2 feat: allow to provide custom client-id 2024-04-24 19:27:12 +00:00
Shekhar Patnaik 7953c99e8e Merge branch 'gmh-fix-environment-variable-tests' into 'main'
test: fix issue with environment variables being set

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

Merged-by: Shekhar Patnaik <spatnaik@gitlab.com>
Approved-by: Vitali Tatarintev <vtatarintev@gitlab.com>
Approved-by: Shekhar Patnaik <spatnaik@gitlab.com>
Co-authored-by: Gary Holtz <gholtz@gitlab.com>
2024-04-24 14:51:44 +00:00
Shekhar Patnaik 4b3defdd0f Merge branch 'update-avast' into 'main'
chore(deps): Update retry-go dependency

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

Merged-by: Shekhar Patnaik <spatnaik@gitlab.com>
Approved-by: Erran Carey <ecarey@gitlab.com>
Approved-by: Shekhar Patnaik <spatnaik@gitlab.com>
Co-authored-by: Mikel Olasagasti Uranga <mikel@olasagasti.info>
2024-04-24 14:50:58 +00:00
Mikel d2eabc73b9 chore(deps): Update retry-go dependency 2024-04-24 14:50:58 +00:00
Timo Furrer a64a024937 feat(release): support `direct_asset_path` and alias `filepath` 2024-04-24 11:51:08 +00:00
Sebastian Gumprich 7e17307f82 fix(docs): w/o issue-no, the example will fail 2024-04-22 20:46:03 +02:00
Shekhar Patnaik 00a2e08bbd Merge branch 'refactor/ci_subgroups' into 'main'
feat: Create a job artifact command

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

Merged-by: Shekhar Patnaik <spatnaik@gitlab.com>
Approved-by: Gary Holtz <gholtz@gitlab.com>
Approved-by: Shekhar Patnaik <spatnaik@gitlab.com>
Reviewed-by: Gary Holtz <gholtz@gitlab.com>
Co-authored-by: Sylvain Nieuwlandt <nieuwlandt.s@an0rak.dev>
2024-04-22 11:42:30 +00:00
Sylvain Nieuwlandt e844f05b47 feat: Create a job artifact command 2024-04-22 11:42:29 +00:00
Gary Holtz a09c60159e
test: fix issue with environment variables being set 2024-04-20 16:19:20 -05:00
Jay McCure 06808d1c4d Merge branch 'jmc-7480' into 'main'
docs(config): update editor and browser config docs

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

Merged-by: Jay McCure <jmccure@gitlab.com>
Approved-by: Vitali Tatarintev <vtatarintev@gitlab.com>
2024-04-19 01:30:09 +00:00
Jay McCure eb8fe85923 fix(issue list): change output flag back to output-format 2024-04-18 17:55:51 +00:00
Jay McCure 1df8c5dde8
docs(config): update editor and browser config docs 2024-04-18 11:37:15 +10:00
Gary Holtz 1ef57d61a6 refactor: Moving sanitize function to utilities 2024-04-17 20:43:32 +00:00
Justen Stall 7c7896a4fb
fix: update "glab ci run-trig" to use new go-gitlab functions
- Resolve merge conflicts
- Update "glab ci run-trig" to use new go-gitlab pointer functions

Fixes #7504

Signed-off-by: Justen Stall <justenstall@gmail.com>
2024-04-11 14:21:27 -04:00
Clément Saccoccio 3b90d00d29 feat: Add new command to run Pipeline Triggers 2024-04-11 08:30:58 +00:00
Gary Holtz 2ae39e1037 fix: Getting the last pipeline is broken with merged results 2024-04-09 19:14:27 +00:00
Justen Stall b465f00b7f
fix(test): update test data for updated github.com/xanzy/go-gitlab
- Add fields in "ci get" test data
- Update labels field in mr, issuable, and issue list test data
- Remove query parameter from "mr rebase --skip-ci" mock path

Fixes #7504

Signed-off-by: Justen Stall <justenstall@gmail.com>
2024-04-04 15:46:50 -04: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
Jay McCure 3fc655c970 Merge branch '6400-glab-mr-checkout-number-results-in-404-error-if-you-don-t-have-access-to-the-source-repository' into 'main'
feat(checkout): Fixing bug with private forks

Closes #6400

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

Merged-by: Jay McCure <jmccure@gitlab.com>
Approved-by: Huzaifa Iftikhar <hiftikhar@gitlab.com>
Approved-by: Jay McCure <jmccure@gitlab.com>
Co-authored-by: Gary Holtz <gholtz@gitlab.com>
2024-03-25 08:14:45 +00:00
Gary Holtz 242a2ed6f6 feat(checkout): Fixing bug with private forks 2024-03-25 08:14:44 +00:00
Shekhar Patnaik 2de2d082c8 Merge branch 'gmh-refactor-test-function' into 'main'
refactor: Refactor code that returns buffer contents in tests

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

Merged-by: Shekhar Patnaik <spatnaik@gitlab.com>
Approved-by: Allison Browne <abrowne@gitlab.com>
Co-authored-by: Gary Holtz <gholtz@gitlab.com>
2024-03-21 15:19:44 +00:00
Gary Holtz 5263e4b2a5
refactor: Refactor code that returns buffer contents in tests 2024-03-20 10:55:11 -05:00
Kai Armstrong dd326d8da3
chore: fix typo in trigger command docs 2024-03-18 10:55:10 -05:00
Dmytro Makovey 893f5c945a feat: Json output 2024-03-07 06:08:07 +00:00
Louis Dutton 28e3db3265 fix: support transparent background on all tui views 2024-03-05 12:52:45 +00:00
Gary Holtz 206f352a60 Merge branch 'nathanaelhoun-main-patch-16e5' into 'main'
fix: reorganise commands/variable/update like commands/variable/set

Closes #7455

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

Merged-by: Gary Holtz <gholtz@gitlab.com>
Approved-by: Gary Holtz <gholtz@gitlab.com>
Approved-by: Davis Bickford <dbickford@gitlab.com>
Reviewed-by: Davis Bickford <dbickford@gitlab.com>
Co-authored-by: Nathanaël Houn <contact@nathanaelhoun.fr>
2024-02-27 19:52:39 +00:00
Nathanaël Houn 433940cd48 fix: reorganise commands/variable/update like commands/variable/set 2024-02-27 19:52:39 +00:00
Shekhar Patnaik 3003a14f49 Merge branch 'fix/7462' into 'main'
fix: ci trigger does interactively ask for job (#7462)

Closes #7462

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

Merged-by: Shekhar Patnaik <spatnaik@gitlab.com>
Approved-by: Shekhar Patnaik <spatnaik@gitlab.com>
Approved-by: Jaime Martinez <jmartinez@gitlab.com>
Reviewed-by: Jaime Martinez <jmartinez@gitlab.com>
Co-authored-by: Andreas Weber <weber.andreas@gmail.com>
2024-02-16 19:44:20 +00:00
Andreas Weber 9728579fba fix: ci trigger does interactively ask for job (#7462) 2024-02-15 18:10:40 +01:00
Sebastian Gumprich 323ee63bd1 feat(ci): add compile command to show full ci config 2024-02-13 15:05:10 +00:00
Simon Ser 8da2595aaa fix(release): use link to display release URL 2024-02-08 02:05:33 +00:00
Gary Holtz fdd61b008f Merge branch '7454' into 'main'
fix: change `repo list` alias from `users` to `ls`

Closes #7454

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

Merged-by: Gary Holtz <gholtz@gitlab.com>
Approved-by: Gary Holtz <gholtz@gitlab.com>
Reviewed-by: Gary Holtz <gholtz@gitlab.com>
Co-authored-by: Breno Silva <bbatistadasilva@bol.com>
2024-02-06 18:01:22 +00:00
Breno Batista da Silva a483c1b7d6 fix: change `repo list` alias from `users` to `ls` 2024-02-06 18:01:22 +00:00
Simon Ser 3357487273 fix: use gitlab.Client.BaseURL to build release upload URL 2024-02-06 08:15:48 +00:00
Reto Hasler ae0b41be87 docs(sourcefile): fix gitFlags comment 2024-01-30 14:51:18 +00:00
Dominic Couture 3efdf9844d
build: upgrade go version from 1.19 to 1.21 2024-01-08 16:27:49 +01:00
Gary Holtz 51e449d499 Merge branch 'pagination_release_list' into 'main'
feat(pagination): add pagination to release list

Closes #1279

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

Merged-by: Gary Holtz <gholtz@gitlab.com>
Approved-by: Amy Qualls <aqualls@gitlab.com>
Approved-by: James Liu <jliu@gitlab.com>
Approved-by: Gary Holtz <gholtz@gitlab.com>
Co-authored-by: Sebastian Gumprich <sebastian.gumprich@telekom.de>
Co-authored-by: Amy Qualls <aqualls@gitlab.com>
2024-01-02 23:09:34 +00:00
Sebastian Gumprich 7340cf1e57 feat(pagination): add pagination to release list 2024-01-02 23:09:33 +00:00
Sebastian Gumprich bb69db18a5 feat(schedule): add option to create a scheduled pipeline with variables 2024-01-02 20:31:50 +00:00
Sebastian Gumprich 8bace091b4 feat(lint): provide dry-run, include-jobs and ref options 2023-12-21 05:42:00 +00:00
Mikel eb8c3fa7c5 chore: remove deprecated `config init` command 2023-12-14 17:51:26 +00:00
Shekhar Patnaik 078e3f1dcb Merge branch '1286' into 'main'
fix: prefer CTRL+D for cancel job (#1286)

Closes #1286

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

Merged-by: Shekhar Patnaik <spatnaik@gitlab.com>
Approved-by: Amy Qualls <aqualls@gitlab.com>
Approved-by: Shekhar Patnaik <spatnaik@gitlab.com>
Co-authored-by: Andreas Weber <weber.andreas@gmail.com>
2023-12-12 17:18:42 +00:00
Andreas Weber 29dcb84f21 feat: use ciutils.getJobId in trigger cmd (#7424) 2023-12-12 13:28:03 +00:00