Commit graph

39 commits

Author SHA1 Message Date
Wolfram Schneider
c73351592d cuerrnt FreeBSD version' of cvsweb.cgi is pointed to old one
PR:	 docs/16814
Submitted by: haro@tk.kubota.co.jp
2000-02-19 13:58:12 +00:00
Wolfram Schneider
e892fe3c4d Off by one error.
Submitted by:	Christian Weisgerber <naddy@unix-ag.uni-kl.de>
2000-02-01 14:52:38 +00:00
Alexey Zelkin
39224ae67a freebsd.org -> FreeBSD.org 2000-01-05 15:47:46 +00:00
Wolfram Schneider
77b8b76970 Undo revision revision 1.34: Set up for FreeBSD repo options ($FreeBSD$)
in /usr/local/etc/cvsweb-freebsd. The repo options are only valid for
the FreeBSD CVS tree.

BTW, the cvsweb.cgi mirror sites should update their
/usr/local/etc/cvsweb-freebsd too if possible.

Submitted by: peter
1999-09-19 10:55:19 +00:00
Wolfram Schneider
8044939abb Undo revision 1.31. The FreeBSD Web server www.freebsd.org support
more than one CVS tree and FreeBSD.org E-mail hyperlinks will not work
for the other trees (e.g. NetBSD, learn etc.).

Pointed out by: Wolfgang Solfrank <ws@tools.de>
1999-09-17 18:56:44 +00:00
Peter Wemm
c82d2e0e66 Take a shot at getting $FreeBSD$ expanded by cvsweb. 1999-09-08 13:04:09 +00:00
Peter Wemm
01a61279be $Id$,$Date$ -> $FreeBSD$
The jury is out on $Date$, but it's presently not being expanded..
1999-09-06 07:03:31 +00:00
Wolfram Schneider
2857b98ed4 Use absolute URL for query-pr.cgi CGI script so the link
will works  for the cvsweb.cgi mirrors.

PR:		 misc/12813
1999-07-26 21:41:06 +00:00
Bill Fumerola
5da6fa1886 Add an e-mail hyperlink for the author of each commit.
Approved By:	fenner
1999-06-01 15:23:51 +00:00
Wolfram Schneider
ec37a00fe2 Added spanish mirror and the main script in California. 1999-04-17 16:57:56 +00:00
Bill Fenner
b34092da33 Allow "rev=." to check out HEAD 1999-01-13 03:59:04 +00:00
Tim Vanderhoek
900fd1e326 Correct more aggressive PR# matching (aka. an "I can write better
regexp's than that....really" commit).
1999-01-01 02:42:36 +00:00
Tim Vanderhoek
1655b7abb9 More aggressive PR-number url'ifying. Grammar gnit. 1998-12-30 19:31:43 +00:00
Motoyuki Konno
d77b8e56b6 Change URL of CVSweb Japanese mirror.
http://www.jp.freebsd.org/www.freebsd.org/cgi/cvsweb.cgi
    -> http://www.jp.freebsd.org/cgi/cvsweb.cgi

Requested by: root@www.jp.freebsd.org
1998-11-10 19:26:16 +00:00
Wolfram Schneider
7f78c722d2 Delete dead mozilla cvs tree. 1998-08-24 16:41:42 +00:00
Wolfram Schneider
ad20be4d1f Added cvsweb mirrors. 1998-08-16 13:45:12 +00:00
Wolfram Schneider
d49cfdcd87 Sort CVS trees by (internal) name. 1998-08-15 09:59:11 +00:00
Wolfram Schneider
0d88a0eb49 Always print the name of the current CVS tree. 1998-08-13 10:35:26 +00:00
Wolfram Schneider
ee0af6538a Insert BSD copyright. 1998-07-23 09:42:40 +00:00
Wolfram Schneider
0361431614 Delete OpenBSD tree from the cgi script and move the OpenBSD
configuration to the extern config file /usr/local/etc/cvsweb.
OpenBSD is not a standard part of FreeBSD ;-) and I doubt that
FreeBSD mirror site will support OpenBSD.
1998-07-23 08:50:52 +00:00
Wolfram Schneider
03bf378f04 Ignore CVS lock and stale NFS files. 1998-05-17 15:41:28 +00:00
Wolfram Schneider
f4f04f8908 Don't print the directory '#cvs.lock'. 1998-05-08 10:14:10 +00:00
Wolfram Schneider
f879843780 Add link to the FreeBSD-current sources of the cvsweb.cgi
script (self-referencing url ;-)
1998-05-05 16:05:32 +00:00
Wolfram Schneider
bed7cba672 Print a list of available CVS trees on the home page.
Print the name of the current CVS tree on every page if
not identical with the default CVS tree.
1998-04-06 15:50:27 +00:00
Wolfram Schneider
2321e3b34f Support mozilla cvs tree.
http://www.freebsd.org/cgi/cvsweb.cgi?cvsroot=mozilla
1998-04-05 10:20:37 +00:00
Wolfram Schneider
9d5e50905a Append timezone "UTC" to the date output. RCS display all times
in Coordinated  Universal  Time (UTC) by default.
1998-01-12 16:27:14 +00:00
Bill Fenner
816413359b Fix module name parsing (e.g. cvsweb.cgi/sys_netinet works again) 1997-11-19 19:20:22 +00:00
Bill Fenner
4d77a0857c Make dolog a function, to clean up the body of the "big switch".
Make the "$CVSROOT missing" message seem like a temporary error, to
 reduce email to webmaster when freefall is down.
