mischnic / python-ci

A lightweight CI-server with a web interface
MIT License
8 stars 1 forks source link

Use Github GraphQL api #45

Closed mischnic closed 6 years ago

mischnic commented 7 years ago

don't use library, has to be fast

mischnic commented 7 years ago

List commits:


{
  viewer {
    repository(name: "python-ci") {
      ref(qualifiedName: "master") {
        target {
          ... on Commit {
            history(first: 3) {
              edges {
                node {
                  oid 
                  messageHeadline
                  committedDate
                  url
                  author {
                    avatarUrl
                    name
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}