No scm info shown after adding project #4112
Replies: 8 comments
-
Retrieve fresh configuration from the web app |
Beta Was this translation helpful? Give feedback.
-
Thanks for the pointers. The projects in question lack a |
Beta Was this translation helpful? Give feedback.
-
There is definitely no cap. Is there something special about these undiscovered repos you can deduce by running basic |
Beta Was this translation helpful? Give feedback.
-
For the record, this is how a directory is considered to be a Git repository: So basically as long as it contains a |
Beta Was this translation helpful? Give feedback.
-
The only limit I can think of right now is the scanning depth limit - if the repo question is too deep down the directory tree, it might not be discovered with default settings. See |
Beta Was this translation helpful? Give feedback.
-
All repositories are in |
Beta Was this translation helpful? Give feedback.
-
Do you mean the repositories are actually directly underneath source root ? E.g. How does the output from the Are there any interesting messages in the web app logs ? |
Beta Was this translation helpful? Give feedback.
-
Yes, all of the problematic projects have a structure like I attempted to replicate this behavior in a fresh container and everything works fine. I am investigating the differences in configuration, will update if something relevant turns up but it might be that the issue lies somewhere in our config. |
Beta Was this translation helpful? Give feedback.
-
Describe the bug
Repositories added to an existing webapp do not show scm info. The repositories are indexed properly and .git folder is present.
Both
opengrok_tools.utils.opengrok.add_project
andopengrok-projadm -a
have the same behavior. The new repositories are indexed usingopengrok-reindex-project
.To Reproduce
Steps to reproduce the behavior:
Expected behavior
Scm info is shown for the new repostitory.
Screenshots
![og_scminfo](https://user-images.githubusercontent.com/95036761/159451179-ebfbd6b5-6e66-403a-aab7-b59b38532aa1.png)
New repositories are shown under Project, ones present upon initial indexing are shown properly.
Additional context
Running in Docker, version 1.7.30
Beta Was this translation helpful? Give feedback.
All reactions