Only display Attic button when there's an Attic present
Consolidate style of &cvsroot additions
1997-11-19 19:07:18 +00:00
Wolfram Schneider
82ceb2d953 Source the config file /usr/local/etc/cvsweb and
/usr/local/etc/cvsweb-$cvsroot if exists. The config files
are perl scripts.

This make it possible to define local cvs roots, help messages,
navigation bar and E-Mail addresses without changing the
original cvsweb.cgi script.
1997-11-15 16:48:07 +00:00
Wolfram Schneider
c97e6997ab Add support for multiple cvs root directories. This allow
to use one script for different cvs trees, e.g.

learn:
cvsweb.cgi?cvsroot=learn

freebsd:
cvsweb.cgi?cvsroot=freebsd

openbsd:
cvsweb.cgi/src/bin/cat/cat.c?cvsroot=openbsd

The default cvs root is `freebsd'.
1997-11-14 17:36:47 +00:00
Bill Fenner
2437b7a96d Hide Attic directories by default; show files that are in the Attic in their
old location with an "(in the Attic)" notation.
Make queries sticky so that only_on_branch &c can live across directory
 traversals.
Learn about file death.
1997-07-19 00:54:40 +00:00
Bill Fenner
519481482d Teach cvsweb about the "branch:" RCS header
Print out information about branch points as well as branches.
Don't use user input in regexp's (e.g. turned /^${module}\s+(\S+)/o
    into /^(\S+)\s+(\S+)/o && $module eq $1) to avoid "foo.c++"
    regex error
Add to safeglob() a little (although it's still not used yet)
1997-07-01 22:19:57 +00:00
Bill Fenner
92aaee87ef Stefan's cvsweb commit made me realize that I forgot to committed this
stuff after testing it, since I had fixed that bug already.  Oops!

- Added "?only_on_branch=RELENG_2_2" (e.g.) support and form to select
- Make diff requests refer to foo.diff so browsers don't tend to overwrite
  source files with diff's
- Get rid of content-transfer-encoding: x-gzip since it's not sufficiently
  standard
- Parse PR references in log messages
- Add side-by-side as a diff option (?f=s)
- Use &html_header() to get consistent look for error messages
- Make checkout and diff into functions for flexibility
1997-04-30 18:25:05 +00:00
Stefan Bethke
98fe3939f7 When entering a path starting with a valid module name, but ending in an
non-existing  file or directory, a redirect to exactly the same locations
was issued, instead of an error messages.
Reported by Jan Schreiber <akira@loopback.org>
1997-04-30 07:35:11 +00:00
Bill Fenner
3d32f310e8 Allow module name followed by a filename, e.g.
http://www.freebsd.org/cgi/cvsweb.cgi/mrouted/main.c
Fix the revision comparison function; diff's between branch and head
	are no longer reversed.
1997-03-20 01:36:20 +00:00
Bill Fenner
81d2c6707f Add tags and branches to the list of things that get anchors, e.g.
you can also say things like #RELENG_2_2 or #RELENG_2_1_6_1_RELEASE

Allow specifying a module name, e.g. http://.../cvsweb.cgi/mrouted
will give you a redirect to .../cvsweb.cgi/src/usr.sbin/mrouted
1997-02-03 20:47:12 +00:00
Martin Cracauer
14c342489f Adds a <a NAME="..."> tag for each revision, so that outside
programs can add links to individual revisions.
i.e: http://www.freebsd.org/cgi/cvsweb.cgi/src/Makefile#1.117
1997-02-03 15:14:22 +00:00
John Fieber
15be435f08 Hook up cvsweb.cgi to cgi-style.pl so it inherits the proper
"look and feel".
1996-09-29 02:19:30 +00:00
John Fieber
dc37032eca Sweep some more web stuff into cvs. 1996-09-28 23:31:12 +00:00