-
Notifications
You must be signed in to change notification settings - Fork 779
Enforced use of projects in docker container #3461
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I always wondered how wide spread the project less use case is. This will serve as a sort of litmus test it seems. Why do you use project less setup ? The project less support in OpenGrok itself is not going anywhere, even though it causes bigger complexity internally. Possibly adding the support to the Docker |
It's got a lot to do with how our development process works now and how it has worked historically. We use Perforce as the main VCS system, and all of our development is done on that Perforce server (syncing the code for OpenGrok is something we manage outside the container at the moment). We maintain (too many) legacy branches of our software for different clients, and unfortunately the layout of the branches we have historically means there's no easy way to map it into a form where projects would be useful. Take this vastly simplified example:
Projects don't seem to make sense here - what would a project actually be? A release or dev branch? A component such as "gui" or "server"? Also, searches across all areas of the repository are fairly common for us, or are easily limited by file path searches (eg: We can re-map directories as part of our checkout step prior to indexing, but then we completely lose the utility of knowing where a search result actually is in the source repository that we have now. |
Understood, this makes sense. The fix is in progress. |
I was just thinking about this and what about having the whole p4 repo in one directory which would be considered as one "project"? Something like IMHO dropping the project less setup is the way to go forward. |
Currently we use OpenGrok 1.5.12 via the Docker image with the
INDEXER_FLAGS
environment variable set to-H -S -G -T 6
. I understand based on this comment that our removal of the-P
flag is no longer supported within the Docker container-based deployment, which essentially prevents us from upgrading to 1.6 or beyond.As far as I can tell, this leaves us with a number of options to keep our current configuration which doesn't use projects:
What is the overall plan for projects going forward - are projects going to be enforced? Is this removal of support limited to Docker? Are we likely to see the re-introduction of support for customising the indexer flags in a later release? I'd like to try and gauge whether it's worth us proceeding down the no-projects path any further, or if we would be better served by taking the leap and trying to figure out how to retrofit projects into our configuration (or repository layout is non-conducive to a sensible usage of projects, which is the main reason we've so far resisted it).
The text was updated successfully, but these errors were encountered: