
Security News
Python Adopts Standard Lock File Format for Reproducible Installs
Python has adopted a standardized lock file format to improve reproducibility, security, and tool interoperability across the packaging ecosystem.
A node.js git library with some cool features like synchronizing all the branches from a git remote to a local subdir
Apart from simply exposing git(dir, args, callback, [options])
there are a couple of nice utilities.
npm install gits
var gits = require('gits');
API:
gits.align(dir, callback)
- runs git reset, recovery commands and git pull in a directorygits.sync(origin, branch, dir, callback)
- clones/pulls origin/branch into dirgits.bsync(origin, target, branches, prefix, callback)
- clones multiple branches (or all if branches is null) from origin into subdirectories under target dir. 'prefix' is prepended to subdirectory namesgits.bsyncAll(origin, target, prefix, callback)
- clones all branches from origin into targetgits.currentBranch(dir, callback)
- returns the current branch of a directorygits.git(dir, argsArray, callback, [options])
- just runs git command linegits.remotes(dir, callback)
- returns a hash with the remotes in the repogits.log(dir, opts, callback)
- lists all the commits under a directorygits.prune(dir, callback)
- runs "git remote prune origin" for a directorygits.pruneAll(basrDir, callback)
- runs "git remote prune origin" against all subdirectories of "baseDir"Options to git()
:
options.env
- hash of environment variables to pass to git
. Default is process.env
.options.logger
- alternative to console
.MIT
FAQs
A node.js git library with some cool features like synchronizing all the branches from a git remote to a local subdir
The npm package gits receives a total of 22 weekly downloads. As such, gits popularity was classified as not popular.
We found that gits demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 open source maintainers collaborating on the project.
Did you know?
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.
Security News
Python has adopted a standardized lock file format to improve reproducibility, security, and tool interoperability across the packaging ecosystem.
Security News
OpenGrep has restored fingerprint and metavariable support in JSON and SARIF outputs, making static analysis more effective for CI/CD security automation.
Security News
Security experts warn that recent classification changes obscure the true scope of the NVD backlog as CVE volume hits all-time highs.