Commit Graph

71 Commits

Author SHA1 Message Date
Jay McCure 55b02cf3e0
fix(project): don't request statistics 2024-05-02 16:43:28 +10: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
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
Sebastian Gumprich bb69db18a5 feat(schedule): add option to create a scheduled pipeline with variables 2024-01-02 20:31:50 +00:00
Timo Furrer eec102ad3f feat(cluster): Implement basic `update-kubeconfig` command 2023-10-26 04:39:50 +00:00
Taka Nishida 3d81c74097 feat(cluster): implement cluster agent `get-token` command 2023-10-13 18:16:27 +00:00
Timo Furrer 68473b8eda feat(cluster): add cluster agent list command 2023-09-25 14:41:42 +00:00
Hugues 945febf505 feat: add support for child pipelines in ci view 2023-08-17 14:03:03 +00:00
Vitali Tatarintev da7e47aa8e feat(incident): add incident subscribe command 2023-06-15 10:24:31 +00:00
Sebastian Gumprich afdcc8b053 feat(schedule): Add commands to create and delete schedules 2023-06-09 02:40:11 +00:00
Gary Holtz 2d71244efc
fix: Adjusting timeout value to prevent hangs 2023-05-30 14:38:50 -05:00
Michael Mead 4f200f917e feat: add new changelog command 2023-05-17 15:26:35 +00:00
Shekhar Patnaik a520d70148 fix(ci): Fixed issue with API deprecation for CI lint 2023-05-12 03:10:59 +00:00
Jay McCure bf9895b8c2 Merge branch 'add-incident-unsubscribe-command' into 'main'
feat(incident): add incident unsubscribe command

Closes #1325

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

Merged-by: Jay McCure <jmccure@gitlab.com>
Approved-by: Halil Coban <hcoban@gitlab.com>
Approved-by: Jay McCure <jmccure@gitlab.com>
Reviewed-by: Tomas Vik (OOO back on 2023-05-10) <tvik@gitlab.com>
Reviewed-by: Vitali Tatarintev <vtatarintev@gitlab.com>
Reviewed-by: Jay McCure <jmccure@gitlab.com>
Co-authored-by: Vitali Tatarintev <vtatarintev@gitlab.com>
2023-05-10 00:32:57 +00:00
Vitali Tatarintev b7f4c3f9ef feat(incident): add incident unsubscribe command
- add `incident unsubscribe` command to unsubscribe from an incident

Delivers: #1325
2023-05-09 09:52:52 +02:00
Shekhar Patnaik c9d9138aeb feat(auth login): Add support for OAuth2 2023-05-02 21:25:32 +00:00
Michael Mead cb775d70d6 chore: upgrade go-gitlab to 0.81.0 2023-04-05 12:27:43 +00:00
Gary Holtz 9b80e44bf6
feat(pagination): add pagination to user events 2023-03-27 14:12:22 -05:00
Vitali Tatarintev af690a3d62 refactor: use HTTP constants in code 2023-03-10 01:02:35 +00:00
Gary Holtz a72ecfeda6 chore: remove build date and add architecture 2023-03-09 02:31:35 +00:00
Gary Holtz d71d6fff30 chore: Modify UserAgent to be more like other CLIs 2023-03-08 16:36:03 +00:00
Sebastian Gumprich 59d4637b28 feat(schedule): Add command to run schedules 2023-02-21 15:04:27 +00:00
Shekhar Patnaik 1dbeae7bb6 fix(ci): Fix issue where `ci get` fails if user is not maintainer 2023-02-08 18:09:41 +00:00
Shekhar Patnaik 983a68d5dc fix(mr): Fixed EOF error when todo is called multiple times 2023-02-02 09:15:08 +00:00
Patrick Bajao 1085d25e21 feat(rebase): Add support for --skip-ci flag 2023-01-30 19:38:31 +00:00
Jeroen Huinink 4b1948fe3f feat(variable get): Add scope parameter to variable get subcommand 2023-01-18 18:18:24 +00:00
Sebastian Gumprich b72d566e2f feat(schedule): Add command to list schedules 2023-01-02 07:55:17 +00:00
Kai Armstrong cf0968d56d chore: fix ioutil lint deprecations 2022-11-30 12:45:08 +00:00
Kai Armstrong 39e9e21313 chore: re-add linting/formatting job to ci 2022-11-17 18:36:09 +00:00
Dmytro Makovey 1bee4cc99c feat: Extend "pipeline" command functions 2022-11-09 17:09:14 +00:00
Clement Sam f4c9b6f20e fix: avoid prompting for remotes in non-TTY 2022-10-18 01:31:57 +00:00
Gary Holtz 89f20eeafe Adding security MRs to setup auto mirroring 2022-10-13 05:01:51 +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
Jesenko Mehmedbašić e49292fd24 The clone command with a specified group supports automatic pagination enabling cloning of more than 100 projects at once. 2022-09-28 15:08:53 +00:00
Oscar Tovar 40a5436789 chore: update module path 2022-09-19 20:23:45 +00:00
Gary Holtz 7a19cc7ce9 Merge branch 'issue-839' into 'main'
feat[variable]: add get subCommand to variable

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

