Commit Graph

2569 Commits

Author SHA1 Message Date
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
Gary Holtz 6ac665d589 Merge branch 'aqualls-make-a-changelog' into 'main'
docs: Add a stub changelog file

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

Merged-by: Gary Holtz <gholtz@gitlab.com>
Approved-by: Kai Armstrong <karmstrong@gitlab.com>
Approved-by: Gary Holtz <gholtz@gitlab.com>
Co-authored-by: Amy Qualls <aqualls@gitlab.com>
2024-02-22 16:01:54 +00:00
Amy Qualls b91eac9d84 docs: Add a stub changelog file 2024-02-22 16:01:52 +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
Oscar Tovar 969fbfa267 Merge branch 'glab_ci_show' into 'main'
feat(ci): add command to show full gitlab-ci configuration

Closes #7409

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

Merged-by: Oscar Tovar <otovar@gitlab.com>
Approved-by: Amy Qualls <aqualls@gitlab.com>
Approved-by: Oscar Tovar <otovar@gitlab.com>
Reviewed-by: Gary Holtz <gholtz@gitlab.com>
Reviewed-by: Sebastian Gumprich <gitlab@gumpri.ch>
Reviewed-by: Oscar Tovar <otovar@gitlab.com>
Co-authored-by: Sebastian Gumprich <sebastian.gumprich@telekom.de>
Co-authored-by: Sebastian Gumprich <gitlab@gumpri.ch>
Co-authored-by: Amy Qualls <aqualls@gitlab.com>
2024-02-13 15:05:10 +00:00
Sebastian Gumprich 323ee63bd1 feat(ci): add compile command to show full ci config 2024-02-13 15:05:10 +00:00
Tomas Vik b0ef650202 Merge branch 'eread/vale-and-markdown-refresh-docs' into 'main'
chore: Vale and Markdown rule refresh for project

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

Merged-by: Tomas Vik <tvik@gitlab.com>
Approved-by: Tomas Vik <tvik@gitlab.com>
Approved-by: Amy Qualls <aqualls@gitlab.com>
Co-authored-by: Evan Read <eread@gitlab.com>
2024-02-12 12:29:09 +00:00
Evan Read fcdb711463 chore: Vale and Markdown rule refresh for project 2024-02-09 11:29:30 +10:00
Kai Armstrong 70ce59dcec Merge branch '7463-aqualls-1password-mention' into 'main'
docs: Add mention of 1Password collaboration

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

Merged-by: Kai Armstrong <karmstrong@gitlab.com>
Approved-by: Kai Armstrong <karmstrong@gitlab.com>
Co-authored-by: Amy Qualls <aqualls@gitlab.com>
2024-02-08 21:13:25 +00:00
Amy Qualls cbacb50652 docs: Add mention of 1Password collaboration 2024-02-08 21:13:25 +00:00
Gary Holtz ea2f5422f8 Merge branch 'jmc-code-nav-go-version' into 'main'
chore: Update .gitlab-ci.yml - use GO_VERSION var for code_navigation

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

Merged-by: Gary Holtz <gholtz@gitlab.com>
Approved-by: Gary Holtz <gholtz@gitlab.com>
Co-authored-by: Jay McCure <jmccure@gitlab.com>
2024-02-08 02:58:30 +00:00
Jay McCure f482d6121e chore: Update .gitlab-ci.yml - use GO_VERSION var for code_navigation 2024-02-08 02:28:35 +00:00
Jay McCure b885c1b6cc Merge branch 'release-create-url' into 'main'
fix: use gitlab.Client.BaseURL to display release URL

Closes #7427

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

Merged-by: Jay McCure <jmccure@gitlab.com>
Approved-by: Jay McCure <jmccure@gitlab.com>
Co-authored-by: Simon Ser <contact@emersion.fr>
2024-02-08 02:05:34 +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
Tomas Vik 5519623772 Merge branch 'release-upload-url' into 'main'
fix: use gitlab.Client.BaseURL to build release upload URL

Closes #7427

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

Merged-by: Tomas Vik <tvik@gitlab.com>
Approved-by: Jay McCure <jmccure@gitlab.com>
Approved-by: Tomas Vik <tvik@gitlab.com>
Co-authored-by: Simon Ser <contact@emersion.fr>
2024-02-06 08:15:48 +00:00
Simon Ser 3357487273 fix: use gitlab.Client.BaseURL to build release upload URL 2024-02-06 08:15:48 +00:00
Tomas Vik 437641d021 Merge branch 'asciich-main-patch-65698' into 'main'
docs(sourcefile): fix gitFlags comment

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

Merged-by: Tomas Vik <tvik@gitlab.com>
Approved-by: Ashraf Khamis <akhamis@gitlab.com>
Approved-by: Tomas Vik <tvik@gitlab.com>
Co-authored-by: Reto Hasler <reto.hasler@asciich.ch>
2024-01-30 14:51:18 +00:00
Reto Hasler ae0b41be87 docs(sourcefile): fix gitFlags comment 2024-01-30 14:51:18 +00:00
Oscar Tovar 6b48f1060f Merge branch 'phikai-ai-readme' into 'main'
docs: add glab ask GitLab Duo docs to README

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

Merged-by: Oscar Tovar <otovar@gitlab.com>
Approved-by: Amy Qualls <aqualls@gitlab.com>
Approved-by: Igor Drozdov <idrozdov@gitlab.com>
Approved-by: Oscar Tovar <otovar@gitlab.com>
Co-authored-by: Amy Qualls <aqualls@gitlab.com>
Co-authored-by: Kai Armstrong <karmstrong@gitlab.com>
2024-01-29 22:23:31 +00:00
Kai Armstrong 858066d894 docs: add glab ask GitLab Duo docs to README 2024-01-29 22:23:30 +00:00
Kai Armstrong 38c1d06df3 Merge branch 'otovar/add-versioning-documentation' into 'main'
docs: document SemVer adoption and usage

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

Merged-by: Kai Armstrong <karmstrong@gitlab.com>
Approved-by: Amy Qualls <aqualls@gitlab.com>
Approved-by: Kai Armstrong <karmstrong@gitlab.com>
Co-authored-by: Amy Qualls <aqualls@gitlab.com>
Co-authored-by: Oscar Tovar <otovar@gitlab.com>
2024-01-11 18:41:26 +00:00
Oscar Tovar fed991ac39 docs: document SemVer adoption and usage 2024-01-11 18:41:26 +00: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
Tomas Vik 7a293c8672 Merge branch 'renameio' into 'main'
chore(dependency): update to github.com/google/renameio/v2

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

Merged-by: Tomas Vik <tvik@gitlab.com>
Approved-by: Amy Qualls <aqualls@gitlab.com>
Approved-by: Gary Holtz <gholtz@gitlab.com>
Approved-by: Tomas Vik <tvik@gitlab.com>
Reviewed-by: Tomas Vik <tvik@gitlab.com>
Co-authored-by: Mikel Olasagasti Uranga <mikel@olasagasti.info>
2024-01-09 15:52:48 +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
Gary Holtz 45ad6d8a4d Merge branch 'aqualls-enable-MD051' into 'main'
docs: Lint URL fragments for validity

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

Merged-by: Gary Holtz <gholtz@gitlab.com>
Approved-by: Gary Holtz <gholtz@gitlab.com>
Co-authored-by: Amy Qualls <aqualls@gitlab.com>
2024-01-04 03:29:02 +00:00
Amy Qualls a779cf02dd docs: Lint URL fragments for validity 2024-01-04 03:29:02 +00:00