sync-settings icon indicating copy to clipboard operation
sync-settings copied to clipboard

Packages not updated during restore

Open ferenczy opened this issue 4 years ago • 2 comments

I have some packages which are both installed locally and stored in a backup, but the backup contains newer versions as is indicated in the backup diff. When I restore the backup, I get a successful restore notification, but packages are still in the same outdated versions as previously and the backup diff is still the same. Although new packages have been successfully installed during the restore.

backup diff

When I open Updates in the Atom Settings, all three packages are listed there with the same versions as listed in the backup diff:

Updates in Atom Settings

Is the backup restore process supposed to update packages to newer versions?

Versions

  • OS: Windows 10 (the backup was created on MacOS 10.15.4)
  • Atom: 1.53.0 x64
  • APM:
    • apm 2.5.2
    • npm 6.14.8
    • node 12.4.0 x64
    • atom 1.53.0
    • python
    • git 2.29.2.windows.2
    • visual studio
  • sync-settings: 5.0.7

ferenczy avatar Dec 19 '20 00:12 ferenczy

Sync settings will install missing packages but not update installed packages. If you would like to make a PR I would be ok with adding that.

UziTech avatar Dec 19 '20 04:12 UziTech

I see, thanks for the reply. I'll try to find some spare time to create a PR.

ferenczy avatar Dec 27 '20 18:12 ferenczy