[SRU] gitweb.js missing in gitweb package

Bug #636999 reported by Baptiste Mille-Mathias
32
This bug affects 5 people
Affects Status Importance Assigned to Milestone
git (Ubuntu)
Fix Released
Low
Baptiste Mille-Mathias
Lucid
Invalid
Undecided
Unassigned
Maverick
Fix Released
Undecided
Unassigned
git-core (Debian)
Fix Released
Unknown
git-core (Ubuntu)
Invalid
Undecided
Unassigned
Lucid
Fix Released
Undecided
Unassigned
Maverick
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: git-core

Once you setup a gitweb vhost you'll see a message '… GET /gitweb.js HTTP/1.1" 404 573 …" for each request.

effectively the file is missing from the package, as stated in the debian bug 555047 (http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=555047)
I propose the fix for SRU.

Changed in git-core (Ubuntu):
importance: Undecided → Low
status: New → Confirmed
milestone: none → ubuntu-10.04.2
Revision history for this message
Baptiste Mille-Mathias (bmillemathias) wrote :
Changed in git-core (Ubuntu):
assignee: nobody → Baptiste Mille-Mathias (bmillemathias)
Revision history for this message
Baptiste Mille-Mathias (bmillemathias) wrote :

Test case:
- Setup a gitweb vhost:
- Browse the website:

Result:
you'll see such entries in the log for every request on the index.cgi ressource
[Wed Jul 14 13:39:09 2010] [error] [client *.*.*.*] File does not exist: /usr/share/gitweb/gitweb.js, referer: http://*.*/gitweb/ /var/log/apache2/error.log

Angel Abad (angelabad)
Changed in git-core (Debian):
importance: Unknown → Undecided
status: Unknown → New
status: New → Fix Released
Revision history for this message
Baptiste Mille-Mathias (bmillemathias) wrote :

I added maverick as target as the bug still exists.

summary: - gitweb.js missing in gitweb package
+ [SRU] gitweb.js missing in gitweb package
Benjamin Drung (bdrung)
Changed in git-core (Debian):
importance: Undecided → Unknown
status: Fix Released → Unknown
Changed in git-core (Debian):
status: Unknown → Fix Released
affects: git-core (Ubuntu) → git (Ubuntu)
Revision history for this message
Sebastien Bacher (seb128) wrote :

the issue is fixed in natty now

Changed in git (Ubuntu):
status: Confirmed → Fix Released
Revision history for this message
Martin Pitt (pitti) wrote :

I sponsored the lucid SRU (the source package is called git-core in lucid, git in later releases).

Changed in git-core (Ubuntu):
status: New → Invalid
Changed in git-core (Ubuntu Maverick):
status: New → Invalid
Changed in git (Ubuntu Lucid):
status: New → Invalid
Changed in git-core (Ubuntu Lucid):
status: New → Fix Committed
Revision history for this message
Martin Pitt (pitti) wrote :

I verified that the maverick package already has gitweb.js.

Changed in git (Ubuntu Maverick):
status: New → Fix Released
Revision history for this message
Martin Pitt (pitti) wrote : Please test proposed package

Accepted git-core into lucid-proposed, the package will build now and be available in a few hours. Please test and give feedback here. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you in advance!

tags: added: verification-needed
Revision history for this message
Andreas Olsson (andol) wrote :

I can verify this fix.

At first I installed gitweb 1:1.7.0.4-1. Then there were no /usr/share/gitweb/gitweb.js present, which also was reflected in /var/log/apache2/error.log.

Upgrading to gitweb 1:1.7.0.4-1ubuntu0.1 did provide /usr/share/gitweb/gitweb.js. Likewise the errors in /var/log/apache2/error.log stopped.

tags: added: verification-done
removed: verification-needed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package git-core - 1:1.7.0.4-1ubuntu0.1

---------------
git-core (1:1.7.0.4-1ubuntu0.1) lucid-proposed; urgency=low

  * debian/rules: install missing gitweb.js for the gitweb Web configuration
    (LP: #636999)
 -- Baptiste Mille-Mathias <email address hidden> Mon, 13 Sep 2010 13:19:46 +0200

Changed in git-core (Ubuntu Lucid):
status: Fix Committed → Fix Released
Revision history for this message
Alexander Fedorov (vester) wrote :

I werified that the maverick package already hasn't gitweb.js

vester@desktop:~$ dpkg -s gitweb
Package: gitweb
Status: install ok installed
Priority: optional
Section: vcs
Installed-Size: 680
Maintainer: Ubuntu Developers <email address hidden>
Architecture: all
Source: git
Version: 1:1.7.1-1.1
Depends: git (>> 1:1.7.1), git (<< 1:1.7.1-.), perl
Suggests: git-doc
Conffiles:
 /etc/gitweb.conf 0702039caa429c27b7157de7d10d1300
 /etc/apache2/conf.d/gitweb 1330c26ac3698e806e4a1fec04831c11
Description: fast, scalable, distributed revision control system (web interface)
 Git is popular version control system designed to handle very large
 projects with speed and efficiency; it is used for many high profile
 open source projects, most notably the Linux kernel.
 .
 Git falls in the category of distributed source code management tools.
 Every Git working directory is a full-fledged repository with full
 revision tracking capabilities, not dependent on network access or a
 central server.
 .
 This package provides a web interface for browsing git repositories.
Original-Maintainer: Gerrit Pape <email address hidden>

vester@desktop:~$ dpkg -L gitweb
/.
/usr
/usr/lib
/usr/lib/cgi-bin
/usr/lib/cgi-bin/gitweb.cgi
/usr/share
/usr/share/gitweb
/usr/share/gitweb/gitweb.css
/usr/share/gitweb/git-favicon.png
/usr/share/gitweb/git-logo.png
/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
/var
/var/cache
/var/cache/git
/usr/share/gitweb/index.cgi

Revision history for this message
Christopher Currie (christopher-currie) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.