Commit Graph

2549 Commits

Author SHA1 Message Date
Oscar Tovar 9ed43f6507 Merge branch 'feature/allow-to-set-client-id' into 'main'
feat: allow to provide custom client-id

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

Merged-by: Oscar Tovar <otovar@gitlab.com>
Approved-by: Amy Qualls <aqualls@gitlab.com>
Approved-by: Greg Alfaro <galfaro@gitlab.com>
Approved-by: Oscar Tovar <otovar@gitlab.com>
Reviewed-by: Oscar Tovar <otovar@gitlab.com>
Co-authored-by: avoidik <avoidik@gmail.com>
2024-04-24 19:27:12 +00: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
Tomas Vik 8a7c7f55cf Merge branch 'release-assets-links-direct-asset-path' into 'main'
feat(release): support `direct_asset_path` and alias `filepath`

Closes #1195

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

Merged-by: Tomas Vik <tvik@gitlab.com>
Approved-by: Toon Claes <toon@gitlab.com>
Approved-by: Tomas Vik <tvik@gitlab.com>
Reviewed-by: Tomas Vik <tvik@gitlab.com>
Co-authored-by: Timo Furrer <tfurrer@gitlab.com>
2024-04-24 11:51:09 +00:00
Timo Furrer a64a024937 feat(release): support `direct_asset_path` and alias `filepath` 2024-04-24 11:51:08 +00:00
Gary Holtz 2931bb3f49 Merge branch 'jmc-remove-lic-scan' into 'main'
chore(ci): remove deprecated Jobs/License-Scanning.latest.gitlab-ci.yml

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

Merged-by: Gary Holtz <gholtz@gitlab.com>
Approved-by: Gary Holtz <gholtz@gitlab.com>
Co-authored-by: Jay McCure <jmccure@gitlab.com>
2024-04-23 03:56:29 +00:00
Jay McCure f56ae83af2 chore(ci): remove deprecated Jobs/License-Scanning.latest.gitlab-ci.yml 2024-04-23 00:31:38 +00:00
Amy Qualls 8d470c6787 Merge branch 'fix_issue_help' into 'main'
fix(docs): w/o issue-no, the example will fail

Closes #7503

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

Merged-by: Amy Qualls <aqualls@gitlab.com>
Approved-by: Amy Qualls <aqualls@gitlab.com>
Co-authored-by: Sebastian Gumprich <sebastian.gumprich@telekom.de>
2024-04-22 21:44:25 +00:00
Sebastian Gumprich 7e17307f82 fix(docs): w/o issue-no, the example will fail 2024-04-22 20:46:03 +02:00
Gary Holtz 3386603a19 Merge branch 'phikai-go-tests' into 'main'
chore: run tests with Go 1.22

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

Merged-by: Gary Holtz <gholtz@gitlab.com>
Approved-by: Gary Holtz <gholtz@gitlab.com>
Co-authored-by: Kai Armstrong <karmstrong@gitlab.com>
2024-04-22 18:00:38 +00:00
Oscar Tovar b160a47b70 Merge branch 'jmc-commitlint-update-deps' into 'main'
chore(docs): update dependencies for commit-lint script

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

Merged-by: Oscar Tovar <otovar@gitlab.com>
Approved-by: Ezekiel Kigbo <3397881-ekigbo@users.noreply.gitlab.com>
Approved-by: Oscar Tovar <otovar@gitlab.com>
Reviewed-by: Ezekiel Kigbo <3397881-ekigbo@users.noreply.gitlab.com>
Co-authored-by: Jay McCure <jmccure@gitlab.com>
2024-04-22 16:06:02 +00:00
Jay McCure 9b3ad5d490 chore(docs): update dependencies for commit-lint script 2024-04-22 16:06:02 +00:00
Kai Armstrong 4e735f8f7c
chore: run tests with Go 1.22 2024-04-22 09:21:06 -05: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
Gary Holtz 0c57027934 Merge branch 'dependency/go-gitlab-0.103.0' into 'main'
chore(deps): update github.com/xanzy/go-gitlab to v0.103.0

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

Merged-by: Gary Holtz <gholtz@gitlab.com>
Approved-by: Gary Holtz <gholtz@gitlab.com>
Co-authored-by: Timo Furrer <tfurrer@gitlab.com>
2024-04-19 22:43:30 +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
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
Gary Holtz 0a1bdd618f Merge branch 'jmc-7491' into 'main'
fix(issue list): change output flag back to output-format

Closes #7491

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

Merged-by: Gary Holtz <gholtz@gitlab.com>
Approved-by: Patrick Bajao <ebajao@gitlab.com>
Approved-by: Shekhar Patnaik <spatnaik@gitlab.com>
Reviewed-by: Patrick Bajao <ebajao@gitlab.com>
Reviewed-by: Jay McCure <jmccure@gitlab.com>
Co-authored-by: Jay McCure <jmccure@gitlab.com>
2024-04-18 17:55:51 +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
Ahmed Hemdan ad0dbca670 Merge branch 'gmh-sanitize-function' into 'main'
refactor: Moving sanitize function to utilities

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

