Your message dated Wed, 31 Jul 2013 11:31:55 -0700
with message-id <[email protected]>
and subject line Re: /var/cache/git transition - no symlinks if not needed
has caused the Debian Bug report #483788,
regarding gitweb: should use /var/lib/git or /srv/git by default instead of 
/var/cache/git
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
483788: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=483788
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: gitweb
Version: 1:1.7.10.4-2

At present, gitweb expects to find the repositories in /var/cache/git
by default.  However, as the FHS specifies:

  /var/cache is intended for cached data from applications. Such data
  is locally generated as a result of time-consuming I/O or
  calculation. The application must be able to regenerate or restore
  the data. Unlike /var/spool, the cached files can be deleted without
  data loss. The data must remain valid between invocations of the
  application and rebooting the system.

  Files located under /var/cache may be expired in an application
  specific manner, by the system administrator, or both. The
  application must always be able to recover from manual deletion of
  these files (generally because of a disk space shortage). No other
  requirements are made on the data format of the cache directories.

This is very different from git, which expects its data to be
preserved, and for which deletion of the data would certainly lead to
data loss.

Having this as the default could lead to situations in which data is
lost, if sysadmins are not careful.

The obvious alternatives are /var/lib/git or /srv/git, which are both
designed for data.  My preference is for /srv/git, as the git data is
not so much state information as it is user data.

   Julian

--- End Message ---
--- Begin Message ---
Version: 1:1.8.4~rc0-1

Hi Christoph,

Christoph Anton Mitterer wrote:

> reopen 483788
> stop
>
> Hi Jonathan.
>
> Nice change, but I reopen it for now as I don't think the following is
> necessary:
> I haven't had any repos in /var/cache/git at all, but now on upgrade
> (and I even don't have gitweb or git-daemon-* installed),

That's not how the BTS works.  Please open a new bug.

But good catch, thanks!

Regards,
Jonathan

--- End Message ---

Reply via email to