看板 DFBSD_kernel 關於我們 聯絡資訊
--nextPart29949904.oXKAcJbFED Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Wednesday, 9. February 2005 04:04, Max Laier wrote: > If you don't know it yet: > http://fxr.watson.org/ > > The search features from there are quite handy, didn't find anything like > it in your tool yet. yes, i know. i might link to rwatson's site, but i don't intend to do the s= ame=20 thing here: fxr indexes on identifiers, I index on files and revisions. > Also, a quick check of the pf source (what else) didn't turn up the cool > feature you were talking about (i.e. filling in the $OpenBSD versions) > http://oly.corecode.ath.cx/~corecode/cgi-bin/crosscgi.py?cmd=3Ddetail&sou= rcei >d=3D34780 > http://oly.corecode.ath.cx/~corecode/cgi-bin/crosscgi.py?cmd=3Ddetail&sou= rcei >d=3D83740 yes, that's expected :/ openbsd and netbsd don't include the complete path = in=20 the tags, so my tool can only guess. and if there is more than one file in= =20 the corresponding repo with the same name, it will opt for manual fixing.=20 there is already code in the cgi for that, though i'm not yet sure on how t= o=20 cope with authorisation for changes. > It's really fast, though! How long does an index run take? On what > hardware? How much space does it need for metadata? Does it index > incremental? yes, i explicitly optimized it for speed. took some time :) an index run for all repos takes less than one day i think, but i'd have to= =20 try again. the hardware is my desktop here in my room, a duron 1200 with=20 384MB ram, and in fact it's at the moment updating the index (in parallel!)= ,=20 which is (after i cleaned out tagname references, whose tracking basically= =20 destroys all update/insert performance): =2Drw-r--r-- 1 corecode wheel 672692224 Feb 9 04:14 cvscrosscheck.db oh and, the changesets are created on fly, from aggregation to checkout. i'm sure it could still be tuned, but i'm quite happy with the speed now. i= =20 had to write an own, fast rcs file parser, tho (and accompaning python=20 module) once i got my local changes into the repo again, i'll follow up with the=20 source, if there is interest. oh and of course i'll post to the other=20 projects' mailing lists, just wanted to make a first test here. cheers simon =2D-=20 /"\ \ / \ ASCII Ribbon Campaign / \ Against HTML Mail and News --nextPart29949904.oXKAcJbFED Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQBCCYEzr5S+dk6z85oRApsdAJ9xS2Gxl5zaP9QfXxnNBLlDgjLavwCeOSNn homNbZQHLl2ZKcrswF3zdp4= =ChY2 -----END PGP SIGNATURE----- --nextPart29949904.oXKAcJbFED--