From sbbgriffith at gmail.com Fri Nov 6 16:46:21 2009 From: sbbgriffith at gmail.com (sam griffith) Date: Fri, 6 Nov 2009 16:46:21 -0800 Subject: [opengrok] advanced configuration of opengrok Message-ID: Everyone, I've been playing around with opengrok while waiting for the release, and was wondering if there was any way to configure it so that multiple source directories were indexed, rather than one. I see how to do it for one directory (or setting up mirroring) but in my environment things are relatively fragmented (ie: source in multiple areas), and I'd rather have one master opengrok database than several small, disjoint ones. So is there a way to have opengrok work with multiple directories, and more importantly, do filtering to avoid files that are either temporary or ignorable, and to do this via configuration? Either that, or better yet configure it so that opengrok goes by a list of files to index (so that say a python script could do the heavy lifting of figuring out what to index and opengrok could pick up on that and use it)? thanks much, - sam sam griffith wrote: >> >>> Upon release I will update the install and user page (it's really only 2 >>>> steps at the moment to setup opengrok ;) ) >>>> >>>> I hope the release should be out any moment >>>> >>>> >>> >>> thanks much lubos, I'll follow the roadmap page closely. >>> >>> -------------- next part -------------- An HTML attachment was scrubbed... URL: From bfurber at comcast.net Sat Nov 7 18:36:17 2009 From: bfurber at comcast.net (Bruce Furber) Date: Sat, 7 Nov 2009 21:36:17 -0500 Subject: [opengrok] advanced configuration of opengrok References: Message-ID: <0A35E0F4C1CA45C587EDC8CFD29AE9D3@dell745> You can mirror, link or mount the fragmented stuff into subdirectories and use a series of ignores to filter out files. -i *.bak -i .listing -i .log Bruce ----- Original Message ----- Everyone, I've been playing around with opengrok while waiting for the release, and was wondering if there was any way to configure it so that multiple source directories were indexed, rather than one. I see how to do it for one directory (or setting up mirroring) but in my environment things are relatively fragmented (ie: source in multiple areas), and I'd rather have one master opengrok database than several small, disjoint ones. So is there a way to have opengrok work with multiple directories, and more importantly, do filtering to avoid files that are either temporary or ignorable, and to do this via configuration? Either that, or better yet configure it so that opengrok goes by a list of files to index (so that say a python script could do the heavy lifting of figuring out what to index and opengrok could pick up on that and use it)? thanks much, - sam -------------- next part -------------- An HTML attachment was scrubbed... URL: From Lubos.Kosco at Sun.COM Mon Nov 9 01:31:42 2009 From: Lubos.Kosco at Sun.COM (Lubos Kosco) Date: Mon, 09 Nov 2009 10:31:42 +0100 Subject: [opengrok] advanced configuration of opengrok In-Reply-To: References: Message-ID: <4AF7E17E.7060402@Sun.COM> sam griffith wrote: > Everyone, > > I've been playing around with opengrok while waiting for the release, > and was wondering if there was any way to configure it so that > multiple source directories were indexed, rather than one. The concept of projects works this way. Under SRC_ROOT everything is a "project" Project has a separate index and with current trunk dev version you can search multiple projects at once. With Solaris ZFS(tm) you can easily mount datasets per project and opengrok fully supports such mounts and searches them (rather than symlinks). Above has only one problem and that is , that this works only for one level depth of directories. > > I see how to do it for one directory (or setting up mirroring) but in > my environment things are relatively fragmented (ie: source in > multiple areas), and I'd rather have one master opengrok database than > several small, disjoint ones. Disjoint ? Please tell us a use case to show why this is a problem(multi project search is in dev trunk and works nicely afaik and having more index dbs only gets you rid of one point of failure ;) ). > > So is there a way to have opengrok work with multiple directories, and > more importantly, do filtering to avoid files that are either > temporary or ignorable, and to do this via configuration? only using -i as Bruce suggested in OpenGrok script this is achieved using variable IGNORE_PATTERNS We try to target OpenGrok to be able to index any kind of file, so if there is a problem with some file, we'd like to know about it! If I compare 0.7 - I was able to remove all my problematic files from -i that failed in 0.5 ... with 0.8 this will be even better. When there is a problem with a file, it will be most probably skipped and the problem is reported as warning message and appropriate stack trace. last week we tested OpenGrok on clone of src.opensolaris.org and I really liked it ... thanks for the feedback, if some other folks tried out development trunk recently we'd like to hear from them too! Lubos > > Either that, or better yet configure it so that opengrok goes by a > list of files to index (so that say a python script could do the heavy > lifting of figuring out what to index and opengrok could pick up on > that and use it)? > > thanks much, > > - sam > > sam griffith wrote: > > Upon release I will update the install and user page > (it's really only 2 steps at the moment to setup > opengrok ;) ) > > I hope the release should be out any moment > > > > thanks much lubos, I'll follow the roadmap page closely. > > > From Lubos.Kosco at Sun.COM Fri Nov 13 06:02:37 2009 From: Lubos.Kosco at Sun.COM (Lubos Kosco) Date: Fri, 13 Nov 2009 15:02:37 +0100 Subject: [opengrok] Announcing OpenGrok 0.8 RC1 ! Message-ID: <4AFD66FD.1090903@Sun.COM> Hello all we're proudly announcing the release candidate 1 for opengrok 0.8, get it here: http://hub.opensolaris.org/bin/download/Project+opengrok/files/opengrok%2D0.8%2Drc1.tar.gz or in SVR4 form http://hub.opensolaris.org/bin/download/Project+opengrok/files/OSOLopengrok%2D0.8%2Drc1.pkg Rough draft of new features: - javadb history cache (gives dir history, file listing per changesets, etc.) - multiple project search - upgraded lucene to 2.4.1 - improved OpenGrok script (2 commands should be enough to get your sources indexed and running in tomcat/glassfish : ./OpenGrok deploy ; ./OpenGrok index ) - auto generated opensearch (after a search you get a generated header with appropriate projects selected, so you can easily add it to your search providers) - several UI improvements (line # toggle, line # is a link now, hover over revision in annotate shows message, show/hide files touched by changeset, doubleclicking/Enter on project takes you to its xref) ... Note , that you SHOULD reindex from scratch, for javadb historycache setup read http://src.opensolaris.org/source/xref/opengrok/trunk/README.txt#129 More bugs fixed here(just the ones tagged with closed in 0.8, there were definitely more): http://defect.opensolaris.org/bz/buglist.cgi?query_format=advanced&bug_status=RESOLVED&bug_status=VERIFIED&bug_status=CLOSED&product=opengrok&target_milestone=0.8 Please report your bugs in this forum, or preferably using http://defect.opensolaris.org Thanks in advance for your help / patches / feedback Trond, Knuth, Lubos, Jorgen, Jan, ... ( https://www.ohloh.net/p/opengrok/contributors ) P.S. more info about commits and some statistics data about project: https://www.ohloh.net/p/opengrok/commits From Vladimir.Kotal at Sun.COM Wed Nov 18 06:42:14 2009 From: Vladimir.Kotal at Sun.COM (Vladimir Kotal) Date: Wed, 18 Nov 2009 15:42:14 +0100 Subject: [opengrok] OpenGrok stickers Message-ID: <4B0407C6.1080301@sun.com> With the upcoming release I think it's fair to ask: OpenGrok stickers anyone ? I'd like couple of those to put on our internal servers running OpenGrok instances. v. From sobotkap at gmail.com Wed Nov 18 10:37:04 2009 From: sobotkap at gmail.com (Petr Sobotka) Date: Wed, 18 Nov 2009 19:37:04 +0100 Subject: [opengrok] Announcing OpenGrok 0.8 RC1 ! In-Reply-To: <4AFD66FD.1090903@Sun.COM> References: <4AFD66FD.1090903@Sun.COM> Message-ID: <680177400911181037u66d7f3d8q87f8286cfc722209@mail.gmail.com> Hello OpenGrok gurus, Which version of Glassfish should be used with the rc? I use Sun Java System Application Server 9.1_02 and when I deploy source.war it complains about this: Deploying application in domain failed; Error loading deployment descriptors for module [source] Line 1 Column 1 -- Deployment descriptor file WEB-INF/web.xml in archive [source]. Content is not allowed in prolog. Error loading deployment descriptors for module [source] Line 1 Column 1 -- Deployment descriptor file WEB-INF/web.xml in archive [source]. Content is not allowed in prolog. In attachments you can see my web.xml. This version of glassfish (and it's settings -mostly default) is working with opengrok-0.7 without any problem. -- Cheers, Petr Sobotka aka Pietro 2009/11/13 Lubos Kosco : > Hello all > > we're proudly announcing the release candidate 1 for opengrok 0.8, get it > here: > > http://hub.opensolaris.org/bin/download/Project+opengrok/files/opengrok%2D0.8%2Drc1.tar.gz > or in SVR4 form > http://hub.opensolaris.org/bin/download/Project+opengrok/files/OSOLopengrok%2D0.8%2Drc1.pkg > > Rough draft of new features: > - javadb history cache (gives dir history, file listing per changesets, > etc.) > - multiple project search > - upgraded lucene to ?2.4.1 > - improved OpenGrok script (2 commands should be enough to get your sources > indexed and running in tomcat/glassfish : ?./OpenGrok deploy ; ./OpenGrok > index ) > - auto generated opensearch (after a search you get a generated header with > appropriate projects selected, so you can easily add it to your search > providers) > - several UI improvements (line # toggle, line # is a link now, hover over > revision in annotate shows message, show/hide files touched by changeset, > doubleclicking/Enter on project takes you to its xref) > ... > > Note , that you SHOULD reindex from scratch, for javadb historycache setup > read http://src.opensolaris.org/source/xref/opengrok/trunk/README.txt#129 > > More bugs fixed here(just the ones tagged with closed in 0.8, there were > definitely more): > http://defect.opensolaris.org/bz/buglist.cgi?query_format=advanced&bug_status=RESOLVED&bug_status=VERIFIED&bug_status=CLOSED&product=opengrok&target_milestone=0.8 > > Please report your bugs in this forum, or preferably using > ?http://defect.opensolaris.org > > Thanks in advance for your help / patches / feedback > Trond, Knuth, Lubos, Jorgen, Jan, ... ( > https://www.ohloh.net/p/opengrok/contributors ) > > P.S. more info about commits and some statistics data about project: > https://www.ohloh.net/p/opengrok/commits > _______________________________________________ > opengrok-discuss mailing list > opengrok-discuss at opensolaris.org > http://mail.opensolaris.org/mailman/listinfo/opengrok-discuss > -------------- next part -------------- A non-text attachment was scrubbed... Name: web.xml Type: text/xml Size: 3953 bytes Desc: not available URL: From Lubos.Kosco at Sun.COM Thu Nov 19 00:41:28 2009 From: Lubos.Kosco at Sun.COM (Lubos Kosco) Date: Thu, 19 Nov 2009 09:41:28 +0100 Subject: [opengrok] Announcing OpenGrok 0.8 RC1 ! In-Reply-To: <680177400911181037u66d7f3d8q87f8286cfc722209@mail.gmail.com> References: <4AFD66FD.1090903@Sun.COM> <680177400911181037u66d7f3d8q87f8286cfc722209@mail.gmail.com> Message-ID: <4B0504B8.8050809@Sun.COM> Your xml is for some unknown reason missing (mistyped?) "<" at the beginning of first line of file ... (it should be , not ?xml version="1.0" encoding="UTF-8"?> ) hmm ? L Petr Sobotka wrote: > Hello OpenGrok gurus, > > Which version of Glassfish should be used with the rc? > > I use Sun Java System Application Server 9.1_02 and when I deploy > source.war it complains about this: > > Deploying application in domain failed; Error loading deployment > descriptors for module [source] Line 1 Column 1 -- Deployment > descriptor file WEB-INF/web.xml in archive [source]. Content is not > allowed in prolog. Error loading deployment descriptors for module > [source] Line 1 Column 1 -- Deployment descriptor file WEB-INF/web.xml > in archive [source]. Content is not allowed in prolog. > > In attachments you can see my web.xml. > > This version of glassfish (and it's settings -mostly default) is > working with opengrok-0.7 without any problem. > > > ------------------------------------------------------------------------ > > _______________________________________________ > opengrok-discuss mailing list > opengrok-discuss at opensolaris.org > http://mail.opensolaris.org/mailman/listinfo/opengrok-discuss From vasanth.manickam at gs.com Thu Nov 19 03:06:46 2009 From: vasanth.manickam at gs.com (Vasanth) Date: Thu, 19 Nov 2009 03:06:46 PST Subject: [opengrok] Autocomplete on 0.8 Message-ID: <489015863.171258628836443.JavaMail.Twebapp@sf-app1> On the earlier version I used to use a prototype based script which used to autocomplete/suggest when I started typing in any of the search fields.. It broke on 0.8 as it has conflicts with jquery. Was wondering if there are any plans to add this feature using jquery? Vasanth -- This message posted from opensolaris.org From Lubos.Kosco at Sun.COM Thu Nov 19 04:01:55 2009 From: Lubos.Kosco at Sun.COM (Lubos Kosco) Date: Thu, 19 Nov 2009 13:01:55 +0100 Subject: [opengrok] Autocomplete on 0.8 In-Reply-To: <489015863.171258628836443.JavaMail.Twebapp@sf-app1> References: <489015863.171258628836443.JavaMail.Twebapp@sf-app1> Message-ID: <4B0533B3.5060302@Sun.COM> Vasanth wrote: > On the earlier version I used to use a prototype based script which used to autocomplete/suggest when I started typing in any of the search fields.. > > It broke on 0.8 as it has conflicts with jquery. Was wondering if there are any plans to add this > feature using jquery? > Yes, we plan to do that for either next or following versions. Note that we plan to release more versions quicker in future (announcement pending ;) ) subscribe to http://defect.opensolaris.org/bz/show_bug.cgi?id=1067 to get more updates on when it will be in trunk -- L > Vasanth > From sobotkap at gmail.com Thu Nov 19 04:44:59 2009 From: sobotkap at gmail.com (Petr Sobotka) Date: Thu, 19 Nov 2009 13:44:59 +0100 Subject: [opengrok] Announcing OpenGrok 0.8 RC1 ! In-Reply-To: <4B0504B8.8050809@Sun.COM> References: <4AFD66FD.1090903@Sun.COM> <680177400911181037u66d7f3d8q87f8286cfc722209@mail.gmail.com> <4B0504B8.8050809@Sun.COM> Message-ID: <680177400911190444h38047bm531e3346013a5350@mail.gmail.com> Thanks a lot Lubosi, It's always the most simple and stupid mistake, which I can't find. ;-) By the way, RC is working quite well. -- Cheers, Petr Sobotka aka Pietro 2009/11/19 Lubos Kosco : > Your xml is for some unknown reason missing (mistyped?) > "<" > at the beginning of first line of file ?... > (it should be ? , not ? ?xml > version="1.0" encoding="UTF-8"?> ?) > > hmm ? > L > > Petr Sobotka wrote: >> >> Hello OpenGrok gurus, >> >> Which version of Glassfish should be used with the rc? >> >> I use Sun Java System Application Server 9.1_02 and when I deploy >> source.war it complains about this: >> >> Deploying application in domain failed; Error loading deployment >> descriptors for module [source] Line 1 Column 1 -- Deployment >> descriptor file WEB-INF/web.xml in archive [source]. Content is not >> allowed in prolog. Error loading deployment descriptors for module >> [source] Line 1 Column 1 -- Deployment descriptor file WEB-INF/web.xml >> in archive [source]. Content is not allowed in prolog. >> >> In attachments you can see my web.xml. >> >> This version of glassfish (and it's settings -mostly default) is >> working with opengrok-0.7 without any problem. >> >> ?------------------------------------------------------------------------ >> >> _______________________________________________ >> opengrok-discuss mailing list >> opengrok-discuss at opensolaris.org >> http://mail.opensolaris.org/mailman/listinfo/opengrok-discuss > > From chris at dtzq.com Thu Nov 19 08:00:42 2009 From: chris at dtzq.com (Chris Schaefer) Date: Thu, 19 Nov 2009 11:00:42 -0500 Subject: [opengrok] Announcing OpenGrok 0.8 RC1 ! In-Reply-To: <4AFD66FD.1090903@Sun.COM> References: <4AFD66FD.1090903@Sun.COM> Message-ID: Great work on this RC -- I was very happy to see how easy it was to roll out a new instance with multiple projects vs. older releases -c On Fri, Nov 13, 2009 at 9:02 AM, Lubos Kosco wrote: > Hello all > > we're proudly announcing the release candidate 1 for opengrok 0.8, get it > here: > > http://hub.opensolaris.org/bin/download/Project+opengrok/files/opengrok%2D0.8%2Drc1.tar.gz > or in SVR4 form > http://hub.opensolaris.org/bin/download/Project+opengrok/files/OSOLopengrok%2D0.8%2Drc1.pkg > > Rough draft of new features: > - javadb history cache (gives dir history, file listing per changesets, > etc.) > - multiple project search > - upgraded lucene to ?2.4.1 > - improved OpenGrok script (2 commands should be enough to get your sources > indexed and running in tomcat/glassfish : ?./OpenGrok deploy ; ./OpenGrok > index ) > - auto generated opensearch (after a search you get a generated header with > appropriate projects selected, so you can easily add it to your search > providers) > - several UI improvements (line # toggle, line # is a link now, hover over > revision in annotate shows message, show/hide files touched by changeset, > doubleclicking/Enter on project takes you to its xref) > ... > > Note , that you SHOULD reindex from scratch, for javadb historycache setup > read http://src.opensolaris.org/source/xref/opengrok/trunk/README.txt#129 > > More bugs fixed here(just the ones tagged with closed in 0.8, there were > definitely more): > http://defect.opensolaris.org/bz/buglist.cgi?query_format=advanced&bug_status=RESOLVED&bug_status=VERIFIED&bug_status=CLOSED&product=opengrok&target_milestone=0.8 > > Please report your bugs in this forum, or preferably using > ?http://defect.opensolaris.org > > Thanks in advance for your help / patches / feedback > Trond, Knuth, Lubos, Jorgen, Jan, ... ( > https://www.ohloh.net/p/opengrok/contributors ) > > P.S. more info about commits and some statistics data about project: > https://www.ohloh.net/p/opengrok/commits > _______________________________________________ > opengrok-discuss mailing list > opengrok-discuss at opensolaris.org > http://mail.opensolaris.org/mailman/listinfo/opengrok-discuss > From Trond.Norbye at Sun.COM Thu Nov 19 11:53:12 2009 From: Trond.Norbye at Sun.COM (Trond Norbye) Date: Thu, 19 Nov 2009 20:53:12 +0100 Subject: [opengrok] OpenGrok 0.8 Released Message-ID: <4B05A228.6020208@sun.com> OPENGROK 0.8 RELEASE NOTES OpenGrok is a wicked fast source code browser. http://www.opensolaris.org/os/project/opengrok/ OpenGrok is a fast and usable source code search and cross reference engine. It helps you search, cross-reference and navigate your source tree. It can understand various program file formats (c, c++, c#, java, sh, ...) and version control histories like (Mercurial, Git, SCCS, RCS, CVS, Subversion, Teamware, ClearCase, Perforce, Monotone and Bazaar.) In other words it lets you grok (profoundly understand) the open source, hence the name OpenGrok. It is written in Java. Since OpenGrok 0.7 was released October 17, 2008 a lot of features and fixes has been incorporated into OpenGrok in almost 300 commits for the 0.8 release. FEATURES * Support more source code repository backends: o Bazaar o Monotone * Support for more languages: o Fortran o Detect C++ keywords o Parse C# files with the C analyzer * Search through multiple projects at the same time * Possibility to register an opengrok search as a search engine(provider) in Firefox(Internet Explorer) * History cache stored in Java DB * Simplified installation & setup. Improved user interface. BUG FIXES * Bug #405: Mercurial history parser may easily get out of sync * Bug #2243: Show date and time of the last index update * Bug #3401: C analyzer recognizes C++ keywords * Bug #3624: History cache should be stored in Java DB * Bug #4154: History cache should be created automatically for new repositories * Bug #4505: resource leakage of ctags processes if started from the agent * Bug #4580: The agent tries to create the repositories on the client side * Bug #5826: "remote" subversion repositories no longer detected * Bug #6658: rss.jsp generates ill-formed XML * Bug #9468: history of renamed files is lost (mercurial) - use -f only for files * Bug #10440: Skip files with no sections or empty section name string table * Bug #10442: zip analyzer fails to parse odps * Bug #11661: Invalid author link when revision has no author * Bug #11662: No author not handled by JDBCHistoryCache * Bug #11663: Failure when commit message exceeds ~32K * Bug #11664: StringIndexOutOfBoundsException in MercurialHistoryParser * Bug #11886: set no word limit for indexing of files (can result in out of memory errors!) * Bug #11896: indexer chokes on fifos * Bug #12029: Check the first 1MB of the file * Bug #12081: History not returned for uncached repositories when using JDBCHistoryCache * Bug #12324: history view should not contain lists of files THE ROAD AHEAD A tentative roadmap for OpenGrok can be found here: http://www.opensolaris.org/os/project/opengrok/Roadmap/ As of OpenGrok 0.8 we will change the release model to the train model and start with quarterly releases. CONTRIBUTORS The following people contributed to this release since 0.7. Note that this is just a summary of how many changes each person made which doesn't necessarily reflect how significant each change was. (inspect the history log with "|hg log -v -r 0.7:tip|" to get all details) 121 Knut Anders Hatlen 69 Trond Norbye 50 Lubos Kosco 39 Jorgen Austvik 4 Jan Berg 4 Peter Bray 1 Scott Halstead -------------- next part -------------- An HTML attachment was scrubbed... URL: From vasanth.manickam at gs.com Fri Nov 20 09:29:41 2009 From: vasanth.manickam at gs.com (Vasanth) Date: Fri, 20 Nov 2009 09:29:41 PST Subject: [opengrok] Multiple findbug links/pattern Message-ID: <1195154048.431258738211214.JavaMail.Twebapp@sf-app1> Trying out 0.8.. really like it so far.. Ok we have various meta data in our commit logs pointing to different bug tracking system etc.. Would be nice if we can specify multiple bug patterns with different urls for each of them... Vasanth -- This message posted from opensolaris.org From Lubos.Kosco at Sun.COM Mon Nov 23 20:00:55 2009 From: Lubos.Kosco at Sun.COM (Lubos Kosco) Date: Tue, 24 Nov 2009 05:00:55 +0100 Subject: [opengrok] Multiple findbug links/pattern In-Reply-To: <1195154048.431258738211214.JavaMail.Twebapp@sf-app1> References: <1195154048.431258738211214.JavaMail.Twebapp@sf-app1> Message-ID: <4B0B5A77.8000305@Sun.COM> Vasanth wrote: > Trying out 0.8.. really like it so far.. > Ok we have various meta data in our commit logs pointing to different bug tracking system etc.. Would be nice if we can specify multiple bug patterns with different urls for each of them... > > Vasanth > Can you please file this as a bug into http://defect.opensolaris.org ? thank you Lubos From Vasanth.Manickam at gs.com Tue Nov 24 01:43:02 2009 From: Vasanth.Manickam at gs.com (Manickam, Vasanth) Date: Tue, 24 Nov 2009 09:43:02 +0000 Subject: [opengrok] Multiple findbug links/pattern In-Reply-To: <4B0B5A77.8000305@Sun.COM> References: <1195154048.431258738211214.JavaMail.Twebapp@sf-app1> <4B0B5A77.8000305@Sun.COM> Message-ID: <1043F8BBC6A8EC4CBEEF787CFCEA140310463F7AF2@GSCMEUP01EX.firmwide.corp.gs.com> Done... Bug 12856 -----Original Message----- From: Lubos.Kosco at Sun.COM [mailto:Lubos.Kosco at Sun.COM] Sent: Tuesday, November 24, 2009 4:01 AM To: Manickam, Vasanth Cc: opengrok-discuss at opensolaris.org Subject: Re: [opengrok] Multiple findbug links/pattern Vasanth wrote: > Trying out 0.8.. really like it so far.. > Ok we have various meta data in our commit logs pointing to different bug tracking system etc.. Would be nice if we can specify multiple bug patterns with different urls for each of them... > > Vasanth > Can you please file this as a bug into http://defect.opensolaris.org ? thank you Lubos