-
Notifications
You must be signed in to change notification settings - Fork 7.3k
Description
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.
cli/pkg/cmd/root/help_topic.go
Lines 88 to 92 in cd3f2ad
| %[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