Merged-by: Ahmed Hemdan <ahemdan@gitlab.com>
Approved-by: Patrick Bajao <ebajao@gitlab.com>
Approved-by: Ahmed Hemdan <ahemdan@gitlab.com>
Reviewed-by: Patrick Bajao <ebajao@gitlab.com>
Co-authored-by: Gary Holtz <gholtz@gitlab.com>
2024-04-17 20:43:32 +00:00
Gary Holtz 1ef57d61a6 refactor: Moving sanitize function to utilities 2024-04-17 20:43:32 +00:00
Gary Holtz e5b7694349 Merge branch 'main' into 'main'
fix(deps): update github.com/xanzy/go-gitlab to v0.101.0

Closes #7504

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

Merged-by: Gary Holtz <gholtz@gitlab.com>
Approved-by: Halil Coban <hcoban@gitlab.com>
Approved-by: Gary Holtz <gholtz@gitlab.com>
Reviewed-by: Gary Holtz <gholtz@gitlab.com>
Co-authored-by: Justen Stall <justenstall@gmail.com>
2024-04-11 20:21:24 +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
Jay McCure 44dc7b7250 Merge branch 'pipeline-trigger-support' into 'main'
feat: Add new command to run Pipeline Triggers

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

Merged-by: Jay McCure <jmccure@gitlab.com>
Approved-by: Timo Furrer <tfurrer@gitlab.com>
Approved-by: Jay McCure <jmccure@gitlab.com>
Reviewed-by: Clément Saccoccio <git-clement@saccoccio.me>
Reviewed-by: Jay McCure <jmccure@gitlab.com>
Reviewed-by: Timo Furrer <tfurrer@gitlab.com>
Co-authored-by: Clément Saccoccio <git-clement@saccoccio.me>
2024-04-11 08:30:58 +00:00
Clément Saccoccio 3b90d00d29 feat: Add new command to run Pipeline Triggers 2024-04-11 08:30:58 +00:00
Gary Holtz 81226874f5 Merge branch '7475-segmentation-violation-glab-ci-get-immediately-sigsegvs' into 'main'
fix: Getting the last pipeline is broken with merged results

Closes #7475

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

Merged-by: Gary Holtz <gholtz@gitlab.com>
Approved-by: Timo Furrer <tfurrer@gitlab.com>
Approved-by: Ahmed Hemdan <ahemdan@gitlab.com>
Approved-by: Amy Qualls <aqualls@gitlab.com>
Reviewed-by: Ahmed Hemdan <ahemdan@gitlab.com>
Reviewed-by: Timo Furrer <tfurrer@gitlab.com>
Co-authored-by: Amy Qualls <aqualls@gitlab.com>
2024-04-09 19:14:28 +00:00
Gary Holtz 2ae39e1037 fix: Getting the last pipeline is broken with merged results 2024-04-09 19:14:27 +00:00
Kai Armstrong 26ac354ad5 Merge branch 'gmh-update-golang' into 'main'
fix: updating golang version

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

Merged-by: Kai Armstrong <karmstrong@gitlab.com>
Approved-by: Kai Armstrong <karmstrong@gitlab.com>
Co-authored-by: Gary Holtz <gholtz@gitlab.com>
2024-04-06 17:40:47 +00:00
Gary Holtz fe6a57dd50 fix: updating golang version 2024-04-06 17:40:47 +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
Gary Holtz 69ecce612a Merge branch 'phikai-trigger-docs-typo' into 'main'
chore: fix typo in trigger command docs

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

Merged-by: Gary Holtz <gholtz@gitlab.com>
Approved-by: Gary Holtz <gholtz@gitlab.com>
Reviewed-by: Gary Holtz <gholtz@gitlab.com>
Co-authored-by: Kai Armstrong <karmstrong@gitlab.com>
2024-03-18 22:36:18 +00:00
Kai Armstrong dd326d8da3
chore: fix typo in trigger command docs 2024-03-18 10:55:10 -05:00
Kai Armstrong 928974a8db Merge branch 'main' into 'main'
chore: fix typo support -> supported

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

Merged-by: Kai Armstrong <karmstrong@gitlab.com>
Approved-by: Kai Armstrong <karmstrong@gitlab.com>
Co-authored-by: Yakko Majuri <yakko.majuri@gmail.com>
2024-03-08 15:27:23 +00:00
Jay McCure 4983225503 Merge branch 'json-output' into 'main'
feat: Json output

Closes #828

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

Merged-by: Jay McCure <jmccure@gitlab.com>
Approved-by: Amy Qualls <aqualls@gitlab.com>
Approved-by: Jay McCure <jmccure@gitlab.com>
Reviewed-by: Jay McCure <jmccure@gitlab.com>
Co-authored-by: Dmitry Makovey <dmakovey@gitlab.com>
2024-03-07 06:08:07 +00:00
Dmytro Makovey 893f5c945a feat: Json output 2024-03-07 06:08:07 +00:00
Yakko Majuri c8b515adc7 chore: fix typo support -> supported 2024-03-06 19:23:40 +00:00
Tomas Vik 7cba522587 Merge branch 'tui-transparency' into 'main'
fix: support transparent background on all tui views

Closes #676 and #1281

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

Merged-by: Tomas Vik <tvik@gitlab.com>
Approved-by: Patrick Bajao <ebajao@gitlab.com>
Approved-by: Tomas Vik <tvik@gitlab.com>
Co-authored-by: Louis Dutton <louis.dutton@icloud.com>
2024-03-05 12:52:46 +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