Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Change Log

## 2.7.1

⚙️ Updating experimental schemas.

## 2.7.0

🚀 Adding support for experimental schemas.
Expand Down
4 changes: 3 additions & 1 deletion cspell.config.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,8 @@
"confg",
"octocat",
"schemads",
"featuretoggles"
"featuretoggles",
"oldorg",
"oldrepo"
]
}
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ require (
github.com/bradleyfalzon/ghinstallation/v2 v2.17.0
github.com/google/go-github/v81 v81.0.0
github.com/grafana/grafana-plugin-sdk-go v0.290.0
github.com/grafana/schemads v0.0.1
github.com/grafana/schemads v0.0.5
github.com/influxdata/tdigest v0.0.1
github.com/pkg/errors v0.9.1
github.com/shurcooL/githubv4 v0.0.0-20260209031235-2402fdf4a9ed
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,8 @@ github.com/grafana/otel-profiling-go v0.5.1 h1:stVPKAFZSa7eGiqbYuG25VcqYksR6iWvF
github.com/grafana/otel-profiling-go v0.5.1/go.mod h1:ftN/t5A/4gQI19/8MoWurBEtC6gFw8Dns1sJZ9W4Tls=
github.com/grafana/pyroscope-go/godeltaprof v0.1.9 h1:c1Us8i6eSmkW+Ez05d3co8kasnuOY813tbMN8i/a3Og=
github.com/grafana/pyroscope-go/godeltaprof v0.1.9/go.mod h1:2+l7K7twW49Ct4wFluZD3tZ6e0SjanjcUUBPVD/UuGU=
github.com/grafana/schemads v0.0.1 h1:hw+8zJlZG/dFPbAlXs+PU86pwqG2tPO1mL8ws0S8/Do=
github.com/grafana/schemads v0.0.1/go.mod h1:i/iRKic1c9i/ZjApKe7+BDQjPhlQO7gWycVRu7x6c1U=
github.com/grafana/schemads v0.0.5 h1:nVDpWTb+NPHmUCOaqm38pwg+JDJxb28rd6j4+7kwYD4=
github.com/grafana/schemads v0.0.5/go.mod h1:i/iRKic1c9i/ZjApKe7+BDQjPhlQO7gWycVRu7x6c1U=
github.com/grpc-ecosystem/go-grpc-middleware/providers/prometheus v1.1.0 h1:QGLs/O40yoNK9vmy4rhUGBVyMf1lISBGtXRpsu/Qu/o=
github.com/grpc-ecosystem/go-grpc-middleware/providers/prometheus v1.1.0/go.mod h1:hM2alZsMUni80N33RBe6J0e423LB+odMj7d3EMP9l20=
github.com/grpc-ecosystem/go-grpc-middleware/v2 v2.3.3 h1:B+8ClL/kCQkRiU82d9xajRPKYMrB7E0MbtzWVi1K4ns=
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "grafana-github-datasource",
"version": "2.7.0",
"version": "2.7.1",
"private": true,
"description": "Grafana data source plugin for Github",
"repository": "github:grafana/github-datasource",
Expand Down
18 changes: 1 addition & 17 deletions pkg/github/schema.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,6 @@ var (
{Name: "organization", Root: true, Required: true},
}

projectTableParameters = []schemas.TableParameter{
{Name: "organization", Root: true, Required: false},
}

workflowUsageTableParameters = []schemas.TableParameter{
{Name: "organization", Root: true, Required: true},
{Name: "repository", DependsOn: []string{"organization"}, Required: true},
Expand Down Expand Up @@ -395,7 +391,7 @@ func getAllTables() []schemas.Table {
},
{
Name: normalizeTableNames(models.QueryTypeProjects),
TableParameters: projectTableParameters,
TableParameters: orgOnlyTableParameters,
Columns: []schemas.Column{
{Name: "number", Type: schemas.ColumnTypeInt64},
{Name: "title", Type: schemas.ColumnTypeString},
Expand All @@ -408,18 +404,6 @@ func getAllTables() []schemas.Table {
{Name: "short_description", Type: schemas.ColumnTypeString},
},
},
{
Name: normalizeTableNames(models.QueryTypeProjectItems),
TableParameters: projectTableParameters,
Columns: []schemas.Column{
{Name: "id", Type: schemas.ColumnTypeString},
{Name: "archived", Type: schemas.ColumnTypeBoolean},
{Name: "type", Type: schemas.ColumnTypeString},
{Name: "updated_at", Type: schemas.ColumnTypeDatetime},
{Name: "created_at", Type: schemas.ColumnTypeDatetime},
{Name: "closed_at", Type: schemas.ColumnTypeDatetime},
},
},
{
Name: normalizeTableNames(models.QueryTypeStargazers),
TableParameters: repoScopedTableParameters,
Expand Down
Loading
Loading