atom-community / atom-community/sync-settings

Packages not updated during restore

Open
#614 2 comments 0 reactions 0 assignees View on GitHub
enhancement good first pr
Dominant language
JavaScript
Stars
1.1k
Forks
99
PR merge metrics
No merged PRs in 30d

Description

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](https://user-images.githubusercontent.com/1712992/102673489-98d51a00-4194-11eb-9088-e8e343004140.png)

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](https://user-images.githubusercontent.com/1712992/102674065-ebaed180-4194-11eb-8ba3-c9471207ec8e.png)

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

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the restore on Atom 1.53.0 with sync-settings 5.0.7 using packages that are installed locally but have newer versions in the backup diff. Compare the restore result and package versions with the reported behavior; done when the expected handling of newer package versions is verified and covered by the project's available checks.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, nodejs
Domain
tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.