pomeranian
v0.1.1
Published
Pomeranian is a tool for detecting what parts of a project were affected in a pull request or range of commits
Downloads
6
Readme
Installation
yarn global add pomeranian
Configuration
Create a pomeranian.yaml
file at the top level of your directory structure to provide GitHub credentials and specify what directories are associated with which projects. GitHub credentials can also be supplied through the GITHUB_TOKEN environment variable. If running on AppVeyor, pomeranian can automatically detect the current pull request number.
github:
token: [REDACTED]
repo: ParagonTruss/ParagonCore
projects:
sealingService:
- servers/SealingService
designService:
- servers/DesignService
- servers/libraries/AnalysisEngine
Usage
To check if a project has been changed in a given pull request:
pomeranian --project [one of the projects in pomeranian.yaml] --pullRequest [pull request number]
To check if a project has been changed since some commit:
pomeranian --project [one of the projects in pomeranian.yaml] --since [SHA hash of a commit]
To check if a single file has been changed:
pomeranian --file [the name of a file in the repo] --{pullRequest|since} [query]