On Thu, Jan 16, 2025 at 10:18:13AM +0200, Josh Triplett wrote:
> Nicolas Schier wrote:
> > in glab v1.49 we have a patch that sets the default value for glab
> > update checks to false.  So, if glab creates an initial configuration
> > file, update checks are disabled by default.  The idea is, that those
> > who want these update checks (e.g. myself as I want to know whether our
> > glab version is still up-to-date), can simply enable it by updating the
> > config file.
> >
> > Do you have strong argument for completely disabling the update checks
> > by removing the possibility to enable them manually?
> 
> No, having them disabled by default is quite sufficient. However, I'm
> using 1.49 and they don't seem to be disabled by default. I had to
> change the configuration setting myself.

oh?  Could you please try it once again:

    mv .config/glab-cli/config.yml .config/glab-cli/config.yml.orig

    glab version
    # glab should only output its installed version 1.49.0, no infos
    # about the newer upstream version

    mv .config/glab-cli/config.yml.orig .config/glab-cli/config.yml

On my systems it works as expected (w/o upstream update check).

Thanks and kind regards,
Nicolas

Reply via email to