You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@devlake.apache.org by zk...@apache.org on 2022/11/14 13:23:08 UTC

[incubator-devlake-website] branch main updated (9f0811c3a -> bf85a9935)

This is an automated email from the ASF dual-hosted git repository.

zky pushed a change to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-devlake-website.git


    from 9f0811c3a docs: use refdiff with dora
     new 16803c91d docs: explain how to use graphql in github
     new bf85a9935 docs: fix for review

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 docs/UserManuals/ConfigUI/GitHub.md | 11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)


[incubator-devlake-website] 02/02: docs: fix for review

Posted by zk...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

zky pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-devlake-website.git

commit bf85a993514fa1bef3be55d4bd0c08461990dde4
Author: linyh <ya...@meri.co>
AuthorDate: Mon Nov 14 20:43:51 2022 +0800

    docs: fix for review
---
 docs/UserManuals/ConfigUI/GitHub.md | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/docs/UserManuals/ConfigUI/GitHub.md b/docs/UserManuals/ConfigUI/GitHub.md
index eb5ae80e9..17697899a 100644
--- a/docs/UserManuals/ConfigUI/GitHub.md
+++ b/docs/UserManuals/ConfigUI/GitHub.md
@@ -25,10 +25,10 @@ GitHub personal access tokens are required to add a connection.
 
 #### Use Graphql APIs
 
-If you use `github.com` or your private GitHub Service supported, you could open this switcher to collect data more swiftly.
+If you are using `github.com` or your on-premise GitHub version supports GraphQL APIs, toggle on this setting to collect data quicker.
 
-- GraphQL APIs are 10+ times faster than REST APIs, but it may not be supported in GitHub on-premise versions. 
-- GraphQL only uses 1 token to collect data because it's quick enough.
+- GraphQL APIs are 10+ times faster than REST APIs, but they may not be supported in GitHub on-premise versions.
+- Instead of using multiple tokens to collect data, you can use ONLY ONE token because GraphQL APIs are quick enough.
 
 #### Proxy URL (Optional)
 If you are behind a corporate firewall or VPN you may need to utilize a proxy server. Enter a valid proxy server address on your network, e.g. `http://your-proxy-server.com:1080`


[incubator-devlake-website] 01/02: docs: explain how to use graphql in github

Posted by zk...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

zky pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-devlake-website.git

commit 16803c91d7f632761d112b7801ec73a0482f4f6d
Author: linyh <ya...@meri.co>
AuthorDate: Mon Nov 14 16:07:06 2022 +0800

    docs: explain how to use graphql in github
---
 docs/UserManuals/ConfigUI/GitHub.md | 11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)

diff --git a/docs/UserManuals/ConfigUI/GitHub.md b/docs/UserManuals/ConfigUI/GitHub.md
index 6d4eba2d7..eb5ae80e9 100644
--- a/docs/UserManuals/ConfigUI/GitHub.md
+++ b/docs/UserManuals/ConfigUI/GitHub.md
@@ -6,7 +6,7 @@ description: Config UI instruction for GitHub
 
 Visit config-ui: `http://localhost:4000`.
 ### Step 1 - Add Data Connections
-![github-add-data-connections](/img/ConfigUI/github-add-data-connections.png)
+![image](https://user-images.githubusercontent.com/3294100/201605649-1b973abe-2ea2-4f35-ba9a-ee22da3589b2.png)
 
 #### Connection Name
 Name your connection.
@@ -14,7 +14,7 @@ Name your connection.
 #### Endpoint URL
 This should be a valid REST API endpoint, eg. `https://api.github.com/`. The url should end with `/`.
 
-#### Auth Token(s)
+#### Basic Auth Token(s)
 GitHub personal access tokens are required to add a connection.
 - Learn about [how to create a GitHub personal access token](https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token). The following permissions are required for `Apache DevLake` to collect data from private repositories:
   - `repo:status`
@@ -23,6 +23,13 @@ GitHub personal access tokens are required to add a connection.
   - `read:org`
 - The data collection speed is relatively slow for GitHub since they have a **rate limit of [5,000 requests](https://docs.github.com/en/rest/overview/resources-in-the-rest-api#rate-limiting) per hour** (15,000 requests/hour if you pay for GitHub enterprise). You can accelerate the process by configuring _multiple_ personal access tokens. Please note that multiple tokens should be created by different GitHub accounts. Tokens belonging to the same GitHub account share the rate limit.
 
+#### Use Graphql APIs
+
+If you use `github.com` or your private GitHub Service supported, you could open this switcher to collect data more swiftly.
+
+- GraphQL APIs are 10+ times faster than REST APIs, but it may not be supported in GitHub on-premise versions. 
+- GraphQL only uses 1 token to collect data because it's quick enough.
+
 #### Proxy URL (Optional)
 If you are behind a corporate firewall or VPN you may need to utilize a proxy server. Enter a valid proxy server address on your network, e.g. `http://your-proxy-server.com:1080`