Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Add Environment Variable to Skip Latest Extension Version Check #9925

Copy link
Copy link

Description

@LangLangBart
Issue body actions

Describe the feature or problem you’d like to solve

In version 2.62.0, the ability to check the extension for the latest version was added.

Using a modified local version of an extension shows updates on every run, which I consider false positives since I don't want to upgrade. Also, a small delay of about one second has been added, which is unwanted after exiting an extension.

Proposed solution

Ability to skip checking for the latest extension version.

Extend GH_NO_UPDATE_NOTIFIER to silence extension update messages, or introduce a new variable specifically for extensions.

Additional context

This request is related to issue #743, where an environment variable was added to silence update messages.

%[1]sGH_NO_UPDATE_NOTIFIER%[1]s: set to any value to disable update notifications. By default, gh
checks for new releases once every 24 hours and displays an upgrade notice on standard
error if a newer version was found.

More Context

I am using this extension:

However, my local version is not using the 'main' branch but a pull request I created.

When I run the extension, I see the following message, which I don't want to see:

gh notify -an 1

A new release of notify is available: b39386a96a4e105dc3e5f34a447bdc011c9e8098 → 556df2eecdc0f838244a012759da0b76bcfeb2e7
To upgrade, run: gh extension upgrade notify
git@github.com:meiji163/gh-notify.git

Reactions are currently unavailable

Metadata

Metadata

Assignees

No one assigned

    Labels

    coreThis issue is not accepting PRs from outside contributorsThis issue is not accepting PRs from outside contributorsenhancementa request to improve CLIa request to improve CLIgh-extensionrelating to the gh extension commandrelating to the gh extension command

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    Morty Proxy This is a proxified and sanitized view of the page, visit original site.