Merged-by: Gary Holtz <gholtz@gitlab.com>
Approved-by: Dmytro Makovey <dmakovey@gitlab.com>
Co-authored-by: LinaLinn <lina.cloud@outlook.de>
2022-09-19 18:04:54 +00:00
LinaLinn 4ab5c16194 feat[variable]: add get subCommand to variable 2022-09-19 18:04:54 +00:00
Tommy Alatalo dedd6c2074 Add group issue board api functions 2022-09-14 18:16:46 +00:00
Clement Sam 40c8f6760e fix(check-update): check latest release from GitLab
Currently the check-update command which checks for
latest glab releases, checks from the releases page
of the old GitHub repo.

This MR changes this behaviour to check releases
from the new gitlab-org/cli repo.
2022-08-10 18:58:23 +00:00
Eduardo Cardoso c05f1036c8
fix: fix validation for GitLab 14.5 tokens (#971) 2022-03-11 01:38:58 +00:00
Alberts Zemzale 5429bb7f9d feat(api): Add api wrappers for creating snippets
This adds two simple API wrappers for creating snippets for the user and
inside the project. This should help us start work with creating a
snippets command.

Issue #872
2022-02-08 15:42:25 +02:00
Alberts Zemzale a150b45926 feat(api): Add issue time wrapper function
These are building blocks for adding time tracking functionality for
issues.

Issue #934
2022-01-31 20:48:38 +02:00
João Pedro Pedroza 8d15282524
Add artifact download command (#910)
* feat: add artifact download command

* fix(command/ci/artifact): add error return in functions

* fix: add error return in copy function
2022-01-19 01:25:54 +00:00
zemzale 612ff86427
feat: Add group flag to mr list command (#931)
* feat: Add group flag to mr list command

This adds a flag for listing groups mrs. This works only for groups in
authenticated repos. This is acceptable since mr list only works on
authenticated repos too.

Issue #909

* feat: Add group flag for issue listing

Issue #909
2022-01-10 13:08:39 +00:00
Nikhil Jagtap 69fad1fe3f
added push mirror and command (#887)
* added push mirror and command

* reformatted push code to separate from pull mirror

* restructured mirror calls

* fixed typo in long description, changed maxArgs to exactArgs, added edit call for pull mirror

* made url and direction required, passing allow-divergence now warns when used with pull mirror, added separate options struct for both push and pull mirror calls

* add prject url to be specified as argument

Co-authored-by: NikhilMJagtap <nikhil.jagtap@workindia.in>
Co-authored-by: Clement Sam <clementsam75@gmail.com>
2021-12-20 17:37:03 +00:00
Brady Mitchell 9b44934c07
feature: add variable update command (#902) 2021-11-18 14:49:48 +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
addshore b8928008b5 Move glinstance to pkg 2021-09-24 18:51:08 +01:00
Clement Sam 2835c9944b {go.mod,go.sum}: update dependencies 2021-09-11 02:33:12 +00:00