-
Notifications
You must be signed in to change notification settings - Fork 762
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
Docker script refactoring and rewrite to Python #3402
Conversation
f1c0740
to
3d75857
Compare
8c2ec3a
to
4e363f9
Compare
I used the opportunity and changed start.sh to use |
opengrok-web/src/main/java/org/opengrok/web/api/v1/controller/ProjectsController.java
Outdated
Show resolved
Hide resolved
Co-authored-by: Adam Hornáček <[email protected]>
Incidentally, #3421 describes a use case when project's repositories set is changed. This change does not support such use case even though it can be easily added. |
thanks @ahornace ! |
This change rafactors the scripts used for Docker. The initial motivation was to avoid the non-existent-configuration exception thrown by the web app during the initial startup of a container based on the opengrok image.
Some notable changes:
indexer
programThis is a step towards #3221.Eventually thestart.sh
script can be rewritten to Python and use native interfaces toopengrok-sync
,opengrok-deploy
.I used the opportunity to overhaul everything - the main Docker program is now based on the
opengrok-sync
and rewritten into Python.