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

grunt-github-manifest

Package Overview
Dependencies
Maintainers
1
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.1.4
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
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"
            }
        }
    }
})

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

Keywords

FAQs

Package last updated on 12 May 2014

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