Kai Armstrong
39e9e21313
chore: re-add linting/formatting job to ci
2022-11-17 18:36:09 +00:00
Kai Armstrong
f95b6ea90c
docs: add linting and checks to documentation
2022-10-21 14:38:48 +00:00
Oscar Tovar
40a5436789
chore: update module path
2022-09-19 20:23:45 +00:00
Calle Pettersson
44287f0f03
feat(mr): Only output MR URL to stdout if output is not a TTY ( #883 )
...
* feat(mr): Only output MR URL to stdout if output is not a TTY
This enables "glab mr create -f -y | some command" to only pass the url
through the pipe.
* feat(issue): Output only issue URL to stdout if output is not a TTY
2021-11-18 14:47:03 +00:00
Leo
ff74883381
refactor(commands/mr/{un,}subscribe): handle state changes
...
it makes sense to be able to sub and unsub from merge requests whatever
state they are in
2021-02-21 22:39:45 -03:00
Leo
5491c78763
feat(commands/mr/subscribe): allow subscribing to multiple MRs
2021-02-19 23:42:56 -03:00
Clement Sam
d52c01a482
refactor: move pkg/api package to /api
2021-01-29 08:43:18 +00:00
Clement Sam
b72427d268
switch entirely to ColorPalette
2021-01-29 00:56:45 +00:00
Leo
b5d342e1c8
feat(commands/mr/subscribe): add EXAMPLES
2021-01-08 19:16:45 -03:00
Clement Sam
d048c6db89
style: switch remaining commands to iostream package
2020-11-12 12:53:19 +00:00
Clement Sam
69faba7795
feat: add mr diff command ( #281 )
...
* feat: add mr diff command
* fix mr docs
* add tests
* linting
* fix test
2020-10-26 17:37:21 +00:00
Clement Sam
53f98c16b5
feat: detect MR for current branch ( #264 )
...
* feat: detect MR for current branch
* fix lint errors
* fix error on test
* fix error on test
2020-10-14 15:09:20 +00:00
Clement Sam
99bd765d04
refactor: simplify repo override behaviour
2020-10-09 16:04:16 +00:00
Clement Sam
37a6299a6b
test: add tests to the remaining commands ( #242 )
...
* chore(ci): set up gitlab ci for tests
* fix: disable authentication on config
* test: add tests to the remaining commands
* Format code with gofmt
This commit fixes the style issues introduced in bb0d2eb
according to the output
from gofmt.
Details: https://deepsource.io/gh/profclems/glab/transform/4b2c1a87-6034-43fd-9f87-45f176fd9c6d/
* 🔥 tests
* Format code with gofmt
This commit fixes the style issues introduced in 57a9ded
according to the output
from gofmt.
Details: https://deepsource.io/gh/profclems/glab/transform/00b78f3f-212e-4bd7-b0a3-39e3f3b70463/
* add more tests
* fix test failing on PR
Since tests are failing on PRs, I created a valid account for glab with an access token for test authentication
* Format code with gofmt
This commit fixes the style issues introduced in f37993a
according to the output
from gofmt.
Details: https://deepsource.io/gh/profclems/glab/transform/00ba1041-2293-49e2-8194-a4c8308c9211/
* fix mr autofill test failing
* fix mr autofill test failing
* fix mr autofill test failing
* fix note test
Co-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com>
2020-10-02 17:10:58 +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