This website works better with JavaScript.
Explore
Help
Sign In
katolaz
/
cgit-70
Watch
1
Star
0
Fork
You've already forked cgit-70
0
Code
Issues
Pull Requests
Releases
Wiki
Activity
a gopher interface forked from the popular cgit
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
222
Commits
3
Branches
43
Tags
1.9 MiB
Tag:
Branch:
Tree:
ff7a39488a
gopher
master
upstream
cgit-70_v0.1
cgit-70_v0.1.2.1
v0.1
v0.10
v0.10.1
v0.10.2
v0.11.0
v0.11.1
v0.11.2
v0.12
v0.2
v0.3
v0.4
v0.5
v0.6
v0.6.1
v0.6.2
v0.6.3
v0.7
v0.7.1
v0.7.2
v0.8
v0.8.1
v0.8.1.1
v0.8.2
v0.8.2.1
v0.8.2.2
v0.8.3
v0.8.3.1
v0.8.3.2
v0.8.3.3
v0.8.3.4
v0.8.3.5
v0.9
v0.9.0.1
v0.9.0.2
v0.9.0.3
v0.9.1
v0.9.2
v1.0
v1.1
v1.2
v1.2.1
Branches
Tags
${ item.name }
Create tag
${ searchTerm }
Create branch
${ searchTerm }
from 'ff7a39488a'
${ noResults }
cgit-70
/
.gitignore
6 lines
69 B
Raw
Normal View
History
Unescape
Escape
Add .gitignore Signed-off-by: Lars Hjemli <hjemli@gmail.com>
18 years ago
# Files I don't care to see in git-status/commit
cgit
Add version info from git-describe A new script, gen-version.sh, is now invoked from 'make version' to generate the file VERSION. This file contains a version identifier generated by git-describe and is included in the Makefile. Signed-off-by: Lars Hjemli <hjemli@gmail.com>
18 years ago
VERSION
Add .gitignore Signed-off-by: Lars Hjemli <hjemli@gmail.com>
18 years ago
*.o
Add caching infrastructure This enables internal caching of page output. Page requests are split into four groups: 1) repo listing (front page) 2) repo summary 3) repo pages w/symbolic references in query string 4) repo pages w/constant sha1's in query string Each group has a TTL specified in minutes. When a page is requested, a cached filename is stat(2)'ed and st_mtime is compared to time(2). If TTL has expired (or the file didn't exist), the cached file is regenerated. When generating a cached file, locking is used to avoid parallell processing of the request. If multiple processes tries to aquire the same lock, the ones who fail to get the lock serves the (expired) cached file. If the cached file don't exist, the process instead calls sched_yield(2) before restarting the request processing. Signed-off-by: Lars Hjemli <hjemli@gmail.com>
18 years ago
*~