Accepting request 1246223 from devel:tools:scm

OBS-URL: https://build.opensuse.org/request/show/1246223
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/glab?expand=0&rev=41
This commit is contained in:
Dominique Leuenberger 2025-02-16 21:48:48 +00:00 committed by Git OBS Bridge
commit fd177241f4
9 changed files with 113 additions and 37 deletions

View File

@ -2,7 +2,7 @@
<service name="obs_scm" mode="manual">
<param name="url">https://gitlab.com/gitlab-org/cli.git</param>
<param name="scm">git</param>
<param name="revision">v1.52.0</param>
<param name="revision">v1.53.0</param>
<param name="versionformat">@PARENT_TAG@</param>
<param name="versionrewrite-pattern">v(.*)</param>
<param name="changesgenerate">enable</param>

View File

@ -1,4 +1,4 @@
<servicedata>
<service name="tar_scm">
<param name="url">https://gitlab.com/gitlab-org/cli.git</param>
<param name="changesrevision">4fd24da6a1f643aab839c68699b7515baa21f67a</param></service></servicedata>
<param name="changesrevision">83f988901b22d4d54536d6e9e20e76f8d6b61330</param></service></servicedata>

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a79b261e0952bff1cce9f4d29d338519d5083b7b7b0c544b9305b06e3ec5d6e1
size 19037709

3
glab-1.53.0.obscpio Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:67c391649d459356459a77925de9bee3af7169d3f01065c76201d2151346618f
size 19101197

View File

@ -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 <nicolas@fjasle.eu>
Forwarded: not-needed
Last-Update: 2023-07-06
From 0301c9d65743cb85d6d7026c1b0c55ae36ead7b5 Mon Sep 17 00:00:00 2001
From: Johannes Kastl <git@johannes-kastl.de>
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 <git@johannes-kastl.de>
---
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"},

View File

@ -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

View File

@ -1,4 +1,4 @@
name: glab
version: 1.52.0
mtime: 1737378445
commit: 4fd24da6a1f643aab839c68699b7515baa21f67a
version: 1.53.0
mtime: 1739309454
commit: 83f988901b22d4d54536d6e9e20e76f8d6b61330

View File

@ -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

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f25006c9ac7b8db6afc1b33c617db5c7543b198847de0212b4bdb9d43c1262e9
size 7829049
oid sha256:6a9c4a3b045f33f5a78a7d03429c74cbc62cd9c223c6ba65167631a54d4a8f43
size 7861109