Skip to content
This repository was archived by the owner on Apr 7, 2025. It is now read-only.

Commit 33632f7

Browse files
committed
fix(stats): get the latest release by date rather than "last alphabetically"
1 parent e910aac commit 33632f7

9 files changed

+18
-18
lines changed

.github/actions/sync-data/src/stats-generator/queries/get-all-repos-for-org.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ const reposForOrgQuery = ({
3030
tags: refs(refPrefix: "refs/tags/") {
3131
totalCount
3232
}
33-
latestTag: refs(refPrefix: "refs/tags/", last: 1) {
33+
latestTag: refs(refPrefix: "refs/tags/", last: 1, , orderBy: {field: TAG_COMMIT_DATE, direction: ASC}) {
3434
nodes {
3535
id
3636
name

src/data/project-stats/newrelic-helm-charts.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
},
66
"releases": 38,
77
"latestRelease": {
8-
"name": "simple-nginx-1.1.1",
9-
"date": "2020-05-13T14:25:14Z"
8+
"name": "nri-bundle-0.4.0",
9+
"date": "2020-06-16T07:13:28Z"
1010
},
1111
"commits": 73,
1212
"lastSixMonthsCommitTotal": 73,

src/data/project-stats/newrelic-infrastructure-agent-puppet.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
},
66
"releases": 19,
77
"latestRelease": {
8-
"name": "v0.10.0",
9-
"date": "2020-03-05T09:41:21Z"
8+
"name": "0.10.0-legacy",
9+
"date": "2020-03-11T10:08:50Z"
1010
},
1111
"commits": 113,
1212
"lastSixMonthsCommitTotal": 2,

src/data/project-stats/newrelic-newrelic-unix-monitor.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
},
66
"releases": 8,
77
"latestRelease": {
8-
"name": "0.1.41",
9-
"date": "2019-01-11T03:05:24Z"
8+
"name": "0.1.7",
9+
"date": "2019-10-24T21:15:37Z"
1010
},
1111
"commits": 78,
1212
"lastSixMonthsCommitTotal": 2,

src/data/project-stats/newrelic-nr1-neon.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"date": "2020-04-02T01:22:40Z"
1010
},
1111
"commits": 288,
12-
"lastSixMonthsCommitTotal": 196,
12+
"lastSixMonthsCommitTotal": 195,
1313
"contributors": 9,
1414
"pullRequests": {
1515
"open": 2

src/data/project-stats/newrelic-nri-vmware-esxi.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
},
66
"releases": 8,
77
"latestRelease": {
8-
"name": "v1.0.1",
9-
"date": "2019-01-08T16:50:42Z"
8+
"name": "1.0.7",
9+
"date": "2019-08-27T16:19:37Z"
1010
},
1111
"commits": 22,
1212
"lastSixMonthsCommitTotal": 0,

src/data/project-stats/newrelic-opensource-website.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
{
22
"projectFullName": "newrelic/opensource-website",
33
"issues": {
4-
"open": 10
4+
"open": 11
55
},
66
"releases": 12,
77
"latestRelease": {
88
"name": "v1.0.1",
99
"date": "2020-06-17T03:41:16Z"
1010
},
11-
"commits": 764,
12-
"lastSixMonthsCommitTotal": 764,
11+
"commits": 765,
12+
"lastSixMonthsCommitTotal": 765,
1313
"contributors": 22,
1414
"pullRequests": {
1515
"open": 2
@@ -176,7 +176,7 @@
176176
"login": "nr-opensource-bot",
177177
"avatarUrl": "https://avatars0.githubusercontent.com/u/66321197?v=4",
178178
"htmlUrl": "https://github.com/nr-opensource-bot",
179-
"contributions": 12
179+
"contributions": 13
180180
},
181181
{
182182
"id": 6722433,

src/data/project-stats/newrelic-rpm.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
},
66
"releases": 359,
77
"latestRelease": {
8-
"name": "x2_1_7",
9-
"date": null
8+
"name": "6.11.0.365",
9+
"date": "2020-05-28T22:47:51Z"
1010
},
1111
"commits": 13758,
1212
"lastSixMonthsCommitTotal": 417,

src/data/project-stats/newrelic-video-agent-roku.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
},
66
"releases": 4,
77
"latestRelease": {
8-
"name": "v0.22.0",
9-
"date": "2020-01-14T14:16:41Z"
8+
"name": "1.0.5",
9+
"date": "2020-04-29T10:52:33Z"
1010
},
1111
"commits": 283,
1212
"lastSixMonthsCommitTotal": 123,

0 commit comments

Comments
 (0)