Skip to content
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

use opengrok-sync to mirror+reindex in Docker image #3221

Closed
vladak opened this issue Sep 11, 2020 · 2 comments
Closed

use opengrok-sync to mirror+reindex in Docker image #3221

vladak opened this issue Sep 11, 2020 · 2 comments
Assignees

Comments

@vladak
Copy link
Member

vladak commented Sep 11, 2020

The Docker image can use opengrok-sync to perform repository sync and indexing instead of running opengrok-mirror and opengrok-indexer separately. The opengrok-mirror that will be run via opengrok-sync will use -I to avoid unnecessary indexer run.

@vladak vladak changed the title Provide repository mirroring capability in Docker image use opengrok-sync to mirror+reindex in Docker image Sep 11, 2020
@vladak
Copy link
Member Author

vladak commented Dec 3, 2020

The extra indexer flags passed via INDEXER_OPT environment variable need to be honored. Same for the NOMIRROR environment variable. Perhaps the opengrok-indexer and opengrok-mirror programs should be made aware of these.

@vladak
Copy link
Member Author

vladak commented Dec 14, 2020

Also, with the conversion to opengrok-sync the -P indexer option can no longer be overridden as the program assumes projects.

@vladak vladak self-assigned this Jan 5, 2021
vladak pushed a commit to vladak/OpenGrok that referenced this issue Feb 8, 2021
@vladak vladak closed this as completed in d728182 Feb 19, 2021
vladak pushed a commit that referenced this issue Apr 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant