Problem running in container for directories without any version control #4404
-
We have multiple directories with source code that does not belong into a version control system as it is only as a reference. The problem can easily be recreated by using any git repository and removing the OpenGrok somehow identifies the folder as using Perforce. These are the log messages:
I tried multiple ways to disable the mirroring and or not handling the directories as projects by using the following settings: docker-compose.yml:
mirror.yml:
I would be really grateful if someone could point me in the right direction on how to index directories without any version control. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
I tried to replicate with 1.12.14 but could not. The contents of The failed Perforce commands is just a red herring. These are run by the indexer to detect what kind of repository a directory is, it is opportunistic check. If this was not 1.12.14 then I'd say you are bumping into #4374, because the last command in the log was the indexer run with the |
Beta Was this translation helpful? Give feedback.
I tried to replicate with 1.12.14 but could not. The contents of
mirror.yml
are not relevant because withNOMIRROR=true
the mirroring is not done.The failed Perforce commands is just a red herring. These are run by the indexer to detect what kind of repository a directory is, it is opportunistic check.
If this was not 1.12.14 then I'd say you are bumping into #4374, because the last command in the log was the indexer run with the
--noIndex
option, however that was fixed in 1.12.11.