about summary refs log tree commit diff
path: root/README
diff options
context:
space:
mode:
authorLars Hjemli <hjemli@gmail.com>2007-09-04 11:49:40 +0200
committerLars Hjemli <hjemli@gmail.com>2007-09-04 11:53:54 +0200
commitbd8e8a3d709204646a4f1ee9d81cce1cdd912de9 (patch)
tree63f57fa0b2ee94c0da84e377f1aa49e593f308b5 /README
parentSet xdemitconf_t.findfunc=NULL (diff)
downloadcgit-pink-bd8e8a3d709204646a4f1ee9d81cce1cdd912de9.tar.gz
cgit-pink-bd8e8a3d709204646a4f1ee9d81cce1cdd912de9.zip
Update README
Add new build instructions, extend the "Missing features" section and add
a note about patches/email address of the author.

Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Diffstat (limited to 'README')
-rw-r--r--README57
1 files changed, 39 insertions, 18 deletions
diff --git a/README b/README
index 6d661d8..73ec332 100644
--- a/README
+++ b/README
@@ -8,26 +8,35 @@ builtin cache to decrease server io-pressure.
 
 Installation
 
-  $ make
-  $ su
-  $ make install
+Building cgit involves building a proper version of git. How to do this
+depends on how you obtained the cgit sources:
+
+a) If you're working in a cloned cgit repository, you first need to
+initialize and update the git submodule:
+
+  $ git submodule init     # register the git submodule in .git/config
+  $ $EDITOR .git/config    # if you want to specify a different url for git
+  $ git submodule update   # clone/fetch and checkout correct git version
+
+b) If you're building from a cgit tarball, you can download a proper git
+version like this:
 
-This will install cgit.cgi and cgit.css into "/var/www/htdocs/cgit".
+  $ make get-git
 
-Note: The initial "make" will create a submodule 'git' and clone the git
-repository at git://git.kernel.org/pub/scm/git/git.git in it. If you
-already have a local git git repository that you want to use as origin
-for the submodule, run
 
-  $ git clone -s <path-to-git-repo> git
-  $ ./submodules.sh -u
+When either a) or b) has been performed, you can build and install cgit like
+this:
 
-before running "make".
+  $ make
+  $ sudo make install
 
+This will install cgit.cgi and cgit.css into "/var/www/htdocs/cgit". You can
+configure this location (and a few other things) by providing a "cgit.conf"
+file (see the Makefile for details).
 
-Dependencies
 
-  -git (1.5.2-rc0 or newer, due to git submodule) installed
+Dependencies:
+  -git 1.5.3
   -zip lib
   -crypto lib
   -openssl lib
@@ -71,11 +80,23 @@ The generated content contains the complete response to the client, including
 the http-headers "Modified" and "Expires".
 
 
-The mis(sing) features
+The missing features
+
+* Submodule links in the directory listing page have a fixed format per
+  repository. This should probably be extended to a generic map between
+  submodule path and url.
+
+* Branch- and tag-lists in the summary page can get very long, they should
+  probably only show something like the ten "latest modified" branches and
+  a similar number of "most recent" tags.
+
+* There should be a new page for browsing refs/heads and refs/tags, with links
+  from the summary page whenever the branch/tag lists overflow.
 
-Submodule links in the directory listing page have a fixed format per
-repository. This should probably be extended to a generic map between
-submodule path and url.
+* The log-page should have more/better search options (author, committer,
+  pickaxe, paths) and possibly support arbitrary revision specifiers.
 
+* A set of test-scripts is required before cgit-1.0 can be released.
 
-The end.
+Patches/bugreports/suggestions/comments are always welcome, please feel free
+to contact the author: hjemli@gmail.com
incapable clientsJune McEnroe 2019-11-10Rename listen to localJune McEnroe 2019-11-09Remove extended-join and invite-notifyJune McEnroe The remaining caps only generate new commands which can easily be filtered out when sending to clients so will be in the first pass of support. extended-join is probably safe to pass through unaltered, just causing extraneous parameters on JOIN commands, but maybe not. invite-notify reuses the INVITE command where the invited user is not self. 2019-11-09Maintain stateCaps and offer them to clientsJune McEnroe 2019-11-09Parse capabilitiesJune McEnroe The list that I've defined are the ones that I expect to be able to enable probably without any clients breaking... And of course server-time which pounce implements itself. 2019-11-09Avoid the reserved _A names with BIT macroJune McEnroe 2019-11-09Define macro for bit flag enumsJune McEnroe 2019-11-08Check that password is hashedJune McEnroe 2019-11-08Avoid calling getopt_long again after it returns -1June McEnroe On GNU, calling getopt_long again will reset optind back to the first non-option argument, which would cause an infinite loop of reading the same configurtion file forever. 2019-11-08Only change AWAY status for registered clientsJune McEnroe Turns out I did eventually fix this, because I may want to implement "passive clients" for logging or notification stuff, which wouldn't affect AWAY status either. 2019-11-07Just write the example normallyJune McEnroe 2019-11-07Include path in readlinkat errorJune McEnroe 2019-11-07Call clientConsume before clientRecvJune McEnroe This might reduce the frequency of a client getting its own message back because it was behind in the ring when it sent it. 2019-11-06Use -l:filename in Linux.mkJune McEnroe 2019-11-06Fix compat.h for #defined strlcpyJune McEnroe 2019-11-06Allow unsetting LIBRESSL_PREFIXJune McEnroe 2019-11-06Document calico service configurationJune McEnroe 2019-11-06Document SASL EXTERNAL configuration in more detailJune McEnroe 2019-11-06Document pounce service configurationJune McEnroe 2019-11-06Mention Darwin and GNU/Linux in READMEJune McEnroe 2019-11-06Assume LibreSSL from brew on DarwinJune McEnroe 2019-11-06Remove -DNO_EXPLICIT_BZERO from Darwin.mkJune McEnroe 2019-11-06Don't install rc scripts or dirs on LinuxJune McEnroe