1.0.0 • Published 9 years ago
github-io v1.0.0
GithubIO: Github Issue Opener
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 TODOAnd following Usage
github-io https://github.com/orgName/pmRepoName/issues/1234 testApiRepoFollowing 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 addtodo/newPOST routeDescription: Link to PM Issue - Title:
DEV 1234.2 addtodo/:idGET routeDescription: Link to PM Issue - Title:
DEV 1234.3 addtodo/:idPUT routeDescription: Link to PM Issue - Title:
DEV 1234.4 addtodo/:idDELETE routeDescription: Link to PM Issue - Title:
DEV 1234.5 addtodoGET 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

1.0.0
9 years ago