Commit Graph

19 Commits

Author SHA1 Message Date
Jay McCure 465a67fcef fix(check-update): remove auth for check-update 2023-09-17 21:46:57 +00:00
Jay McCure b834f40e4c
fix(check-update): always show error when check-update fails 2023-06-09 18:34:38 +10:00
Neil Roza bb9c3603bc fix(check-update): remove unicode characters in favor of ascii 2023-05-25 16:49:18 +00:00
Michael Mead cb775d70d6 chore: upgrade go-gitlab to 0.81.0 2023-04-05 12:27:43 +00:00
Vitali Tatarintev c75eef927b refactor(test): use http constants in tests 2023-03-10 18:23:39 +00:00
Kai Armstrong b18a2c0be8
fix: check-update command output to StdErr 2023-02-07 16:01:30 -06:00
Kai Armstrong 39e9e21313 chore: re-add linting/formatting job to ci 2022-11-17 18:36:09 +00:00
Oscar Tovar 40a5436789 chore: update module path 2022-09-19 20:23:45 +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
Spreadcat 0c20a97b7f
fix: add linebreak to check-output msg (#895)
This fix adds a linebreak after the check-update output message.

Co-authored-by: Daniel Buøy-Vehn <profclem.gitlab@micronarrativ.org>
2021-11-12 10:08:15 +00:00
Clement Sam 42930fd55f move /internal/git to /pkg/git 2021-01-29 10:15:59 +00:00
Clement Sam b72427d268 switch entirely to ColorPalette 2021-01-29 00:56:45 +00:00
Clement Sam 8352f6e427 reasonably change iostream methods
Change iostreams methods names and references
2021-01-28 23:07:05 +00:00
Clement Sam e4acafd006 refactor: move iostreams to own separate package
- Move iostreams to own separate package
- Fix references to iostream package
- Add StartSpinner and StopSpinner methods
2021-01-28 22:38:32 +00:00
Clement Sam ff2e936599 fix incorrect version info on check-update
Fixes #282
2020-11-16 16:29:31 +00:00
Clement Sam d048c6db89 style: switch remaining commands to iostream package 2020-11-12 12:53:19 +00:00
Calle Pettersson c38d047578 fix: remove empty alias for check-update
Unbreaks the bash-completion generation

Signed-off-by: Calle Pettersson <calle@cape.nu>
2020-11-01 18:05:32 +01:00
Clement Sam d71e3d8f89
chore(ci): use golangci action (#256)
* chore(ci): use golangci action

* Update lint.yml

* Update lint.yml

* fix lint chore

* fix lint errors

* fix lint errors

* disable travis buddy to reduce noise
2020-10-07 21:12:12 +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