0.0.5 • Published 8 years ago
opencollab-lib v0.0.5
OpenCollab Library
opencollab-lib is a library based on Yondon Fu's opencollab. It can be used in any NodeJs or Electron app.
Install
Two dependencies are currently needed to use the library:
Then run npm install.
npm install -g ethereumjs-testrpc ipfs
npm installUsage
Make sure TestRPC is running. Gas usage has not been addressed so it is likely necessary to run TestRPC with a high gas limit.
testrpc -l 1000000000Start the IPFS node:
jsipfs daemonTesting
First, make sure that TestRPC is running:
testrpc -l 1000000000And since the library currently use babel to transpile its code, be sure to run npm run build before starting the tests:
npm run build
npm testState of the Library
Below is a list of opencollab functionalities and their current state.
| Command | State | Tests |
|---|---|---|
| init | ✔ | ✔ |
| status | ✔ | ✔ |
| issues | ✔ | ✔ |
| get-issue | ✔ | WIP |
| new-issue | ✔ | WIP |
| edit-issue (update-issue) | ✔ | x |
| delete-issue | ✔ | x |
| fork | x | x |
| merge-fork | x | x |
| pull-requests | x | x |
| get-pull-request | x | x |
| open-pull-request | x | x |
| close-pull-request | x | x |
| maintainers | x | x |
| add-maintainer | x | x |
| remove-maintainer | x | x |
| set-obsolete | x | x |