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

Update github_commit table to use GraphQL API #262

Closed
graza-io opened this issue May 17, 2023 · 2 comments
Closed

Update github_commit table to use GraphQL API #262

graza-io opened this issue May 17, 2023 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@graza-io
Copy link
Contributor

graza-io commented May 17, 2023

Is your feature request related to a problem? Please describe.
I'd like to use the GraphQL API when querying the table

Describe the solution you'd like
Update the table to use the GraphQL API

Describe alternatives you've considered
n/a

Additional context
For any fields that have paging, consider implementing that field as another table to avoid excess API calls (as per https://steampipe.io/docs/develop/plugin-release-checklist#data-ingestion).

New columns

  • short_sha
  • author
  • committer
  • additions
  • deletions
  • changed_files
  • committed_via_web
  • commit_url
  • signature
  • status
  • tarball_url
  • zipball_url
  • tree_url
  • can_subscribe
  • subscription

Renamed columns

  • author_date => authored_date
  • committer_date => committed_date

Removed columns

  • verified - information can now be found in the signature column JSON.
  • comments_url
  • commit
  • files
  • html_url
  • parents
  • stats - now individual columns

Columns with data changes

  • url now has contents of previous fields html_url instead of rest api endpoint
@graza-io graza-io added the enhancement New feature or request label May 17, 2023
@graza-io graza-io self-assigned this May 17, 2023
@graza-io
Copy link
Contributor Author

95f5bf4

@cbruno10
Copy link
Contributor

cbruno10 commented Jun 16, 2023

Completed in 42680ef

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

When branches are created from issues, their pull requests are automatically linked.

2 participants