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

github-io

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github-io

[![Travis Status][travis-badge]][travis-project] [![Shippable Status][shippable-badge]][shippable-project]

  • 1.0.0
  • latest
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

GithubIO: Github Issue Opener

Travis Status Shippable Status

I have created this script to help me open issues automatically in appropriate repositories after reading the details from a so called PM Issue.

The supported syntax for the PM Issue is like this

 - [ ] **1** Task 1 title. Task 1 Description
 - [ ] **2** [repo1] Task 2 title. Task 2 Description
 - [ ] **3** [repo2] Task 3 title. Task 3 Description
 ...

Usage

npm install -g github-io
githubIO (PM Issue URL) (Default repo to open issues in, if not provided in the pm issue description)

Example

For the following sample PM Issue: https://github.com/orgName/pmRepoName/issues/1234

### Summary
Create a `TODO` application

### Description
The application must support adding, updating and deleting a TODO.

### Scenarios
  - [ ] **1** add `todo/new` POST route
  - [ ] **2** add `todo/:id` GET route
  - [ ] **3** add `todo/:id` PUT route
  - [ ] **4** add `todo/:id` DELETE route
  - [ ] **5** add `todo` GET route. Add support for `sort`, `isEnabled` & `assignee` query parameter
  - [ ] **6** [wwwRepo] Add the view for TODO
  - [ ] **7** [docsRepo] Update the docs for TODO

And following Usage

github-io https://github.com/orgName/pmRepoName/issues/1234 testApiRepo
Following tasks will be opened in https://github.com/orgName/testApiRepo

The value testApiRepo is taken from the default repo value passed to the script

  • Title: DEV 1234.1 add todo/new POST route Description: Link to PM Issue
  • Title: DEV 1234.2 add todo/:id GET route Description: Link to PM Issue
  • Title: DEV 1234.3 add todo/:id PUT route Description: Link to PM Issue
  • Title: DEV 1234.4 add todo/:id DELETE route Description: Link to PM Issue
  • Title: DEV 1234.5 add todo GET route. Description Link to PM Issue, Add support for sort, isEnabled & assignee query parameter
Following tasks will be opened in https://github.com/orgName/wwwRepo

The value wwwRepo from the description has overridden the default repo value

  • Title: DEV 1234.6 [www] Add the view for TODO
Following tasks will be opened in https://github.com/orgName/docsRepo

The value docsRepo from the description has overridden the default repo value

  • Title: DEV 1234.7 [docs] Update the docs for TODO

image

FAQs

Package last updated on 08 Jan 2017

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