Replies: 2 comments 19 replies
-
Yep, Perforce is not present in the image, see https://github.com/oracle/opengrok/blob/master/Dockerfile and yes, the history/annotations are greyed out if the repository cannot provide them in any way. Now, I am not sure whether you can actually distribute Perforce in a Docker image listed on Docker Hub. |
Beta Was this translation helpful? Give feedback.
14 replies
-
What is the return code of '/usr/bin/p4 help' ?
…________________________________________
From: kee98 ***@***.***>
Sent: Tuesday, November 8, 2022 5:46 AM
To: oracle/opengrok
Cc: Vladimir Kotal; Comment
Subject: [External] : Re: [oracle/opengrok] using opengrok/docker image for perforce repository (Discussion #4090)
I tried merging your change in my local and build the image. Now I can see following error while running this command:
java -Dorg.opengrok.indexer.history.Perforce=/usr/bin/p4 -jar /opengrok/lib/opengrok.jar -H -S -P -s /opengrok/src -d /opengrok/data
log:
WARNING: Command '/usr/bin/p4' does not work. Some operations with Perforce repositories will fail as a result.
However, /usr/bin/p4 exists:
# /usr/bin/p4 info
User name: name
Client name: opengrok-dev-stage-xxx-02
Client host: opengrok-c5898674f-m2wvf
...
...
—
Reply to this email directly, view it on GitHub<https://urldefense.com/v3/__https://github.com/oracle/opengrok/discussions/4090*discussioncomment-4082833__;Iw!!ACWV5N9M2RV99hQ!IAGYosu7dd0gcRMtCnn-33YTV0CdJt2uf2pGBL3LgJ0NJTfYUDrPboehlOybGcRIGfD6YhrcyI7aULx4ibfvDYAm4lv2$>, or unsubscribe<https://urldefense.com/v3/__https://github.com/notifications/unsubscribe-auth/AAWMMDHXS4KJB6BGKLT6PB3WHHLK3ANCNFSM6AAAAAARXD4RTU__;!!ACWV5N9M2RV99hQ!IAGYosu7dd0gcRMtCnn-33YTV0CdJt2uf2pGBL3LgJ0NJTfYUDrPboehlOybGcRIGfD6YhrcyI7aULx4ibfvDf1HCwvW$>.
You are receiving this because you commented.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am working on setting up new opengrok instance for our organization and as obvious my preference is using the Docker version.
I followed all the steps and able to setup the UI. Even I am able to see the perforce project under a "Project" section on the home dashboard. Search, explore repo etc works well. However, History and Annotation links are always disabled. Is this because, docker image doesn't support perforce? If so, any suggestion if we can tweak some code (patch to make it work) to make it work for perforce. I also see perforce folder not created under /opengrok/data/historycache folder (whereas for git projects, it has created the folder).
Thanks in advance.
Beta Was this translation helpful? Give feedback.
All reactions