summaryrefslogtreecommitdiff
path: root/git.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Add caching infrastructureLars Hjemli2006-12-101-5/+55
| | | | | | | | | | | | | | | | | | | | | | 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>
* Import cgit prototype from git treeLars Hjemli2006-12-091-0/+399
This enables basic cgit functionality, using libgit.a and xdiff/lib.a from git + a custom "git.h" + openssl for sha1 routines. Signed-off-by: Lars Hjemli <hjemli@gmail.com>
'logmsg'> Reported-by: Simon KP <si@eskp.net> 2012-09-20Fixed bash completion for files with spacesJeffrey Ratcliffe1-4/+5 2012-09-20Quit if pwgen returns nothing.Jason A. Donenfeld1-0/+1 Reported-by: Brian Mattern <rephorm@rephorm.com> 2012-09-20Prompt before overwriting password in generate, unless --force is provided.Jason A. Donenfeld2-25/+28 2012-09-19Make qdbus ugliness more segmented.Jason A. Donenfeld1-3/+8 2012-09-19Delete debian directory.Jason A. Donenfeld6-51/+0 Now that Colin Watson has taken over Debian packaging, I can get rid of our own local poorly written debian/ directory. 2012-09-19No more push/pull in zsh script, either.Jason A. Donenfeld1-3/+1 2012-09-19Since we're using batch mode, we can read directly.Jason A. Donenfeld1-1/+1 2012-09-19Clean up git handling.Jason A. Donenfeld2-42/+28 Get rid of push/pull shortcuts, as they weren't widely used. Add contents to repo on git init. Centralize git add logic, and make it less error prone. 2012-09-19Fix git regression.Jason A. Donenfeld1-1/+1 2012-09-18Add additional information from KeepassX xmlJuhamatti Niemelä1-3/+15 Import passwords as multiline entries with password in the first line. Rest contains following data if they exist in the entry element of the xml file: - username - url - comment 2012-09-18Copyright and licensing info to keepassx2pass scriptJuhamatti Niemelä1-0/+4 2012-09-18Quote the template.Jason A. Donenfeld1-1/+1 2012-09-18Better dependency list.Jason A. Donenfeld1-1/+10 2012-09-18Make recursive make silent.Jason A. Donenfeld1-1/+1 2012-09-18Quote the program name.Jason A. Donenfeld1-4/+4 2012-09-17Abstract potentially platform specific commands into their own commands.Jason A. Donenfeld4-72/+97 2012-09-16Support recursive and forced removal.Jason A. Donenfeld2-12/+28 Laurent asked for this. Reported-by: Laurent Ghigonis <laurent@p1sec.com> 2012-09-16Small stylistic things.Jason A. Donenfeld1-9/+9 Reported-by: Laurent Ghigonis <laurent@p1sec.com> 2012-09-15Use --force flag in keepassx import.Jason A. Donenfeld1-1/+1