Socket
Socket
Sign inDemoInstall

generate-codeowners

Package Overview
Dependencies
1
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    generate-codeowners

[![NPM](https://img.shields.io/npm/v/generate-codeowners.svg?style=flat-square)](https://www.npmjs.com/package/generate-codeowners)


Version published
Weekly downloads
1
decreased by-66.67%
Maintainers
1
Created
Weekly downloads
 

Readme

Source

Generate Codeowners

NPM

Original use case was to introduce CODEOWNERS-files within an organization with a large amount of repositories. The idea was to generate a file based on the Git-history.

Execute it with:

npx generate-codeowners

Parameters:

Usage: generate-codeowners [options]

Options:
  -gd, --gitdir <dir>                         Directory with Git repository. (default: "generate-codeowners")
  -ii, --ignoreidentifiers <regexp>           Directory with Git repository. (default: ["noreply"])
  -s, --since <time>                          Same as Git:s <since> format. (default: "365.day.ago")
  -id, --identifier <committerEmailmail|      What to add as identifer. (default: "committerEmailmail")
                    committerEmailUser|
                    committerName>
  -cf, --codeownersfile <name>                The CODEOWNERS-file (default: "CODEOWNERS")
  -micc, --minimumcommitcount <number>        Ignore committers wit
  -manc, --maximumnumberofcommitters <number> Include most active committers (default: "100")
  -d, --dryrun                                 Do not change anything, just print what would be changed. (default: false)
  -v, --version                                Display version (default: false)
  -h, --help                                   display help for command

Keywords

FAQs

Last updated on 23 Sep 2021

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc