Commit Graph

39 Commits

Author SHA1 Message Date
Sylvain Nieuwlandt e844f05b47 feat: Create a job artifact command 2024-04-22 11:42:29 +00:00
Patrick Bajao 07cf8c298a chore: Do not set CGO_ENABLED when running tests 2023-11-08 13:07:54 +08:00
Jay McCure 4875819ae3
chore(ci): save test log as an artifact 2023-07-11 16:20:39 +10:00
Clement Sam 85416db280 refactor: autogenerate config stub from lockfile 2023-04-27 14:29:22 +00:00
Gary Holtz 45ac8caaff fix: Change platform generating code 2023-04-12 22:39:49 +00:00
Jay McCure a6d9808b86 Merge branch 'add-debug-variable-makefile' into 'main'
chore: add debug environment variable to Makefile

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

Merged-by: Jay McCure <jmccure@gitlab.com>
Approved-by: Jay McCure <jmccure@gitlab.com>
Approved-by: James Liu <jliu@gitlab.com>
Reviewed-by: Jay McCure <jmccure@gitlab.com>
Co-authored-by: Jaime Martinez <jmartinez@gitlab.com>
2023-03-09 05:20:34 +00:00
Jaime Martinez 5afb7aae66 chore: add debug environment variable to Makefile 2023-03-09 05:20:33 +00:00
Gary Holtz d71d6fff30 chore: Modify UserAgent to be more like other CLIs 2023-03-08 16:36:03 +00:00
Jay McCure c3d3a6a419 chore(ci/test): separate integration tests 2023-03-07 13:28:38 +00:00
Patrick Bajao f1e1be68b0 chore: Add test-race make target 2023-02-13 18:46:27 +00:00
Jay McCure 538fbbbcd2 ci(coverage): report correct coverage 2023-02-08 18:14:06 +00:00
Oscar Tovar 40a5436789 chore: update module path 2022-09-19 20:23:45 +00:00
Shaun Duncan 795bec9eb5 fix(tests): modify test environment to work correctly for forks 2022-08-10 06:45:31 +00:00
Clement Sam 3b63a7b4bc add list-todo target to makefile
list-todo target uses golangci-lint with godox enabled to detect FIXME, TODO and other comment keywords
2021-01-29 11:56:55 +00:00
Clement Sam da4276bbe7 makefile: add manpage target 2021-01-20 12:14:46 +00:00
Clement Sam 53c93fde91 test: fix ci lint test 2020-12-21 15:59:47 +00:00
Clement Sam 7671fe3808 test: fix tests 2020-12-21 12:53:41 +00:00
Clement Sam 4f3353d5e6 makefile: set default target to build 2020-12-01 16:25:33 +00:00
Clement Sam 51c3e7d712 Ensure only $PATH is searched when switching to external commands
I added a work around to the exec.LookPath issue (https://github.com/golang/go/issues/38736) on windows
2020-11-26 15:11:19 +00:00
Clement Sam 715cc9821c makefile: target dependencies enhancements 2020-11-22 11:26:00 +00:00
Clement Sam e2d792c784 makefile: add more targets 2020-11-21 15:25:30 +00:00
Clement Sam d0bd867c6c
add pkg to test coverage 2020-11-15 05:26:04 +00:00
Clement Sam 4866d691da
docs: switch from md to rst (#280)
* docs: switch from md to rst

* set master_doc to index

* clean up
2020-10-26 12:55:03 +00:00
Clement Sam 6c4fe1c2e8
Isolate commands into separate sub-packages (#229)
* refactor: organize commands into separate subfolders

* Format code with gofmt

This commit fixes the style issues introduced in d1f70d5 according to the output
from gofmt.

Details: https://deepsource.io/gh/profclems/glab/transform/1ce57d1c-4f1e-48c2-a4d8-00c1bce7fb49/

* 🔥 sub-packaging

* Format code with gofmt

This commit fixes the style issues introduced in ca0bff4 according to the output
from gofmt.

Details: https://deepsource.io/gh/profclems/glab/transform/11379011-98c6-43ea-8baa-4fefa9b775e4/

* 🔥 sub-packaging

* Format code with gofmt

This commit fixes the style issues introduced in 00e5936 according to the output
from gofmt.

Details: https://deepsource.io/gh/profclems/glab/transform/c912f945-acf3-48d2-a550-0895c0153df0/

* Done with sub-packaging 🔥

* 🔥 tests

* Format code with gofmt

This commit fixes the style issues introduced in 56a8ff4 according to the output
from gofmt.

Details: https://deepsource.io/gh/profclems/glab/transform/24498865-4980-479f-90c7-7ddd228c2bb4/

* fix bug risks

* fix tests

* fix tests

* Format code with gofmt

This commit fixes the style issues introduced in c947d02 according to the output
from gofmt.

Details: https://deepsource.io/gh/profclems/glab/transform/cb2ac46a-f857-40d5-8508-eacc253b3614/

* Format code with gofmt

This commit fixes the style issues introduced in 902ff7b according to the output
from gofmt.

Details: https://deepsource.io/gh/profclems/glab/transform/f60ba0d6-94d3-47c0-ae27-568a5cc5d9e5/

* fix tests

* fix tests

* 🔥 gookit/color

* Format code with gofmt

This commit fixes the style issues introduced in 5a129ea according to the output
from gofmt.

Details: https://deepsource.io/gh/profclems/glab/transform/8f1c8327-f5c6-4ff5-97d2-3c8a23f0a1e2/

* Autofix issues in 1 files

Resolved issues in the following files via DeepSource Autofix:
1. commands/cmdtest/helper.go

* add tests for MR

* Format code with gofmt

This commit fixes the style issues introduced in 758af28 according to the output
from gofmt.

Details: https://deepsource.io/gh/profclems/glab/transform/d55a4867-aa23-4202-b2cc-a7ceafbaa53e/

* migrate old config to new config

* fix bug risks

* Format code with gofmt

This commit fixes the style issues introduced in 0ea8eb2 according to the output
from gofmt.

Details: https://deepsource.io/gh/profclems/glab/transform/f90cf664-8396-4b78-814d-3167ce898164/

* refactoring

Co-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com>
2020-09-29 05:55:34 +00:00
Clement Sam fcc074e421 fix: module path in makefile 2020-09-02 14:17:44 +00:00
Clement Sam 29408f32c3
test: commands tests (#173)
* test: commands tests

* Format code with gofmt

Co-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com>
2020-09-02 11:04:56 +00:00
Clement Sam 09ba1378f4 refactor: enhance error handling 2020-08-15 08:39:03 +00:00
Clement Sam c80df4f4af Fix(version): fixed incorrect version info
Resolves #82
2020-08-10 15:05:03 +00:00
Clement Sam bd4bb0c865 Fix(docs): Add README.md to deter editing the docs 2020-08-10 07:11:43 +00:00
Clement Sam a1bcca6d9a Fix(docs): fixed docs autogenerator 2020-08-10 06:40:08 +00:00
Clement Sam 0c56135072 Refactor: Restructure Project with cobra
Fix(crash): #60
Fix(help): #66
Fix(output): ansi style output on windows #54
Fix: #53
2020-08-09 09:58:28 +00:00
Clement Sam fd2891b950 docs: auto-generate docs
Resolves #68
2020-08-08 17:14:55 +00:00
Clement Sam 45ea8e8653 chore(release): Add homebrew 2020-08-05 00:42:32 +00:00
Clement Sam 8120402ed1 Fixed build with gitreleaser 2020-07-31 07:15:17 +00:00
Clement Sam c78600fa74 Added flag to create source branch for merge request #18 2020-07-29 06:08:02 +00:00
Clement Sam b3fdc1c47a Automate releases with goreleaser 2020-07-29 05:08:02 +00:00
Clement Sam e2be4bfbbc Automated cross-compilation 2020-07-29 03:11:09 +00:00
Clement Sam a41dfc1ef2 Fixed wrong version display 2020-07-27 18:55:47 +00:00
Clement Sam 0c86115f90 Added makefile for automated tests and builds 2020-07-27 13:25:27 +00:00