[lkml]   [2003]   [Mar]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Subject[ANNOUNCE] cvsps support for parsing BK->CVS kernel tree logs

Hi everyone,

I've just added (updated) lightly tested support for the BK->CVS kernel
trees to cvsps ( in version 2.0b4. The purpose of
this effort is to recreate the BK ChangeSet meta-data that is embedded in
the 'cvs log' data in these trees. BTW, cvsps is GPL software :-p. I'd
like to thank Larry and Andrea for helping me track down some issues with
this effort. This is still a BETA version, though, and I haven't given
this enough testing, so be nice. It works for me.

This version is tested and works against this morning's linux-2.4 and
linux-2.5 trees, and contains a few workarounds for specific issues in
those trees. See below for information on these problems.

The output of cvsps looks like:
PatchSet 999
Date: 2002/07/11 19:50:46
Author: alan
Branch: HEAD
Tag: (none)
[PATCH] Fix several pdc202xx problems

Misnaming of 20270 as 20268R
Failure of LBA48 on 20262
Incorrect speed detection because the old driver used host not drive side
cable detect
PDC202xx handling for quirks in udma reporting off some drives
LBA48 for PIO mode

BKrev: 3d2dd386wJMnehoOAhv3wL991IfXVQ


You can also get a diff of this PatchSet using the '-g' option to cvsps.

There are currently 2,798 PatchSets in the linux-2.4 tree, and 8,382 in
the linux-2.5 tree.

Quick start instructions
Download, build and install cvsps from
Get the 2.0b4 (or latest) version.
Create a working directory with the tree of your choice:

cvs co linux-2.4/Makefile

cd linux-2.4

[ IMPORTANT: cvsps doesn't currently support an option for setting the
compression level so PLEASE, edit your .cvsrc and put 'cvs -z4' to enable
compression ]

cvsps [-x] --bkcvs

This basically runs a 'cvs rlog' against the tree, parses, and caches all
of the revision history as PatchSets. It also outputs all of the
PatchSet summaries to stdout, so you may want to '>/dev/null' the first

Subsequent 'cvsps' commands do not need the '--bkcvs' unless you are
updating (-u, not completely tested) or rebuilding (-x, always works) the
cache file.

Now you can use cvsps to browse the patchsets at your leisure, without
loading the cvs server (except to generate diffs). See cvsps -h for the
many ways you can slice and dice the information.

I welcome any feedback.

I have currently encountered two problems with the log format.

1) someone has committed sections of 'cvs log' text into the log. This
causes quite a headache for my parser, because false end-of-log-message
markers are present in the log. Fortunately, Larry has put a '(Logical
change x.yyyy)' marker at the end of each log message, see alse 2)

2) Not all log messages are terminated by a '(Logical change x.yyy)'
marker. A single revision of one file is missing this marker, Larry is
looking into why this may have happened.

Both of these problems are being worked around by my 'Adaptive Crap Filter
(notTM)' code. Don't look at it. It'll kill you.


| David Mansfield |
| |

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:34    [W:0.052 / U:0.156 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site