Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
milahu opened this issue Nov 6, 2021 · 1 comment
Open

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

milahu opened this issue Nov 6, 2021 · 1 comment

Comments

@milahu
Copy link

milahu commented Nov 6, 2021

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

@abubelinha
Copy link

abubelinha commented Dec 10, 2022

Same problem when sorting "recently updated" adminer's forks:

Link Owner Name Branch Stars Forks Open Issues Size Last Push
Link jrivero adminer master 1 0 0 8172 3 months ago
Link nevrax adminer master 0 0 0 8297 4 months ago
... ...

"last push" info is totally wrong.
Those forks have never been updated. They are as old as the original forked repository.

@abubelinha

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants