aboutsummaryrefslogtreecommitdiffstatshomepage
Commit message (Expand)AuthorAge
...
* Teach cgit how to use PATH_INFOLars Hjemli2008-09-15
* Merge branch 'lh/parsing'Lars Hjemli2008-09-15
|\
| * ui-tag: show the taggers emailLars Hjemli2008-09-15
| * parsing.c: be prepared for unexpected content in commit/tag objectsLars Hjemli2008-09-15
* | Merge branch 'ew/http_host'Lars Hjemli2008-09-15
|\ \ | |/ |/|
| * use Host: header to generate cgit_hosturlEric Wong2008-09-02
* | Update Makefile to use GIT-1.6.0.1Lars Hjemli2008-09-03
|/
* Use GIT-1.6.0.1Lars Hjemli2008-09-02
* ui-plain: handle subdirectoriesLars Hjemli2008-09-02
* Use GIT-1.6.0Lars Hjemli2008-09-01
* Merge branch 'lh/plain'Lars Hjemli2008-09-01
|\
| * Supply status description to html_status()Lars Hjemli2008-08-06
| * ui-tree: link to plain view instead of blob viewLars Hjemli2008-08-06
| * Implement plain viewLars Hjemli2008-08-06
* | Merge branch 'lh/clone'Lars Hjemli2008-09-01
|\|
| * Add support for cloning over httpLars Hjemli2008-08-06
* | cache.c: use %zd for off_t argumentLars Hjemli2008-09-01
* | Use GIT-1.6.0.rc1Lars Hjemli2008-08-06
* | Makefile: Git dependency, take 3Lars Hjemli2008-08-06
* | Merge branch 'lh/atom'Lars Hjemli2008-08-06
|\ \
| * | Add atom-supportLars Hjemli2008-08-01
| |/
* / cgitrc: explain new local-time optionStefan Naewe2008-08-05
|/
* Added `local-time` option to cgitrcStefan Naewe2008-08-01
* Makefile: another take on git dependency rulesLars Hjemli2008-08-01
* Modify default value for a few cgitrc optionsLars Hjemli2008-07-27
* Be prepared for empty repositoriesLars Hjemli2008-07-27
* ui-shared: show repo owner along with descriptionLars Hjemli2008-07-27
* ui-summary: show clone urlsLars Hjemli2008-07-27
* Makefile: remove the `distclean` and `emptycache` targetsLars Hjemli2008-07-22
* Makefile: do not touch the git objects with `make clean`Lars Hjemli2008-07-22
* Makefile: fix git dependency rulesLars Hjemli2008-07-22
* tests/Makefile: not everyone has `.` in $PATHLars Hjemli2008-07-22
* Adjust to new calling convention for read_tree_recursive()Lars Hjemli2008-07-21
* Use GIT-1.6.0-rc0Lars Hjemli2008-07-21
* Add a favicon option to cgitrcLars Hjemli2008-07-19
* Add support for including a footer on all pagesLars Hjemli2008-06-26
* Merge branch 'master' of git://git.klever.net/patchwork/cgitLars Hjemli2008-06-26
|\
| * allow specification of directly linked blobs mimetypesMichael Krelin2008-06-24
| * allow blob extract blobs by head/path combinationMichael Krelin2008-06-24
* | Use GIT-1.5.6Lars Hjemli2008-06-25
|/
* Added root-desc to default configuration.Harley Laue2008-05-21
* ui-tree.c: avoid peeking at GITLINK objectsLars Hjemli2008-05-20
* cache.c: fix error checking in print_slot()Lars Hjemli2008-05-20
* cache.c: do not ignore errors from print_slot()Lars Hjemli2008-05-18
* cache.c: use xread()/xwrite() from libgitLars Hjemli2008-05-18
* cache.c: make all io-related functions return errno on errorLars Hjemli2008-05-18
* cache.c: read(2) returns -1 on error, not 0Lars Hjemli2008-05-18
* Use GIT-1.5.5.1Lars Hjemli2008-05-18
* Include commit-id in link from diff-statLars Hjemli2008-05-18
* ui-commit: handle root commitsLars Hjemli2008-05-18
pan>$TEST_DIRECTORY/valgrind" CGIT_VALGRIND=$(cd ../valgrind && pwd) PATH="$CGIT_VALGRIND/bin:$PATH" export GIT_VALGRIND CGIT_VALGRIND else PATH="$(pwd)/../..:$PATH" fi FILTER_DIRECTORY=$(cd ../filters && pwd) if cgit --version | grep -F -q "[+] Lua scripting"; then export CGIT_HAS_LUA=1 else export CGIT_HAS_LUA=0 fi mkrepo() { name=$1 count=$2 test_create_repo "$name" ( cd "$name" n=1 while test $n -le $count do echo $n >file-$n git add file-$n git commit -m "commit $n" n=$(expr $n + 1) done if test "$3" = "testplus" then echo "hello" >a+b git add a+b git commit -m "add a+b" git branch "1+2" fi ) } setup_repos() { rm -rf cache mkdir -p cache mkrepo repos/foo 5 >/dev/null mkrepo repos/bar 50 >/dev/null mkrepo repos/foo+bar 10 testplus >/dev/null mkrepo "repos/with space" 2 >/dev/null mkrepo repos/filter 5 testplus >/dev/null cat >cgitrc <<EOF virtual-root=/ cache-root=$PWD/cache cache-size=1021 snapshots=tar.gz tar.bz zip enable-log-filecount=1 enable-log-linecount=1 summary-log=5 summary-branches=5 summary-tags=5 clone-url=git://example.org/\$CGIT_REPO_URL.git enable-filter-overrides=1 repo.url=foo repo.path=$PWD/repos/foo/.git # Do not specify a description for this repo, as it then will be assigned # the constant value "[no description]" (which actually used to cause a # segfault). repo.url=bar repo.path=$PWD/repos/bar/.git repo.desc=the bar repo repo.url=foo+bar repo.path=$PWD/repos/foo+bar/.git repo.desc=the foo+bar repo repo.url=with space repo.path=$PWD/repos/with space/.git repo.desc=spaced repo repo.url=filter-exec repo.path=$PWD/repos/filter/.git repo.desc=filtered repo repo.about-filter=exec:$FILTER_DIRECTORY/dump.sh repo.commit-filter=exec:$FILTER_DIRECTORY/dump.sh repo.email-filter=exec:$FILTER_DIRECTORY/dump.sh repo.source-filter=exec:$FILTER_DIRECTORY/dump.sh repo.readme=master:a+b EOF if [ $CGIT_HAS_LUA -eq 1 ]; then cat >>cgitrc <<EOF repo.url=filter-lua repo.path=$PWD/repos/filter/.git repo.desc=filtered repo repo.about-filter=lua:$FILTER_DIRECTORY/dump.lua repo.commit-filter=lua:$FILTER_DIRECTORY/dump.lua repo.email-filter=lua:$FILTER_DIRECTORY/dump.lua repo.source-filter=lua:$FILTER_DIRECTORY/dump.lua repo.readme=master:a+b EOF fi } cgit_query() { CGIT_CONFIG="$PWD/cgitrc" QUERY_STRING="$1" cgit } cgit_url() { CGIT_CONFIG="$PWD/cgitrc" QUERY_STRING="url=$1" cgit } strip_headers() { while read -r line do test -z "$line" && break done cat } test -z "$CGIT_TEST_NO_CREATE_REPOS" && setup_repos