Skip to content

feat!: Migrate GitHub plugin to v2#1776

Merged
candiduslynx merged 60 commits intomainfrom
feature/github/new-plugin-sdk
Sep 20, 2022
Merged

feat!: Migrate GitHub plugin to v2#1776
candiduslynx merged 60 commits intomainfrom
feature/github/new-plugin-sdk

Conversation

@candiduslynx
Copy link
Copy Markdown
Contributor

@candiduslynx candiduslynx commented Sep 8, 2022

Summary


Use the following steps to ensure your PR is ready to be reviewed

  • Read the contribution guidelines 🧑‍🎓
  • Test locally on your own infrastructure
  • Run go fmt to format your code 🖊
  • Lint your changes via golangci-lint run 🚨 (install golangci-lint here)
  • Update or add tests 🧪
  • Ensure the status checks below are successful ✅

@candiduslynx candiduslynx requested a review from a team September 8, 2022 11:03
@candiduslynx candiduslynx linked an issue Sep 8, 2022 that may be closed by this pull request
@candiduslynx candiduslynx requested review from amanenk and removed request for a team September 8, 2022 11:03
@yevgenypats yevgenypats requested review from hermanschaaf and removed request for amanenk September 8, 2022 11:59
Copy link
Copy Markdown
Contributor

@hermanschaaf hermanschaaf left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I didn't review all the resources in great detail (I think we can merge and fix any issues as they come up). Overall it looks good 👍 I just left a couple of comments

Copy link
Copy Markdown
Contributor

@yevgenypats yevgenypats left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Given we have some more time for v2 release, let's introduce the new codegen. We only generate the structs and the resolvers should go into resource_fetch.go. See example - #1774

@hermanschaaf hermanschaaf changed the title chore: Move GitHub plugin to new SDK feat: Migrate GitHub plugin to v2 Sep 12, 2022
@hermanschaaf hermanschaaf changed the title feat: Migrate GitHub plugin to v2 feat!: Migrate GitHub plugin to v2 Sep 12, 2022
@candiduslynx candiduslynx force-pushed the feature/github/new-plugin-sdk branch from 51f3bc1 to cf0c4c1 Compare September 14, 2022 10:03
@candiduslynx candiduslynx force-pushed the feature/github/new-plugin-sdk branch from b72fb05 to 5155bcb Compare September 19, 2022 12:35
…/cloudquery into feature/github/new-plugin-sdk
@candiduslynx candiduslynx merged commit 217609b into main Sep 20, 2022
@candiduslynx candiduslynx deleted the feature/github/new-plugin-sdk branch September 20, 2022 12:41
kodiakhq bot pushed a commit that referenced this pull request Sep 21, 2022
🤖 I have created a release *beep* *boop*
---


## [0.1.11-pre.0](plugins/source/github-v0.1.10-pre.0...plugins/source/github/v0.1.11-pre.0) (2022-09-21)


### Features

* Migrate GitHub plugin to v2 ([#1776](#1776)) ([217609b](217609b))


### Bug Fixes

* **deps:** Update golang.org/x/oauth2 digest to 0ebed06 ([#1651](#1651)) ([c31b001](c31b001))
* **deps:** Update module github.com/cloudquery/cq-gen to v0.0.10 ([#1474](#1474)) ([b142e13](b142e13))
* **deps:** Update module github.com/cloudquery/cq-gen to v0.0.11 ([#1491](#1491)) ([5140bef](5140bef))
* **deps:** Update module github.com/cloudquery/cq-gen to v0.0.12 ([#1503](#1503)) ([a740719](a740719))
* **deps:** Update module github.com/cloudquery/cq-gen to v0.0.9 ([#1286](#1286)) ([67ac422](67ac422))
* Validate github config ([#1438](#1438)) ([8d37fc4](8d37fc4))

---
This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

automerge Automatically merge once required checks pass

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Move GitHub plugin to github.com/cloudquery/plugin-sdk

4 participants