Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

Conversation

@zoo1
Copy link

@zoo1 zoo1 commented Jun 1, 2017

Description of the Change

Check when a package update is available if it is disabled and prevent a status view alert.
Fixes #956

Benefits

Remove unnecessary update noise to users.

@winstliu
Copy link
Contributor

winstliu commented Jun 1, 2017

Looks like I labeled that as a bug a bit too hastily. Looking back, I think this is expected behavior: there is still an update available for the disabled package, and we should probably be displaying that in the status view.

@KSXGitHub is there any reason why you think disabled packages shouldn't be displayed in the status bar?

@KSXGitHub
Copy link

@50Wliu There is no reason I would want to frequently update a disabled package because I do not use it frequently. If I really want to update a disabled package, I can just go to settings view or just use apm.

Looking back, I think this is expected behavior

I think you should label #956 as a feature rather than a bug

@winstliu
Copy link
Contributor

Ok, I now agree with this change. However, there needs to be additional logic in onPackageUpdating and onPackageUpdateFailed to add the disabled package to this.updates. Either that, or adding the disabled check to all the on* methods. Also, specs will be needed.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants