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

Do not enable packages on update - #649

Merged
winstliu merged 2 commits into
atom:masterfrom
jeremyramin:fix-enable-on-update
Sep 30, 2015
Merged

winstliu merged 2 commits into
atom:masterfrom
jeremyramin:fix-enable-on-update

Conversation

@jeremyramin

Copy link
Copy Markdown
Contributor

If a user clicks the update button for a disabled package, the package should not be enabled after the update. This closes #603. Found this in the Quality Initiative post. This affects the Update All button as well.

Demo

example

If a user clicks the update button for a disabled package, the package
should not be enabled after the update.
@winstliu

winstliu commented Sep 5, 2015

Copy link
Copy Markdown
Contributor

Can you add specs for this please?

Added an 'it' test for when a disabled package is updated. Checks to
make sure that disabled packages stay disabled after an update.
@jeremyramin

Copy link
Copy Markdown
Contributor Author

@50Wliu Sorry I took so long. It has been added.

@winstliu

winstliu commented Sep 6, 2015

Copy link
Copy Markdown
Contributor

Looks good to me.

@benogle you added this behavior in 3a6ecf4 - want to take a look at this PR?

@benogle

benogle commented Sep 30, 2015

Copy link
Copy Markdown
Contributor

Looks good 👍

winstliu pushed a commit that referenced this pull request Sep 30, 2015
@winstliu
winstliu merged commit ed18678 into atom:master Sep 30, 2015
@winstliu

Copy link
Copy Markdown
Contributor

✨ Thanks @jeremyramin!

@reidcooper

Copy link
Copy Markdown

I have this happening to me still. I am running Atom 1.0.19

@winstliu

Copy link
Copy Markdown
Contributor

Please try 1.1.0-beta1 instead.

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Updating a disabled package automatically re-enables that package

4 participants