Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package glab for openSUSE:Factory checked in at 2026-09-19 22:23:11 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/glab (Old) and /work/SRC/openSUSE:Factory/.glab.new.383539 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "glab" Sat Sep 19 22:23:11 2026 rev:95 rq:1379041 version:1.117.0 Changes: -------- --- /work/SRC/openSUSE:Factory/glab/glab.changes 2026-08-26 19:57:19.283365824 +0200 +++ /work/SRC/openSUSE:Factory/.glab.new.383539/glab.changes 2026-09-19 22:25:07.301562022 +0200 @@ -1,0 +2,24 @@ +Sun Sep 13 08:18:52 UTC 2026 - Martin Pluskal <[email protected]> + +- Update to version 1.117.0 (includes 1.116.0): + * attach: upload and reference local files with --attach + * df firewall proxy: npm wrapper and pm runner with env-proxy + engine, pypi/ruby/yarn managers, gem/maven/pypi matchers + * df: JVM PKCS#12 truststore helper, fsx temp-file helper + * telemetry: report coding agent, CLI version, platform, + endpoint and HTTP method + * config: help generated from KeySchema, schema aliases, + glab_pager and debug settings + * auth fixes: honor login flags and default host, + access-token-only OAuth2 helpers, pre-18.9 token URL + * alias list shows the full command, repo create honors + --skipGitInit, MCP schemas advertise inherited flags + * docs: single environment variable reference, CLI content + moved to the docs site +- Build with Go 1.27, upstream go.mod now requires go >= 1.27: + go1.26/golang 1.26.3 floors raised to go1.27/golang 1.27. +- Trim glab-disable_update_check.patch to the schema.go hunk: + upstream moved commands/ to internal/commands/, so the bundled + commands/config/config.go never compiled and was never built. + +------------------------------------------------------------------- Old: ---- glab-1.115.0.obscpio New: ---- glab-1.117.0.obscpio ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ glab.spec ++++++ --- /var/tmp/diff_new_pack.ymc6p9/_old 2026-09-19 22:25:08.867627337 +0200 +++ /var/tmp/diff_new_pack.ymc6p9/_new 2026-09-19 22:25:08.868627378 +0200 @@ -18,7 +18,7 @@ Name: glab -Version: 1.115.0 +Version: 1.117.0 Release: 0 Summary: A GitLab command line tool License: MIT @@ -33,10 +33,10 @@ Suggests: glab-doc %if 0%{?fedora_version} || 0%{?rhel_version} || 0%{?centos_version} || 0%{?almalinux_version} || 0%{?rocky_version} BuildRequires: git -BuildRequires: golang >= 1.26.3 +BuildRequires: golang >= 1.27 %else BuildRequires: git-core -BuildRequires: go1.26 >= 1.26.3 +BuildRequires: go1.27 >= 1.27 BuildRequires: golang-packaging %endif ++++++ _service ++++++ --- /var/tmp/diff_new_pack.ymc6p9/_old 2026-09-19 22:25:08.898628630 +0200 +++ /var/tmp/diff_new_pack.ymc6p9/_new 2026-09-19 22:25:08.901628755 +0200 @@ -3,7 +3,7 @@ <param name="url">https://gitlab.com/gitlab-org/cli.git</param> <param name="scm">git</param> <param name="package-meta">yes</param> - <param name="revision">refs/tags/v1.115.0</param> + <param name="revision">refs/tags/v1.117.0</param> <param name="versionformat">@PARENT_TAG@</param> <param name="versionrewrite-pattern">v(.*)</param> <param name="changesgenerate">enable</param> ++++++ _servicedata ++++++ --- /var/tmp/diff_new_pack.ymc6p9/_old 2026-09-19 22:25:08.923629672 +0200 +++ /var/tmp/diff_new_pack.ymc6p9/_new 2026-09-19 22:25:08.925629756 +0200 @@ -1,6 +1,6 @@ <servicedata> <service name="tar_scm"> <param name="url">https://gitlab.com/gitlab-org/cli.git</param> - <param name="changesrevision">c3612c8deb89183da68aa0d31ca1f748f381d820</param></service></servicedata> + <param name="changesrevision">44790937bcbf6120698250cc41c9b4fb811c2a03</param></service></servicedata> (No newline at EOF) ++++++ glab-1.115.0.obscpio -> glab-1.117.0.obscpio ++++++ ++++ 19343 lines of diff (skipped) ++++++ glab-disable_update_check.patch ++++++ --- /var/tmp/diff_new_pack.ymc6p9/_old 2026-09-19 22:25:10.167681557 +0200 +++ /var/tmp/diff_new_pack.ymc6p9/_new 2026-09-19 22:25:10.171681724 +0200 @@ -9,228 +9,27 @@ hunks no longer apply since upstream moved the default to a schema.go KeyDef table; restored the actual disabling effect by flipping that KeyDef's Default there instead. +mpluskal: dropped the dead commands/config/config.go creation for +1.117.0 - upstream moved commands/ to internal/commands/ long ago, +so that file never compiled and was never built; the schema.go flip +is the whole effect. Hunk context refreshed (KeySchema gained +EnvVars/longer Description). --- - commands/config/config.go | 199 +++++++++++++++++++++++++++++++++++++++++++ - internal/config/schema.go | 2 +- - 2 files changed, 200 insertions(+), 1 deletion(-) - create mode 100644 commands/config/config.go + internal/config/schema.go | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) -diff --git a/commands/config/config.go b/commands/config/config.go -new file mode 100644 -index 00000000..e71fe0a1 ---- /dev/null -+++ b/commands/config/config.go -@@ -0,0 +1,199 @@ -+package config -+ -+import ( -+ "fmt" -+ -+ "github.com/MakeNowJust/heredoc/v2" -+ "github.com/spf13/cobra" -+ -+ "gitlab.com/gitlab-org/cli/commands/cmdutils" -+ "gitlab.com/gitlab-org/cli/internal/config" -+ "gitlab.com/gitlab-org/cli/pkg/browser" -+) -+ -+func NewCmdConfig(f *cmdutils.Factory) *cobra.Command { -+ var isGlobal bool -+ -+ configCmd := &cobra.Command{ -+ Use: "config [flags]", -+ Short: `Manage glab settings.`, -+ Long: heredoc.Docf(`Manage key/value strings. -+ -+Current respected settings: -+ -+- browser: If unset, uses the default browser. Override with environment variable $BROWSER. -+- 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. -+- editor: If unset, uses the default editor. Override with environment variable $EDITOR. -+- glab_pager: Your desired pager command to use, such as 'less -R'. -+- glamour_style: Your desired Markdown renderer style. Options are dark, light, notty. Custom styles are available using [glamour](https://github.com/charmbracelet/glamour#styles). -+- host: If unset, defaults to %[1]shttps://gitlab.com%[1]s. -+- token: Your GitLab access token. Defaults to environment variables. -+- visual: Takes precedence over 'editor'. If unset, uses the default editor. Override with environment variable $VISUAL. -+`, "`"), -+ Aliases: []string{"conf"}, -+ } -+ -+ configCmd.Flags().BoolVarP(&isGlobal, "global", "g", false, "Use global config file.") -+ -+ configCmd.AddCommand(NewCmdConfigGet(f)) -+ configCmd.AddCommand(NewCmdConfigSet(f)) -+ configCmd.AddCommand(NewCmdConfigEdit(f)) -+ -+ return configCmd -+} -+ -+func NewCmdConfigGet(f *cmdutils.Factory) *cobra.Command { -+ var hostname string -+ -+ cmd := &cobra.Command{ -+ Use: "get <key>", -+ Short: "Prints the value of a given configuration key.", -+ Long: ``, -+ Example: ` -+ $ glab config get editor -+ vim -+ $ glab config get glamour_style -+ notty -+`, -+ Args: cobra.ExactArgs(1), -+ RunE: func(cmd *cobra.Command, args []string) error { -+ cfg, err := f.Config() -+ if err != nil { -+ return err -+ } -+ -+ val, err := cfg.Get(hostname, args[0]) -+ if err != nil { -+ return err -+ } -+ -+ if val != "" { -+ fmt.Fprintf(f.IO.StdOut, "%s\n", val) -+ } -+ return nil -+ }, -+ } -+ -+ cmd.Flags().StringVarP(&hostname, "host", "h", "", "Get per-host setting.") -+ cmd.Flags().BoolP("global", "g", false, "Read from global config file (~/.config/glab-cli/config.yml). (default checks 'Environment variables → Local → Global')") -+ -+ return cmd -+} -+ -+func NewCmdConfigSet(f *cmdutils.Factory) *cobra.Command { -+ var hostname string -+ var isGlobal bool -+ -+ cmd := &cobra.Command{ -+ Use: "set <key> <value>", -+ Short: "Updates configuration with the value of a given key.", -+ Long: `Update the configuration by setting a key to a value. -+Use 'glab config set --global' to set a global config. -+Specifying the '--hostname' flag also saves in the global configuration file. -+`, -+ Example: ` -+ glab config set editor vim -+ glab config set token xxxxx -h gitlab.com -+ glab config set check_update false --global -+`, -+ Args: cobra.ExactArgs(2), -+ RunE: func(cmd *cobra.Command, args []string) error { -+ cfg, err := f.Config() -+ if err != nil { -+ return err -+ } -+ -+ localCfg, _ := cfg.Local() -+ -+ key, value := args[0], args[1] -+ if isGlobal || hostname != "" { -+ err = cfg.Set(hostname, key, value) -+ } else { -+ err = localCfg.Set(key, value) -+ } -+ -+ if err != nil { -+ return fmt.Errorf("failed to set %q to %q: %w", key, value, err) -+ } -+ -+ if isGlobal || hostname != "" { -+ err = cfg.Write() -+ } else { -+ err = localCfg.Write() -+ } -+ -+ if err != nil { -+ return fmt.Errorf("failed to write configuration to disk: %w", err) -+ } -+ return nil -+ }, -+ } -+ -+ cmd.Flags().StringVarP(&hostname, "host", "h", "", "Set per-host setting.") -+ cmd.Flags().BoolVarP(&isGlobal, "global", "g", false, "Write to global '~/.config/glab-cli/config.yml' file rather than the repository's '.git/glab-cli/config.yml' file.") -+ return cmd -+} -+ -+func NewCmdConfigEdit(f *cmdutils.Factory) *cobra.Command { -+ var isLocal bool -+ -+ cmd := &cobra.Command{ -+ Use: "edit", -+ Short: "Opens the glab configuration file.", -+ Long: heredoc.Doc(`Opens the glab configuration file. -+The command uses the following order when choosing the editor to use: -+1. 'glab_editor' field in the configuration file -+2. 'VISUAL' environment variable -+3. 'EDITOR' environment variable -+`), -+ Example: heredoc.Doc(` -+ # Open the configuration file with the default editor -+ $ glab config edit -+ -+ # Open the configuration file with vim -+ $ EDITOR=vim glab config edit -+ -+ # Set vim to be used for all future 'glab config edit' invocations -+ $ glab config set editor vim -+ $ glab config edit -+ -+ # Open the local configuration file with the default editor -+ $ glab config edit -l -+ `), -+ Args: cobra.NoArgs, -+ RunE: func(cmd *cobra.Command, args []string) error { -+ var configPath string -+ -+ if isLocal { -+ configPath = ".git/glab-cli/config.yml" -+ } else { -+ configPath = fmt.Sprintf("%s/config.yml", config.ConfigDir()) -+ } -+ -+ editor, err := cmdutils.GetEditor(f.Config) -+ if err != nil { -+ return err -+ } -+ -+ editorCommand, err := browser.Command(configPath, editor) -+ if err != nil { -+ return err -+ } -+ -+ editorCommand.Stdin = cmd.InOrStdin() -+ editorCommand.Stdout = cmd.OutOrStdout() -+ editorCommand.Stderr = cmd.ErrOrStderr() -+ -+ err = editorCommand.Run() -+ if err != nil { -+ return err -+ } -+ -+ return nil -+ }, -+ } -+ -+ cmd.Flags().BoolVarP(&isLocal, "local", "l", false, "Open '.git/glab-cli/config.yml' file instead of the global '~/.config/glab-cli/config.yml' file.") -+ return cmd -+} diff --git a/internal/config/schema.go b/internal/config/schema.go index 1111111..2222222 100644 --- a/internal/config/schema.go +++ b/internal/config/schema.go -@@ -86,7 +86,7 @@ var KeySchema = []KeyDef{ +@@ -103,7 +103,7 @@ var KeySchema = []KeyDef{ }, { Name: "check_update", Scope: ScopeGlobal, Type: TypeBool, - Default: "true", UserSettable: true, + Default: "false", UserSettable: true, - Description: "Allow glab to automatically check for updates and notify you when there are new updates.", + EnvVars: []string{"GLAB_CHECK_UPDATE", "CHECK_UPDATE"}, + Description: "Allow glab to automatically check for updates and notify you when there are new updates.\nSetting the environment variable to true also forces a check, bypassing the once-a-day interval.", }, { -- ++++++ glab.obsinfo ++++++ --- /var/tmp/diff_new_pack.ymc6p9/_old 2026-09-19 22:25:10.198682850 +0200 +++ /var/tmp/diff_new_pack.ymc6p9/_new 2026-09-19 22:25:10.200682933 +0200 @@ -1,5 +1,5 @@ name: glab -version: 1.115.0 -mtime: 1787638636 -commit: c3612c8deb89183da68aa0d31ca1f748f381d820 +version: 1.117.0 +mtime: 1788778021 +commit: 44790937bcbf6120698250cc41c9b4fb811c2a03 ++++++ vendor.tar.gz ++++++ /work/SRC/openSUSE:Factory/glab/vendor.tar.gz /work/SRC/openSUSE:Factory/.glab.new.383539/vendor.tar.gz differ: char 5, line 1
