Skip to content

wrong last push date - github api returns wrong data #64

@milahu

Description

@milahu

see https://techgaun.github.io/active-forks/#https://github.com/ileben/ShivaVG

actual

Link Owner Name Branch Stars Forks Open Issues Size Last Push
Link Ecognize ShivaVG master 12 6 10 1113 19 days ago

expected

last push was 2016-07-28 = 5 years ago, per https://github.com/Ecognize/ShivaVG/branches/all

shields: GitHub last commit

{
  "data": {
    "repository": {
      "createdAt": "2012-09-27T04:53:51Z",
      "pushedAt": "2021-10-17T20:07:27Z",
      "updatedAt": "2021-10-17T11:25:22Z",
      "refs": {
        "nodes": [
          {
            "target": {
              "authoredDate": "2016-07-28T00:15:03Z",
              "committedDate": "2016-07-28T00:15:03Z"
            }
          }
        ]
      }
    }
  }
}
{
  repository(name: "ShivaVG", owner: "Ecognize") {
    createdAt
    pushedAt
    updatedAt
    refs(last: 1, refPrefix: "refs/heads/") {
      nodes {
        target {
          ... on Commit {
            authoredDate
            committedDate
          }
        }
      }
    }
  }
}

also deep forks are not listed → #31

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions