Socket
Book a DemoInstallSign in
Socket

check_submodules

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

check_submodules

Build a tree of all submodules in a github repository and prints it, with small warning signs if a submodule is referenced twice with different references.

npmnpm
Version
0.0.2
Version published
Weekly downloads
4
300%
Maintainers
1
Weekly downloads
 
Created
Source

check_submodules

Small quickly developed (means not elegant and likely full of bugs) command line utility to verify submodule references in a git repository.

What problem is it trying to solve?

Some repositories (such as https://github.com/azure/azure-iot-sdk-c) reference the same submodule at multiple places in their source tree. Sometimes it's even more complicated, for example:

a (main repository)
  -> submodule b
  -> submodule c
      -> submodule b (ie. submodule c also references b as a submodule)

In those cases it might be useful to verify that when a submodule is reused in multiple places in the source tree, all the references to that submodule point to the same commit hash.

This is what that utility does.

FAQs

Package last updated on 12 Jan 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts