Skip to content

[License] Extend Table support for showing the GitHub repository License information. #12

@chris-ramon

Description

@chris-ramon

Actual

Currently when running ./bin/start.sh it shows the table model with the License row displaying placeholder data as shown next:

(base) chris@chris:~/Projects/graphql-compatibility/compatibility-user-acceptance$ ./bin/start.sh 
┌────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐
│                                                                                                                            │
│  Metric                               Spec: https://…  Impl: https://…  Diff Ratio       Max Diff         Result           │
│ ────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── │
│  GitHub:                                                                                                                   │
│  License                              MIT              MIT              0%               0%               ✅               │
│  Number Of Stars                      10059            Loading...       Loading...       Loading...       Loading...       │
│  Number Of Issues Open                Loading...       Loading...       Loading...       Loading...       Loading...       │
│  Number Of Issues Closed              Loading...       Loading...       Loading...       Loading...       Loading...       │
│  Number Of Pull Requests Open         Loading...       Loading...       Loading...       Loading...       Loading...       │
│  Number Of Pull Requests Closed       Loading...       Loading...       Loading...       Loading...       Loading...       │
│  Number Of Forks                      Loading...       Loading...       Loading...       Loading...       Loading...       │
│  Last Commit Date                     Loading...       Loading...       Loading...       Loading...       Loading...       │
│  Number Of Contributors               Loading...       Loading...       Loading...       Loading...       Loading...       │
│  GraphQL Compatibility Keywords:                                                                                           │
│  Number Of Comments Open              Loading...       Loading...       Loading...       Loading...       Loading...       │
│  Number Of Comments Closed            Loading...       Loading...       Loading...       Loading...       Loading...       │
│  GraphQL:                                                                                                                  │
│  Specification Version                Loading...       Loading...       Loading...       Loading...       Loading...       │
│                                                                                                                            │
└────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘

(press enter to continue)

Expected

When running ./bin/start.sh, we want to to display the License row showing the correct information obtained from GitHub.

(base) chris@chris:~/Projects/graphql-compatibility/compatibility-user-acceptance$ ./bin/start.sh 
┌────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐
│                                                                                                                            │
│  Metric                               Spec: https://…  Impl: https://…  Diff Ratio       Max Diff         Result           │
│ ────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── │
│  GitHub:                                                                                                                   │
│  License                              MIT              MIT              0%               0%               ✅               │
│  Number Of Stars                      10059            Loading...       Loading...       Loading...       Loading...       │
│  Number Of Issues Open                Loading...       Loading...       Loading...       Loading...       Loading...       │
│  Number Of Issues Closed              Loading...       Loading...       Loading...       Loading...       Loading...       │
│  Number Of Pull Requests Open         Loading...       Loading...       Loading...       Loading...       Loading...       │
│  Number Of Pull Requests Closed       Loading...       Loading...       Loading...       Loading...       Loading...       │
│  Number Of Forks                      Loading...       Loading...       Loading...       Loading...       Loading...       │
│  Last Commit Date                     Loading...       Loading...       Loading...       Loading...       Loading...       │
│  Number Of Contributors               Loading...       Loading...       Loading...       Loading...       Loading...       │
│  GraphQL Compatibility Keywords:                                                                                           │
│  Number Of Comments Open              Loading...       Loading...       Loading...       Loading...       Loading...       │
│  Number Of Comments Closed            Loading...       Loading...       Loading...       Loading...       Loading...       │
│  GraphQL:                                                                                                                  │
│  Specification Version                Loading...       Loading...       Loading...       Loading...       Loading...       │
│                                                                                                                            │
└────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘

(press enter to continue)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions