Skip to content

Commit

Permalink
fix(stats): get the latest release by date rather than "last alphabet…
Browse files Browse the repository at this point in the history
…ically"
  • Loading branch information
jbeveland27 committed Jun 17, 2020
1 parent e910aac commit 33632f7
Show file tree
Hide file tree
Showing 9 changed files with 18 additions and 18 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ const reposForOrgQuery = ({
tags: refs(refPrefix: "refs/tags/") {
totalCount
}
latestTag: refs(refPrefix: "refs/tags/", last: 1) {
latestTag: refs(refPrefix: "refs/tags/", last: 1, , orderBy: {field: TAG_COMMIT_DATE, direction: ASC}) {
nodes {
id
name
Expand Down
4 changes: 2 additions & 2 deletions src/data/project-stats/newrelic-helm-charts.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
},
"releases": 38,
"latestRelease": {
"name": "simple-nginx-1.1.1",
"date": "2020-05-13T14:25:14Z"
"name": "nri-bundle-0.4.0",
"date": "2020-06-16T07:13:28Z"
},
"commits": 73,
"lastSixMonthsCommitTotal": 73,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
},
"releases": 19,
"latestRelease": {
"name": "v0.10.0",
"date": "2020-03-05T09:41:21Z"
"name": "0.10.0-legacy",
"date": "2020-03-11T10:08:50Z"
},
"commits": 113,
"lastSixMonthsCommitTotal": 2,
Expand Down
4 changes: 2 additions & 2 deletions src/data/project-stats/newrelic-newrelic-unix-monitor.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
},
"releases": 8,
"latestRelease": {
"name": "0.1.41",
"date": "2019-01-11T03:05:24Z"
"name": "0.1.7",
"date": "2019-10-24T21:15:37Z"
},
"commits": 78,
"lastSixMonthsCommitTotal": 2,
Expand Down
2 changes: 1 addition & 1 deletion src/data/project-stats/newrelic-nr1-neon.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"date": "2020-04-02T01:22:40Z"
},
"commits": 288,
"lastSixMonthsCommitTotal": 196,
"lastSixMonthsCommitTotal": 195,
"contributors": 9,
"pullRequests": {
"open": 2
Expand Down
4 changes: 2 additions & 2 deletions src/data/project-stats/newrelic-nri-vmware-esxi.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
},
"releases": 8,
"latestRelease": {
"name": "v1.0.1",
"date": "2019-01-08T16:50:42Z"
"name": "1.0.7",
"date": "2019-08-27T16:19:37Z"
},
"commits": 22,
"lastSixMonthsCommitTotal": 0,
Expand Down
8 changes: 4 additions & 4 deletions src/data/project-stats/newrelic-opensource-website.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
{
"projectFullName": "newrelic/opensource-website",
"issues": {
"open": 10
"open": 11
},
"releases": 12,
"latestRelease": {
"name": "v1.0.1",
"date": "2020-06-17T03:41:16Z"
},
"commits": 764,
"lastSixMonthsCommitTotal": 764,
"commits": 765,
"lastSixMonthsCommitTotal": 765,
"contributors": 22,
"pullRequests": {
"open": 2
Expand Down Expand Up @@ -176,7 +176,7 @@
"login": "nr-opensource-bot",
"avatarUrl": "https://avatars0.githubusercontent.com/u/66321197?v=4",
"htmlUrl": "https://github.com/nr-opensource-bot",
"contributions": 12
"contributions": 13
},
{
"id": 6722433,
Expand Down
4 changes: 2 additions & 2 deletions src/data/project-stats/newrelic-rpm.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
},
"releases": 359,
"latestRelease": {
"name": "x2_1_7",
"date": null
"name": "6.11.0.365",
"date": "2020-05-28T22:47:51Z"
},
"commits": 13758,
"lastSixMonthsCommitTotal": 417,
Expand Down
4 changes: 2 additions & 2 deletions src/data/project-stats/newrelic-video-agent-roku.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
},
"releases": 4,
"latestRelease": {
"name": "v0.22.0",
"date": "2020-01-14T14:16:41Z"
"name": "1.0.5",
"date": "2020-04-29T10:52:33Z"
},
"commits": 283,
"lastSixMonthsCommitTotal": 123,
Expand Down

0 comments on commit 33632f7

Please sign in to comment.