nicoabie opened a new issue, #2942:
URL: https://github.com/apache/incubator-devlake/issues/2942

   ### Search before asking
   
   - [X] I had searched in the 
[issues](https://github.com/apache/incubator-devlake/issues?q=is%3Aissue) and 
found no similar issues.
   
   
   ### What happened
   
   Connected devlake to github, created the blueprint and the git extractor 
task failed.
   
   ### What you expected to happen
   
   I would expect it to fetch the GH information
   Also have a better log of what happened
   
   this is the json: I cannot share the PAT for security.
   if a permission is missing let me know and I can create a new PAT with that.
   there is no mention of which permissions are needed, it would be nice to 
have that list
   ```json
   {
     "id": 3,
     "createdAt": "2022-09-04T03:08:20.845Z",
     "updatedAt": "2022-09-04T03:10:14.092Z",
     "name": "ReMatter 1662260496518",
     "blueprintId": 2,
     "plan": [
       [
         {
           "plugin": "github",
           "options": {
             "repo": "Universe",
             "owner": "ReMatter",
             "connectionId": 2,
             "transformationRules": {
               "prType": "",
               "refdiff": null,
               "prComponent": "",
               "issueTypeBug": "",
               "issuePriority": "",
               "issueSeverity": "",
               "issueComponent": "",
               "issueTypeIncident": "",
               "issueTypeRequirement": ""
             }
           },
           "subtasks": [
             "collectApiIssues",
             "extractApiIssues",
             "collectApiPullRequests",
             "extractApiPullRequests",
             "collectApiComments",
             "extractApiComments",
             "collectApiEvents",
             "extractApiEvents",
             "collectApiPullRequestCommits",
             "extractApiPullRequestCommits",
             "collectApiPullRequestReviews",
             "extractApiPullRequestReviews",
             "CollectApiPrReviewCommentsMeta",
             "extractApiPrReviewComments",
             "collectApiMilestones",
             "extractMilestones",
             "collectAccounts",
             "extractAccounts",
             "collectAccountOrg",
             "ExtractAccountOrg",
             "enrichPullRequestIssues",
             "convertRepo",
             "convertIssues",
             "convertIssueLabels",
             "convertPullRequestCommits",
             "convertPullRequests",
             "convertPullRequestReviews",
             "convertPullRequestLabels",
             "convertPullRequestIssues",
             "convertIssueComments",
             "convertPullRequestComments",
             "convertMilestones",
             "convertAccounts"
           ]
         },
         {
           "plugin": "gitextractor",
           "options": {
             "url": "",
             "repoId": "github:GithubRepo:2:222375197"
           },
           "subtasks": null
         }
       ]
     ],
     "totalTasks": 2,
     "finishedTasks": 0,
     "beganAt": "2022-09-04T03:08:21.377Z",
     "finishedAt": null,
     "status": "TASK_FAILED",
     "message": "",
     "spentSeconds": 0,
     "stage": 1,
     "ID": 3
   }
   ```
   
   ### How to reproduce
   
   Connect devlake to github
   Create custom blueprint
   Run
   
   ### Anything else
   
   I tried it twice.
   It started and ran for a while
   
   ### Version
   
   v0.12.0
   
   ### Are you willing to submit PR?
   
   - [X] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to