Security News
RubyGems.org Adds New Maintainer Role
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.
A very simple command line kanban-esque tool for use with github issues
##Installation
npm install gitban -g
Next, create the following labels in your github project:
GB0 - Backlog
GB1 - Ready
GB2 - Doing
That's it!
##Usage
You can always get help
gitban --help
For most actions you will need to specify:
These can be put in a file called .gitban.json in your home directory for convenience. The format is:
{
"user" : "username",
"pass" : "password",
"org" : "organization",
"repo" : "repository"
}
The options set in .gitban.json will be overridden by anything specified explicitly on the command line.
Note: For better security you may wish to not use basic authentication but instead use OAuth. To do this you must first create a an OAuth token with the following command line:
curl -u '<your github login name>' -d '{"scopes":"repo","note":"gitban"}' https://api.github.com/authorizations
You will be prompted to login then you should see some JSON that looks like:
{
"token": "<your new OAuth token>",
"note": "gitban",
"note_url": null,
"scopes": [
"repo"
],
"created_at": "2012-06-28T04:57:16Z",
"app": {
"url": "http://developer.github.com/v3/oauth/#oauth-authorizations-api",
"name": "gitban (API)"
},
"url": "https://api.github.com/authorizations/437559",
"id": 437559,
"updated_at": "2012-06-28T04:57:16Z"
}
Now just edit your .gitban.json file as follows:
{
"token" : "<your new token from above>",
"user" : "username",
"org" : "organization",
"repo" : "repository"
}
Done! From this point forward you can manage (e.g. revoke) this token using the Applications tab from within your github account settings.
###Workflow
The purpose of this tool is to provide a very simple workflow based loosely on the kanban board style whereby all issues are initially added to the system in a "backlog" / unassigned state. Do this by just creating a new issue in github.
Next, issues can be assigned to team members. This puts the issue into a "ready" state and can be done using the "take" command.
gitban take 47
This will cause issue #47 to be assigned to you and set its state to ready.
When commencing to work on an issue use the "action" command. (note that you action an issue without having to first take it)
gitban action 47
This command does several things:
As you can see from this logic the system will enforce only one issue be worked on at a time by each team member.
To close / complete issue just close the issue using github or the "fixes #" syntax in your commit comment.
Gitban uses the labels above to differentiate states of issues. Gitban will add a small comment to the issue describing each state change for tracking.
##Examples
(note: these examples assume you have set up a .gitban.json so that github params do not have to always be specified)
List the issues currently assign to you
gitban list
List issues currently assigned to bob
gitban -a bob list
Take ownership of issue 47 and start working on it
gitban action 47
Assign issue 47 to bob
gitban -a bob take 47
Get information / comments on an issue
gitban info 47
See a list of what each team member is currently working on
gitban status
FAQs
Very simple command line kanban-esque tool for use with github issues
The npm package gitban receives a total of 3 weekly downloads. As such, gitban popularity was classified as not popular.
We found that gitban demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Security News
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.
Security News
Node.js will be enforcing stricter semver-major PR policies a month before major releases to enhance stability and ensure reliable release candidates.
Security News
Research
Socket's threat research team has detected five malicious npm packages targeting Roblox developers, deploying malware to steal credentials and personal data.