Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

How do I configure to synchronize only the last few versions?

See original GitHub issue

I set syncMode:all to download all online versions, but only want to synchronize the last few versions in the library since they are for Intranet use. For example, the latest three versions, I want to know how to configure.

Issue Analytics

  • State:open
  • Created a year ago
  • Comments:6 (1 by maintainers)

github_iconTop GitHub Comments

kkaaddffcommented, May 20, 2022

关于 syncMode 的疑问: 目前 syncMode 只支持 none | all 两种模式。这两个模式都遇到了一些问题:

  1. 不希望 同步所有的包,占据了很多服务器资源,并且同步起来很慢。
  2. 设置为none的话,安装时所有的公网包都会 redirect,但是就去年,cnpm源就发生过几次服务不可用的情况。


kkaaddffcommented, Sep 5, 2022

@kkaaddff 可以来贡献这种规则的 syncMode,我觉得合理的。


Read more comments on GitHub >

github_iconTop Results From Across the Web

Synchronize the files on your local and remote sites
Click the Options menu in the upper-right corner of the Files panel and select Site > Synchronize. You can also click the Synchronize...
Read more >
Sync your apps with your Google Account - Pixel Phone Help
Open your phone's Settings app. Tap Accounts. If you have more than one account on your phone, tap the one you want to...
Read more >
Configure classifications and products to synchronize
On the Home tab, in the Settings group, click Configure Site Components, and then click Software Update Point. On the Products tab, make...
Read more >
Versioning - FreeFileSync
1. Keep only the most recent versions. In synchronization settings, set deletion handling to Versioning and naming convention to Replace. Deleted files will...
Read more >
Managing Configuration Synchronization - AskF5
To synchronize configuration data among device group members, all members must be running the same version of the BIG-IP system software. Specifying an...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found