Questions tagged [opengrok]

OpenGrok is a code search tool from Oracle.

78 questions
1
vote
1 answer

get username in opengrok from oauth2-proxy

I am trying to add oauth2-proxy to secure my opengrok instance. I am following the document mentioned here: https://developer.okta.com/blog/2022/07/14/add-auth-to-any-app-with-oauth2-proxy and my docker-compose.yaml file is as below:…
undefined
  • 3,464
  • 11
  • 48
  • 90
1
vote
1 answer

symbols comes twice in opengrok with Project configuration

I am setting up an opengrok with two project with different version (sudo opengrok-projadm -b /opengrok -a Hello) and (sudo opengrok-projadm -b /opengrok -a Hello_v1) And index the project individually - sudo opengrok-indexer -a…
user2798118
  • 385
  • 1
  • 2
  • 16
1
vote
1 answer

What is the correct configuration of OpenGrok REST API authentication?

According to the documentation, the REST API of OpenGrok is unauthenticated on localhost, but requires authentication from any other application. In my K8S setup I want to run OpenGrok (the standard opengrok/docker:1.7 one) as a container, but to do…
JohnXF
  • 972
  • 9
  • 22
1
vote
1 answer

Auto pull git repositories for opengrok indexing

I've installed opengrok from a docker image on an Ubuntu server. Inside /var/opengrok/src, I cloned the desired repositories. I'd like to auto pull and auto index changes periodically. I'm not at ease with cron, is there a way to tell opengrok to…
sinsedrix
  • 4,336
  • 4
  • 29
  • 53
1
vote
1 answer

Opengrok can't ignore patterns

Opengrok is able to provide searching already, but it failed to ignore files, even IGNORE_PATTERNS is defined. export IGNORE_PATTERNS="-i f:*.o -i f:*.out -i f:*.so -i f:*.class -i f:*.swp -i f:*.cache -i f:*.gitignore -i f:*.gitmodules -i…
Eric
  • 22,183
  • 20
  • 145
  • 196
1
vote
1 answer

search pattern for a particular string in opengrok

I have following text in a Makefile.tg #(subsystem static,distance_from_main_i686__tam-tg) This is file is indexed by OpenGrok (hopefully). I tried full search to look for that text in Makefile but failed for every query. Some queries that i tried:…
JamesWebbTelescopeAlien
  • 3,547
  • 2
  • 30
  • 51
1
vote
1 answer

Is it recommended to have separate wars for separate source trees in opengrok?

I have multiple source trees which can be grouped. Should i have a single war or multiple wars for each group? What are the benefits? Less indexing time? Thanks, xabhi
xabhi
  • 798
  • 1
  • 13
  • 30
1
vote
1 answer

Setting up opengrok for perforce

I am getting following error while setting up opengrok for perforce. -- must create client to access local files. Please suggest solutions
sanju
  • 31
  • 2
1
vote
1 answer

OpenGrok History Cache Null Ptr Exception

When indexing it tries to create the history cache for the perforce repo and fails with the following NULL ptr exception: 2015-01-16 10:30:32.178-0800 INFO t1 HistoryGuru.createCacheReal: Creating historycache for 1 repositories 2015-01-16…
Joey J
  • 1,355
  • 10
  • 26
1
vote
0 answers

OpenGrok History Search Returns 404

I was wondering what might cause a 404 error when attempting to search a file's history via OpenGrok, as in clicking the H beside the filename. Would there be a common problem that I might be overlooking? Cheers.
CoD
  • 53
  • 5
1
vote
1 answer

Using OpenGrok to index Microsoft Office documents etc

I was wondering if it is at all possible to use OpenGrok to index PPT, XLS, DOC etc formats. Would this have to be programmed by myself or is there already a plugin/method of doing this?
CoD
  • 53
  • 5
1
vote
1 answer

Opengrok indexing with CVS

I'm meeting some issues during indexing my project with OpenGrok. I've checked out my project from CVS and when I try to run indexing with this command ./OpenGrok index I've got the following logs Loading the default instance configuration…
1
vote
0 answers

Build OpenGrok source failed

I want to build OpenGrok from source following this link (https://github.com/OpenGrok/OpenGrok/wiki/How-to-build-OpenGrok-from-source). When I use ant command to build the OpenGrok, I met the following errors: BUILD…
damingzi
  • 676
  • 10
  • 28
1
vote
1 answer

OpenGrok: ClearCaseRepository not working (missing binaries?)

When starting Catalina run, I get the following warning: WARNING: ClearCaseRepository not working (missing binaries?): Any idea, anyone? Thanks, Avi
Avi Rosenfeld
  • 305
  • 3
  • 7
  • 19
1
vote
1 answer

Does opengrok really require a separate staging directory?

In the sample installation and configuration instructions, it is seemingly suggested that OpenGrok requires two staging areas, with the rationale being, that one area is an index-regeneration-work-area, and the other is a production area, and they…
cnst
  • 25,870
  • 6
  • 90
  • 122