Commit Graph

2 Commits

Author SHA1 Message Date
Richard Maw
63a5fe0a3d Update contrib script to update agefiles per namespace
This uses the same age file as before if it's in the root namespace,
but puts the agefile in info/web/namespaced/$GIT_NAMESPACE/last-modified.

Signed-off-by: Richard Maw <richard.maw@gmail.com>
2016-07-13 20:09:37 +01:00
John Keeping
121e653914 contrib/hooks: add sample post-receive hook using agefile
One of the most frequent questions on the mailing list relates to the
idle time in the repository list.  The answer to this is to use the
"agefile" feature to calculate the time of the last change whenever the
repository receives changes.

Add a sample post-receive hook in a new "contrib" directory so that we
can just point people at the repository in the future.

Signed-off-by: John Keeping <john@keeping.me.uk>
2015-08-12 14:06:36 +02:00