All Projects → sanpii → git-issue

sanpii / git-issue

Licence: other
Bug tracker based on git

Programming Languages

shell
77523 projects

Projects that are alternatives of or similar to git-issue

git-commands
Custom power-user git commands.
Stars: ✭ 45 (+181.25%)
Mutual labels:  git-addons
git-global
Keep track of all your git repositories.
Stars: ✭ 23 (+43.75%)
Mutual labels:  git-addons
git-faker
👻 You can be the best GIT-COMMITTER in the planet.
Stars: ✭ 30 (+87.5%)
Mutual labels:  git-addons
Git Secret
👥 A bash-tool to store your private data inside a git repository.
Stars: ✭ 2,706 (+16812.5%)
Mutual labels:  git-addons
Git Cola
git-cola: The highly caffeinated Git GUI
Stars: ✭ 1,787 (+11068.75%)
Mutual labels:  git-addons
Git Standup
Recall what you did on the last working day. Psst! or be nosy and find what someone else in your team did ;-)
Stars: ✭ 7,042 (+43912.5%)
Mutual labels:  git-addons
Lolcommits
📷 git-based selfies for software developers
Stars: ✭ 4,468 (+27825%)
Mutual labels:  git-addons
Git Quick Stats
▁▅▆▃▅ Git quick statistics is a simple and efficient way to access various statistics in git repository.
Stars: ✭ 5,139 (+32018.75%)
Mutual labels:  git-addons
gil
Gil is a git links tool to manage complex git repositories dependencies with cycles and cross references
Stars: ✭ 42 (+162.5%)
Mutual labels:  git-addons
git-split-file
Split a file in a git repository without losing the git history.
Stars: ✭ 25 (+56.25%)
Mutual labels:  git-addons

Git-issue

.github/workflows/ci.yml pipeline status

Git-issue is a bug tracker based on git.

Why?

Git is a great tool to versioning source but also to store everything. Git is designed like a file system, or if you prefer buzz words, you can see it like a nosql database. A nosql database over a FS?.

Sorry, I digress. So why do not use it to store issues? In fact, use git automatically makes your issues tracker versioned and distributed, like your code.

Of course, it is not the first distributed issue tracker but git-issue exist because the other projects doesn't cover all these objectives:

  • fully based on git ;
  • minimal dependencies ;
  • fully tested.

Installation

Place the single file src/git-issue in your path.

For example:

$ git clone https://github.com/sanpii/git-issue.git
$ mkdir -p ~/.local/bin
$ ln -s $(pwd)/git-issue/src/git-issue ~/.local/bin
$ echo 'export PATH=$PATH:$HOME/.local/bin' >> ~/.bashrc

Configuration

Git-issue reuse git configuration (user name, editor, …) but provide some options.

issue.branch

The branch name used for store the issues. issues by default.

issue.remote

Remote name to publish issues. origin by default.

color.issue.id

Color use to display id. blue bold by default.

color.issue.metadata

Color use to display metadata name. yellow bold by default.

issue.html.branch

The branch where HTML pages as generated. gh-pages by default.

issue.html.showdow

The URL where showdow.js was download. https://raw.githubusercontent.com/coreyti/showdown/1.9.1/dist/showdown.min.js by default.

issue.html.zepto

The URL where zepto was download. http://zeptojs.com/zepto.min.js by default.

issue.html.bootstrap

The URL where twitter bootstrap was download. http://netdna.bootstrapcdn.com/bootstrap/3.4.1 by default.

issue.html.charset

The charset specified in the content type. UTF-8 by default.

issue.html.title

The title of the page. Issues tracker by default.

Commands

Initialize your issue database

This is the required first step:

$ git issue init

Create a new issue

$ git issue new --title='A new issue' 'A long description'
Issue #1 created.

If you don't specify a description, the issue is opened in an editor unless the --no-edit is added.

Show an issue

$ git issue show 1
title: Issue title
status: new
assign:
tags:
milestone:
type:

A long description

List all issue

$ git issue list
1: Issue title

By default, only unclosed issues are listed. You can use filter on status, title, tags, milestone or type:

$ git issue list --status=close

Or inverted filter:

$ git issue list --status=~accepted

Or multiple values:

$ git issue list --status='new|accepted'

Edit an issue

$ git issue edit 1

Git issue open the issue with your preferred editor. Edit, save and quit. The issue is automatically committed.

Or you can rapidly edit issue metadata:

$ git issue edit --status=done 1

Close an issue

And you can more rapidly close an issue:

$ git issue close 1

Delete an issue

$ git issue delete 1

Synchronize issues

Bidirectional synchronize:

$ git issue sync
Issues synced.

Publish issues as HTML

$ git issue html
$ git checkout gh-pages
$ git push -u originn gh-pages

You can see the result for this repository here.

A bug?

Clone this repository and use git-issue on it. After creating an issue, send me a pull request.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].