diff --git a/_service b/_service index 8cb82b8..a1b0101 100644 --- a/_service +++ b/_service @@ -2,7 +2,7 @@ https://gitlab.com/gitlab-org/cli.git git - v1.52.0 + v1.53.0 @PARENT_TAG@ v(.*) enable diff --git a/_servicedata b/_servicedata index 9553ad7..dd79c97 100644 --- a/_servicedata +++ b/_servicedata @@ -1,4 +1,4 @@ https://gitlab.com/gitlab-org/cli.git - 4fd24da6a1f643aab839c68699b7515baa21f67a \ No newline at end of file + 83f988901b22d4d54536d6e9e20e76f8d6b61330 \ No newline at end of file diff --git a/glab-1.52.0.obscpio b/glab-1.52.0.obscpio deleted file mode 100644 index 9c657e4..0000000 --- a/glab-1.52.0.obscpio +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:a79b261e0952bff1cce9f4d29d338519d5083b7b7b0c544b9305b06e3ec5d6e1 -size 19037709 diff --git a/glab-1.53.0.obscpio b/glab-1.53.0.obscpio new file mode 100644 index 0000000..112d103 --- /dev/null +++ b/glab-1.53.0.obscpio @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:67c391649d459356459a77925de9bee3af7169d3f01065c76201d2151346618f +size 19101197 diff --git a/glab-disable_update_check.patch b/glab-disable_update_check.patch index c1dbb88..c55d218 100644 --- a/glab-disable_update_check.patch +++ b/glab-disable_update_check.patch @@ -1,22 +1,45 @@ -Description: Disable glab update check - Change default for the Debian package to not do update checks by default. -Author: Nicolas Schier -Forwarded: not-needed -Last-Update: 2023-07-06 +From 0301c9d65743cb85d6d7026c1b0c55ae36ead7b5 Mon Sep 17 00:00:00 2001 +From: Johannes Kastl +Date: Sun, 16 Feb 2025 10:30:09 +0100 +Subject: [PATCH] disable update check ---- glab-1.31.0.orig/internal/config/config.yaml.lock -+++ glab-1.31.0/internal/config/config.yaml.lock +Signed-off-by: Johannes Kastl +--- + commands/config/config.go | 2 +- + internal/config/config.yaml.lock | 2 +- + internal/config/config_stub.go | 2 +- + 3 files changed, 3 insertions(+), 3 deletions(-) + +diff --git a/commands/config/config.go b/commands/config/config.go +index 3bfcf635..def6e132 100644 +--- a/commands/config/config.go ++++ b/commands/config/config.go +@@ -26,7 +26,7 @@ Current respected settings: + - visual: Takes precedence over 'editor'. If unset, uses the default editor. Override with environment variable $VISUAL. + - glamour_style: Your desired Markdown renderer style. Options are dark, light, notty. Custom styles are available using [glamour](https://github.com/charmbracelet/glamour#styles). + - glab_pager: Your desired pager command to use, such as 'less -R'. +-- check_update: If true, notifies of new versions of glab. Defaults to true. Override with environment variable $GLAB_CHECK_UPDATE. ++- check_update: If true, notifies of new versions of glab. Defaults to false on openSUSE. + - display_hyperlinks: If true, and using a TTY, outputs hyperlinks for issues and merge request lists. Defaults to false. + `, "`"), + Aliases: []string{"conf"}, +diff --git a/internal/config/config.yaml.lock b/internal/config/config.yaml.lock +index b783ffd2..dda86da1 100644 +--- a/internal/config/config.yaml.lock ++++ b/internal/config/config.yaml.lock @@ -7,7 +7,7 @@ browser: # Set your desired Markdown renderer style. Available options are [dark, light, notty]. To set a custom style, refer to https://github.com/charmbracelet/glamour#styles glamour_style: dark # Allow glab to automatically check for updates and notify you when there are new updates. -check_update: true +check_update: false + # Last update check timestamp, used for checking when the last update check was performed. + last_update_check_timestamp: # Whether or not to display hyperlink escape characters when listing items like issues or merge requests. Set to TRUE to display hyperlinks in TTYs only. Force hyperlinks by setting FORCE_HYPERLINKS=1 as an environment variable. - display_hyperlinks: false - # Default GitLab hostname to use. ---- glab-1.31.0.orig/internal/config/config_stub.go -+++ glab-1.31.0/internal/config/config_stub.go +diff --git a/internal/config/config_stub.go b/internal/config/config_stub.go +index 9a11633f..4332a6c2 100644 +--- a/internal/config/config_stub.go ++++ b/internal/config/config_stub.go @@ -57,7 +57,7 @@ func rootConfig() *yaml.Node { }, { @@ -25,19 +48,7 @@ Last-Update: 2023-07-06 + Value: "false", }, { - HeadComment: "# Whether or not to display hyperlink escape characters when listing items like issues or merge requests. Set to TRUE to display hyperlinks in TTYs only. Force hyperlinks by setting FORCE_HYPERLINKS=1 as an environment variable.", + HeadComment: "# Last update check timestamp, used for checking when the last update check was performed.", +-- +2.47.2 - -Description: Reflect changed update check default in help text -Author: Georg Pfuetzenreuter ---- a/commands/config/config.go 2024-11-28 10:28:19.000000000 +0100 -+++ b/commands/config/config.go 2024-12-09 03:14:48.647482334 +0100 -@@ -26,7 +26,7 @@ - - visual: Takes precedence over 'editor'. If unset, uses the default editor. Override with environment variable $VISUAL. - - glamour_style: Your desired Markdown renderer style. Options are dark, light, notty. Custom styles are available using [glamour](https://github.com/charmbracelet/glamour#styles). - - glab_pager: Your desired pager command to use, such as 'less -R'. --- check_update: If true, notifies of new versions of glab. Defaults to true. -+- check_update: If true, notifies of new versions of glab. Defaults to false on openSUSE. - - display_hyperlinks: If true, and using a TTY, outputs hyperlinks for issues and merge request lists. Defaults to false. - `, "`"), - Aliases: []string{"conf"}, diff --git a/glab.changes b/glab.changes index f0d5764..d3017fa 100644 --- a/glab.changes +++ b/glab.changes @@ -1,3 +1,65 @@ +------------------------------------------------------------------- +Sun Feb 16 09:12:14 UTC 2025 - opensuse_buildservice@ojkastl.de + +- Update to version 1.53.0: + * feat(release): add experimental notes text-or-file parameter + * feat(diffs): Add --raw option to mr diffs + * fix: fix incorrect API host being shown in status + * fix(docs): document GLAB_CHECK_UPDATE environment variable + * chore(tests): added ssh-key list tests + * refactor(pagination): add parameters on struct creation + * feat(repo): list user projects + * fix(pkg/tableprinter): handle nil pointer cell values + * test(archive): fix flaky archive test + * chore(deps): update module golang.org/x/text to v0.22.0 + * refactor(main): move SilentError check out of printError + * chore: Fixing a test that keeps failing + * fix(issueable list): remove support multiple not- filter flags + * chore(uploads): ignore deprecated UploadFile function + * refactor(issues): rename ListIssues to ListProjectIssues + * chore(client-go): account for breaking changes + * chore(deps): update module client-go to v0.122.0 + * fix: make SilentError exit with code 1 as documented + * feat(update): check for updates periodically + * chore(deps): update module golang.org/x/oauth2 to v0.26.0 + * fix(snippet): show friendly error for project snippet without + repo + * feat(variables): add option to list/update/set description of + vars + * chore(deps): update dep @commitlint/config-conventional to + ^19.7.1 + * chore(deps): update dependency @commitlint/lint to ^19.7.1 + * refactor(git): remove excessive argument processing for + RunClone + * docs(project-search): Fixed project search example usage + * chore(deps): update dependency @commitlint/lint to ^19.7.1 + * feat(label): add command to delete labels + * test(label): add missing tests to label-creation + * docs: Shift environment variables from unordered list to table + * fix(snippet create): complete usage info + * chore: Tidy up docs for 'schedule update' + * feat(update_check): Rename variable to GLAB_CHECK_UPDATE + * build(flags): strip symbols from binary + * refactor(var): rename functions to match what they do + * fix(artifact): create subdirs instead of failing + * fix(mr merge): friendly error when merges require CI to pass + * refactor(perms): cleanup Windows permissions FIXME + * fix(ci status): detect branch repo from remote + * feat(schedule): Add option to edit an existing scheduled + pipeline + * chore: show colored diff when docs update is needed + * fix: listing of group variables without git repository + * feat(update check): Add env variable to skip update check + * fix(repo clone): correctly separate gitflags arguments + * feat(mr list): Add sorting functionality for MRs + * feat(cancel): implement glab ci cancel command + * docs(repo): explain archive-flag better + * feat(repo clone): document group syntax in usage + * feat: add debug output for tracing `glab ci status` + * chore(deps): update module k8s.io/client-go to v0.32.1 + * chore(deps): update module k8s.io/client-go to v0.32.1 +- rebase glab-disable_update_check.patch + ------------------------------------------------------------------- Mon Jan 20 13:51:23 UTC 2025 - opensuse_buildservice@ojkastl.de diff --git a/glab.obsinfo b/glab.obsinfo index 26005ab..cf1db26 100644 --- a/glab.obsinfo +++ b/glab.obsinfo @@ -1,4 +1,4 @@ name: glab -version: 1.52.0 -mtime: 1737378445 -commit: 4fd24da6a1f643aab839c68699b7515baa21f67a +version: 1.53.0 +mtime: 1739309454 +commit: 83f988901b22d4d54536d6e9e20e76f8d6b61330 diff --git a/glab.spec b/glab.spec index c86d314..55cf688 100644 --- a/glab.spec +++ b/glab.spec @@ -18,7 +18,7 @@ Name: glab -Version: 1.52.0 +Version: 1.53.0 Release: 0 Summary: A GitLab command line tool License: MIT @@ -124,6 +124,9 @@ install -D -m0644 %{name}.zsh %{buildroot}%{_datadir}/zsh/site-functions/_%{name install -D -m0644 %{name}.fish %{buildroot}%{_datadir}/fish/vendor_completions.d/%{name}.fish install -D -m0644 %{name}.bash %{buildroot}%{_datadir}/bash-completion/completions/%{name} +%check +%{buildroot}/%{_bindir}/%{name} version | grep %{version} + %files %license LICENSE %doc README.md diff --git a/vendor.tar.gz b/vendor.tar.gz index a109201..e1c9dfb 100644 --- a/vendor.tar.gz +++ b/vendor.tar.gz @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:f25006c9ac7b8db6afc1b33c617db5c7543b198847de0212b4bdb9d43c1262e9 -size 7829049 +oid sha256:6a9c4a3b045f33f5a78a7d03429c74cbc62cd9c223c6ba65167631a54d4a8f43 +size 7861109