Giter Site home page Giter Site logo

gitbug's Introduction

Gitbug is an in-repo bug tracker for Git repositories.


Installation:

  0. Install ocamlfind, omake and the OCaml libraries pcre and netstring.
    On a Debian/Ubuntu:
    $ sudo apt-get install libocamlnet-ocaml-dev libpcre-ocaml-dev omake ocaml-findlib

  1. Compile
    $ omake

  2. Copy the executable to somewhere in your path
    $ cp gitbug.opt ~/bin/gitbug

Usage:

  List of commands:
    $ gitbug help

  You need a Git repository:
    $ mkdir my_git_repo
    $ cd my_git_repo
    $ git init
    $ echo buggy foo > foo
    $ git add foo
    $ git commit -m 'buggy foo'

  Then you should initialize the bug tracker:
    $ gitbug init

  And add a bug:
    $ gitbug add This is my first bug

  Maybe look at it and edit it:
    $ gitbug
    -- Open bugs
    444468c69994_This_is_my_first_bug       2009-02-16 15:39:18+0200

    $ gitbug show .*first 
    $ gitbug edit .*first

  Gitbug treats the pattern as a regexp prefixed by `^', so `.*first' 
  means `^.*first'. Hence you can use the prefix of the hexadecimal part 
  without the `.*', e.g. `gitbug show 4444`.

  You should fix the bug:
    $ echo my great fix >> foo

  And then tell Gitbug what you did:
    $ git commit -a -m 'foo: fixed bug, FIX[.*first]'
  or
    $ git commit -a -m 'foo: fixed bug'
    $ gitbug close .*first

  That fix wasn't a fix at all, let us reopen the bug:
    $ gitbug reopen .*first

  Make a second bug:
    $ gitbug add Bug number two

  Oh, it is a duplicate of the first bug:
    $ gitbug merge .*first .*two

  Listing bugs is most useful:
    $ gitbug
    $ gitbug open
    $ gitbug closed
    $ gitbug all

  You can see your bug history in git's log:
    $ git log


License:

  X11 / MIT License
  Copyright (C) 2008  Ilmari Heikkinen <[email protected]>
                      Mauricio Fernandez <[email protected]>


Webpage:

  http://github.com/kig/gitbug/tree/master

gitbug's People

Contributors

alanfalloon avatar bebarino avatar chriscool avatar chunga avatar cworth-gh avatar drafnel avatar dscho avatar gitster avatar j6t avatar jherland avatar jnareb avatar joshtriplett avatar jrn avatar kig avatar madcoder avatar marcows avatar matled avatar mfp avatar pasky avatar peff avatar raalkml avatar robinrosenberg avatar sbeyer avatar sit avatar spearce avatar srabbelier avatar tali avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.