Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

depsync

Package Overview
Dependencies
Maintainers
1
Versions
44
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

depsync - npm Package Compare versions

Comparing version 1.3.11 to 1.3.12

2

package.json
{
"name": "depsync",
"version": "1.3.11",
"version": "1.3.12",
"author": "Dom Chen",

@@ -5,0 +5,0 @@ "homepage": "http://www.idom.me/",

@@ -8,5 +8,16 @@ <p align="left">

Depsync is a command line tool for automatically synchronizing the dependencies of a project by the DEPS configuration file.
A command line tool for automatically synchronizing the dependencies of a project by the DEPS configuration file.
# Advantages
The depsync tool provides a convenient way to download git repositories and files from the Internet, offering several key advantages over similar capabilities like git-submodules and git-lfs:
- Repositories are always checked out with a depth of 1 without any extra command arguments, ensuring that the main project maintains a relatively compact size at all times.
- Automatically download git-submodules and git-lfs files for your main project and third-party repositories without the need to run commands on each one individually.
- During downloading process, git-lfs files that already exist in the local cache can be skipped. This approach works even for the shallow cloned repositories.
- Enable the execution of custom actions after synchronization. For instance, you can include commands in the DEPS file to facilitate cleaning tasks and other operations.
- Repositories and files can be configured separately for each platform to avoid downloading unnecessary dependencies and only acquire platform-specific ones.
With all the advantages described above, all it takes is one straightforward command `depsync`. Execute it in the root of your main project, and you're good to go!
# Installation

@@ -13,0 +24,0 @@

@@ -82,3 +82,3 @@ //////////////////////////////////////////////////////////////////////////////////////

process.env["GIT_LFS_SKIP_SMUDGE"] = "1";
Utils.exec("git reset --hard FETCH_HEAD && git clean -f -q", item.dir);
Utils.exec("git reset --hard FETCH_HEAD && git clean -df -q", item.dir);
callback && callback();

@@ -85,0 +85,0 @@ };

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc