You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 15, 2022. It is now read-only.
Repository navigation
This repository was archived by the owner on Dec 15, 2022. It is now read-only.
@kevinsawicki, I think I have a related issue. Am I correct in concluding that apm upgrade doesn't always upgrade (sounds like it just making sure)? This issue is to add a flag that forces to newest versions? I think part of the issue involved here is not knowing that there are not installed newer versions. What do you think?
@DavidLGoldbergapm upgrade should only upgrade when there is a new release available that is compatible with the currently installed version of Atom. This is done by checking the engines field currently,
latestVersion= version ifsemver.gt(version, latestVersion)
if latestVersion isntpack.versionand@repositoriesMatch(pack, body)
callback(null, {pack, latestVersion})
A force flag could definitely be added but I would assume package breakage if the engine wasn't compatible with the currently installed version of Atom.
Do you have an example of an upgrade you aren't seeing presented that you think should be?
I've seen this earlier with another package 'neon-cursor' but never to either of the packages I myself have published. Hard for me to say how often it occurs on other packages I have installed, as I don't track them as rigorously of course. Any thoughts on reporting tracking on the versions / install / upgrade adoption etc? Disabled package tracking would also be really useful. (I know a bunch of this has of course already been discussed :) )
@DavidLGoldberg I looked into that issue, currently apm upgrade only shows upgrades for packages where the installed repository matches the current repository. This is for security reasons to ensure you trust the new publisher of the package, perhaps some message needs to be displayed though to make this obvious.
Activity
DavidLGoldberg commentedon Aug 30, 2014
@kevinsawicki, I think I have a related issue. Am I correct in concluding that
apm upgradedoesn't always upgrade (sounds like it just making sure)? This issue is to add a flag that forces to newest versions? I think part of the issue involved here is not knowing that there are not installed newer versions. What do you think?kevinsawicki commentedon Sep 2, 2014
@DavidLGoldberg
apm upgradeshould only upgrade when there is a new release available that is compatible with the currently installed version of Atom. This is done by checking the engines field currently,apm/src/upgrade.coffee
Lines 84 to 95 in 3291536
A force flag could definitely be added but I would assume package breakage if the engine wasn't compatible with the currently installed version of Atom.
Do you have an example of an upgrade you aren't seeing presented that you think should be?
DavidLGoldberg commentedon Sep 2, 2014
@kevinsawicki
If you scroll down a few posts in this thread, you'll see the related issue.
atom-minimap/minimap-find-and-replace#1
I've seen this earlier with another package 'neon-cursor' but never to either of the packages I myself have published. Hard for me to say how often it occurs on other packages I have installed, as I don't track them as rigorously of course. Any thoughts on reporting tracking on the versions / install / upgrade adoption etc? Disabled package tracking would also be really useful. (I know a bunch of this has of course already been discussed :) )
kevinsawicki commentedon Sep 25, 2014
@DavidLGoldberg I looked into that issue, currently
apm upgradeonly shows upgrades for packages where the installed repository matches the current repository. This is for security reasons to ensure you trust the new publisher of the package, perhaps some message needs to be displayed though to make this obvious.This was updated here for that package: atom-minimap/minimap-find-and-replace@7543b19 so pre-1.0.2 versions would not show upgrades.