RETIRED, Gerrit as used by OpenStack
Go to file
Shawn O. Pearce a68b89452f Clean up stale empty temporary directories from prior executions
Some NFS based filesystems seem to have a problem deleting the
temporary directory we create to hold our JARs.  Something on the
NFS server is pegging the directory open until the JVM exits,
which means we may wind up leaving an infinite number of empty
directories in ~/.gerritcodereview/tmp.

This appears to be isolated to certain NFS servers, because my local
/tmp doesn't suffer from the same problem, the temporary directory
is deleted on JVM exit.

We use a simple rule here, any empty directory with a modification
date older than 7 days is assumed to be garbage and removed.
Any directory that is non-empty can be assumed to be a running
daemon, even if it has a modification date of older than 7 days,
and is thus left alone.

Change-Id: I3d4e697863f347e66e5b142e4a7ad8e99a08956d
Signed-off-by: Shawn O. Pearce <sop@google.com>
2009-12-07 14:10:11 -08:00
Documentation documentation: Correct links in dev-design 2009-12-02 08:11:34 -08:00
gerrit-common Rewrite our build as modular maven components 2009-11-11 16:54:06 -08:00
gerrit-gwtdebug Fix PostgreSQL/H2 access under gwtdebug sessions 2009-11-12 08:15:18 -08:00
gerrit-gwtui Update JGit to org.eclipse.jgit 0.5.1.51-g96b2e76 2009-11-17 11:05:11 -08:00
gerrit-httpd Support OpenID behind an HTTP proxy 2009-11-17 16:03:16 -08:00
gerrit-main Clean up stale empty temporary directories from prior executions 2009-12-07 14:10:11 -08:00
gerrit-patch-commonsnet Rewrite our build as modular maven components 2009-11-11 16:54:06 -08:00
gerrit-patch-gwtexpui Rewrite our build as modular maven components 2009-11-11 16:54:06 -08:00
gerrit-patch-jgit Update JGit to org.eclipse.jgit 0.5.1.51-g96b2e76 2009-11-17 11:05:11 -08:00
gerrit-pgm cat, ls: move inside our main program package 2009-12-07 12:51:17 -08:00
gerrit-reviewdb Automatically make first user account administrator 2009-11-17 17:43:25 -08:00
gerrit-server Fix port number in ssh pull lines in emails 2009-12-03 18:07:09 -08:00
gerrit-sshd Always trim Change-Id lines to handle non-standard whitespace 2009-12-04 18:44:23 -08:00
gerrit-util-cli Rewrite our build as modular maven components 2009-11-11 16:54:06 -08:00
gerrit-util-ssl Rewrite our build as modular maven components 2009-11-11 16:54:06 -08:00
gerrit-war Update MINA SSHD to 0.3.0-r881338 2009-11-17 09:32:32 -08:00
tools Display the full stack trace if requested 2009-11-17 17:52:45 -08:00
.gitignore Rewrite our build as modular maven components 2009-11-11 16:54:06 -08:00
COPYING Initial project setup of Gerrit 2 2008-11-14 16:59:34 -08:00
INSTALL Remove Gerrit 1.x to 2.x import tools 2009-03-27 20:20:10 -07:00
SUBMITTING_PATCHES Document how to contribute to Gerrit Code Review 2009-07-02 13:45:52 -07:00
pom.xml Update Jetty to 7.0.1.v20091125 2009-12-07 11:09:35 -08:00