Bug#621120: gitweb does not include static files

2011-04-07 Thread Jonathan Nieder
Hi,

Benjamin Berg wrote:

 I wouldn't complain at all, if the files were just moved. But
 apparently, they are not included in the package at all:

They are in the git package.  Did you try looking in
/usr/share/gitweb/static?



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#621120: gitweb does not include static files

2011-04-07 Thread Benjamin Berg
Hello,

On Wed, 2011-04-06 at 13:27 -0500, Jonathan Nieder wrote:
 It would be possible to install symlinks to /usr/share/gitweb, so
 stale URLs pointing to git-logo.png, say, would have more of a chance
 to remain valid.  The main downsides:
 
  * that would remove a hint to add static/ to the httpd configuration,
so adding new files to static/ in the future would be more painful;
  * more clutter when looking through /usr/share/gitweb.
 
 So, all in all, it wouldn't be so terrible.  Do you think that should
 be done?

I wouldn't complain at all, if the files were just moved. But
apparently, they are not included in the package at all:

$ dpkg -L gitweb
/.
/usr
/usr/lib
/usr/lib/cgi-bin
/usr/share
/usr/share/doc
/usr/share/doc/gitweb
/usr/share/doc/gitweb/copyright
/usr/share/doc/gitweb/README
/usr/share/doc/gitweb/README.Debian
/usr/share/doc/gitweb/changelog.gz
/usr/share/doc/gitweb/changelog.Debian.gz
/usr/share/doc/gitweb/examples
/usr/share/doc/gitweb/examples/index.aux-generation
/usr/share/doc/gitweb/NEWS.Debian.gz
/etc
/etc/gitweb.conf
/etc/apache2
/etc/apache2/conf.d
/etc/apache2/conf.d/gitweb
/usr/lib/cgi-bin/gitweb.cgi

is all that is listed.

Benjamin


signature.asc
Description: This is a digitally signed message part


Bug#621120: gitweb does not include static files

2011-04-07 Thread Benjamin Berg
On Thu, 2011-04-07 at 04:00 -0500, Jonathan Nieder wrote:
 They are in the git package.  Did you try looking in
 /usr/share/gitweb/static?

Right ...

/me feels stupid now :-)

Sorry for the noise.

Benjamin


signature.asc
Description: This is a digitally signed message part


Bug#621120: gitweb does not include static files

2011-04-06 Thread Benjamin Berg
Package: gitweb
Version: 1:1.7.4.1-5
Severity: normal

Gitweb is missing the static files for the browser. It seems like
the needed files are:
 * /usr/share/gitweb/gitweb.css
 * /usr/share/gitweb/gitweb.js
 * /usr/share/gitweb/git-favicon.png
 * /usr/share/gitweb/git-logo.png

Benjamin

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 
'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.38-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_CA.utf8, LC_CTYPE=en_CA.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages gitweb depends on:
ii  apache2  2.2.17-2Apache HTTP Server metapackage
ii  apache2-mpm-worker [httpd]   2.2.17-2Apache HTTP Server - high speed th
ii  git  1:1.7.4.1-5 fast, scalable, distributed revisi
ii  perl 5.10.1-18   Larry Wall's Practical Extraction 

gitweb recommends no packages.

Versions of packages gitweb suggests:
ii  apache2-mpm-worker [httpd-cgi 2.2.17-2   Apache HTTP Server - high speed th
pn  git-doc   none (no description available)

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#621120: gitweb does not include static files

2011-04-06 Thread Jonathan Nieder
Hi,

Benjamin Berg wrote:

 Gitweb is missing the static files for the browser. It seems like
 the needed files are:
  * /usr/share/gitweb/gitweb.css
  * /usr/share/gitweb/gitweb.js
  * /usr/share/gitweb/git-favicon.png
  * /usr/share/gitweb/git-logo.png

From /usr/share/doc/gitweb/NEWS.Debian.gz:

  gitweb (1:1.7.4.1-1) unstable; urgency=low

The gitweb auxiliary files gitweb.css, git-favicon.png,
git-logo.png, and gitweb.js have been moved from /usr/share/gitweb
to a static/ subdirectory.  You may need to adapt your web server
and gitweb configuration to adjust.  See /usr/share/doc/git/README.Debian
for details.

It would be possible to install symlinks to /usr/share/gitweb, so
stale URLs pointing to git-logo.png, say, would have more of a chance
to remain valid.  The main downsides:

 * that would remove a hint to add static/ to the httpd configuration,
   so adding new files to static/ in the future would be more painful;
 * more clutter when looking through /usr/share/gitweb.

So, all in all, it wouldn't be so terrible.  Do you think that should
be done?



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org