git-bug/Readme.md

103 lines
2.0 KiB
Markdown
Raw Normal View History

2018-07-15 00:16:54 +03:00
# git-bug
> Bugtracker embedded in Git
Would it be nice to not have to rely on a web service somewhere to deal with bugs ?
Would it be nice to be able to browse and edit bug report offline ?
`git-bug` is a bugtracker embedded in `git`. It use the same internal storage so it doesn't pollute your project. As you would do with commits and branches, you can push your bugs to the same git remote your are already using to collaborate with other peoples.
2018-07-15 00:16:54 +03:00
2018-07-15 01:16:49 +03:00
:construction: This is for now a proof of concept. Expect dragons and unfinished business. :construction:
2018-07-15 00:16:54 +03:00
## Install
```shell
go get github.com/MichaelMure/git-bug
```
If it's not done already, add golang binary directory in your PATH:
```bash
export PATH=$PATH:$GOROOT/bin:$GOPATH/bin
```
2018-07-16 15:57:41 +03:00
That's all ! In the future, pre-compiled binary will be provided for convenience.
2018-07-15 00:16:54 +03:00
## Usage
It's really a WIP but you can already create a bug:
```
git bug new "This doesn't even build"
```
Your favorite editor will open to write a description.
You can push your new entry to a remote:
```
git bug push [<remote>]
```
And pull for updates:
```
git bug pull [<remote>]
```
2018-07-17 20:31:18 +03:00
You can now use commands like `show`, `comment`, `open` or `close` to display and modify bugs.
2018-07-16 16:22:09 +03:00
## All commands
```bash
2018-07-17 20:31:18 +03:00
# Mark the bug as closed
git bug close <id>
2018-07-16 16:22:09 +03:00
# Display available commands
git bug commands [<option>...]
# Add a new comment to a bug
git bug comment [<options>...] <id>
# Display a summary of all bugs
git bug ls
# Create a new bug
git bug new [<option>...] <title>
2018-07-17 20:31:18 +03:00
# Mark the bug as open
git bug open <id>
2018-07-16 16:22:09 +03:00
# Pull bugs update from a git remote
git bug pull [<remote>]
# Push bugs update to a git remote
git bug push [<remote>]
2018-07-16 23:38:52 +03:00
2018-07-17 21:51:09 +03:00
# Display the details of a bug
git bug show <id>
2018-07-16 23:38:52 +03:00
# Launch the web UI
git bug webui
2018-07-16 16:22:09 +03:00
```
2018-07-16 15:53:32 +03:00
## Internals
Interested by how it works ? Have a look at the [data model](doc/model.md).
2018-07-15 02:49:46 +03:00
## Planned features
- interactive CLI UI
- rich web UI
- media embedding
- import/export of github issue
- inflatable raptor
2018-07-15 00:16:54 +03:00
## Contribute
PRs accepted.
## License
GPLv3 or later © Michael Muré