You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@devlake.apache.org by GitBox <gi...@apache.org> on 2022/12/01 11:39:03 UTC

[GitHub] [incubator-devlake-website] Startrekzky commented on a diff in pull request #337: docs: how to collect data from self-signed gitlab

Startrekzky commented on code in PR #337:
URL: https://github.com/apache/incubator-devlake-website/pull/337#discussion_r1037006899


##########
docs/UserManuals/ConfigUI/GitLab.md:
##########
@@ -49,3 +49,28 @@ There are no transformation rules for GitLab repos.
 
 ### Step 4 - Setting Sync Frequency
 You can choose how often you would like to sync your data in this step by selecting a sync frequency option or enter a cron code to specify your prefered schedule.
+
+
+## FAQ
+
+### How to collect data from Gitlab server with Self-Signed Certificate
+There are two symptoms would exhibit when trying to collect data from a private Gitlab server with a Self-Signed certificate:
+
+1. "Test Connection" report error, this can be solved by setting the environment variable `IN_SECURE_SKIP_VERIFY=true` for the `devlake` container
+2. "GitExtractor" fails to clone the repository due to certificate verification, sadly, both `gogit` and `git2go` that we are using don't seem to support insecure HTTPS at all.

Review Comment:
   sadly, neither `gogit` nor `git2go` that we are using supports insecure HTTPS.



##########
docs/UserManuals/ConfigUI/GitLab.md:
##########
@@ -49,3 +49,28 @@ There are no transformation rules for GitLab repos.
 
 ### Step 4 - Setting Sync Frequency
 You can choose how often you would like to sync your data in this step by selecting a sync frequency option or enter a cron code to specify your prefered schedule.
+
+
+## FAQ
+
+### How to collect data from Gitlab server with Self-Signed Certificate
+There are two symptoms would exhibit when trying to collect data from a private Gitlab server with a Self-Signed certificate:
+
+1. "Test Connection" report error, this can be solved by setting the environment variable `IN_SECURE_SKIP_VERIFY=true` for the `devlake` container

Review Comment:
   "Test Connection" error. This can be solved by ...



##########
docs/UserManuals/ConfigUI/GitLab.md:
##########
@@ -49,3 +49,28 @@ There are no transformation rules for GitLab repos.
 
 ### Step 4 - Setting Sync Frequency
 You can choose how often you would like to sync your data in this step by selecting a sync frequency option or enter a cron code to specify your prefered schedule.
+
+
+## FAQ
+
+### How to collect data from Gitlab server with Self-Signed Certificate
+There are two symptoms would exhibit when trying to collect data from a private Gitlab server with a Self-Signed certificate:

Review Comment:
   There might be two problems when trying to collect data from a private GitLab server with a self-signed certificate:



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@devlake.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org