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

grunt-github-manifest

Package Overview
Dependencies
Maintainers
4
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

grunt-github-manifest

Saves to file the commit history for a Github project from a specified date

  • 0.3.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
4
Created
Source

grunt-github-manifest

Creates a manifest file from the Github commit log since a given date

Build Status

NPM

Getting Started

This plugin requires Grunt ~0.4.1

npm install grunt-github-manifest --save-dev

The "create-manifest" task

Overview

This plugin will grab the commit log from Github from a specified date, and store this to a file. The date is either hardcoded (using the commitHistoryStartDate.date property in the config) or retrieved from a http web service.

Config

This plugin requires a config sections named package-github-data passed into grunt.initConfig().

grunt.initConfig({
    create-manifest: {
        options: {
            commitHistoryStartDate: {
                url: "http://localhost:3000/deployment-info",
                path: "$.lastModifiedOn"
                date: null
            },
            manifestPath: "commit_history.json",
            github: {
                o_auth_token: "XXXXXXXX",
                user: "christriddle",
                repo: "grunt-github-manifest",
                proxy: null
            },
            summarised: false,
        }
    }
})

Options

  • commitHistoryStartDate - the commit history start date is usually used to get all commits from the last deploy
    • url - Url that returns JSON data that contains the a date which can be used as the commit history start date
    • path - Location of date in the returned JSON data, using JSONPath
    • date - [OPTIONAL] This date will be used as the commit history start date if specified
  • manifestPath - Where to save the manifest file
  • github - The user/repo combination to get the commit history from
    • user
    • repo
    • o_auth_token
    • proxy - Full url including port
  • summarised - Save only commit author, email, message, and url to manifest file

Keywords

FAQs

Package last updated on 17 Dec 2015

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

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