aboutsummaryrefslogtreecommitdiffstats
path: root/index.md
blob: a0a6d42e6297648177b769d5a37a7c3051a73767 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# cgit for Debian

## Prebuilt packages

Prebuilt packages are available from <http://debian.keshi.org/cgit/>.
No support is provided for these packages.  Use them at your own risk.  

apt-line for sid:

    deb http://debian.keshi.org/cgit/sid ./

apt-line for wheezy:

    deb http://debian.keshi.org/cgit/wheezy ./

Import the archive key before apt-get:

    curl http://debian.keshi.org/archive.key | apt-key add -
    apt-get update
    apt-get install cgit

## Building packages

How to build a binary package using [git-buildpackage](http://honk.sigxcpu.org/projects/git-buildpackage/manual-html/gbp.html):

    git clone http://git.keshi.org/debian/cgit
    cd cgit
    git remote add upstream git://git.zx2c4.com/cgit
    git remote update
    git submodule init
    git submodule update
    git-buildpackage

The upstream archive (`cgit-x.xx.orig.tar.xz`) will be exported from
the repository using a tag like `v0.10` as well as submoduled `/git`.

## References

* [cgit - A hyperfast web frontend for git repositories written in C.](http://git.zx2c4.com/cgit/about)
* [#515793 - RFP: cgit -- C-code Web Front-end to GIT - Debian Bug report logs](https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=515793)
* [#739231 - ITP: cgit -- A hyperfast web frontend for git repositories written in C - Debian Bug report logs](https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=739231)