Skip to content

fix!: Rename domains c_name to cname#2635

Merged
erezrokah merged 4 commits intocloudquery:mainfrom
erezrokah:chore/codegen_drift_heroku
Oct 11, 2022
Merged

fix!: Rename domains c_name to cname#2635
erezrokah merged 4 commits intocloudquery:mainfrom
erezrokah:chore/codegen_drift_heroku

Conversation

@erezrokah
Copy link
Copy Markdown
Member

Summary

Related to #2189.

  1. Added codegen drift detection
  2. Moved generated resources under ../resources/services for consistency with other plugins (there's a follow up here to put each namespace in a separate directory, but didn't want to do too many changes)
  3. Moved plugin/plugin.go to resources/plugin/plugin.go. This is required so Go Releaser embeds the correct version of the plugin during release, see
    - -s -w -X github.com/cloudquery/cloudquery/plugins/{{ .Var.component }}/resources/plugin.Version={{.Version}}

@erezrokah erezrokah requested a review from a team October 11, 2022 14:54
@erezrokah erezrokah changed the title fix: Move plugin and resources to correct directories fix(Heroku): Move plugin and resources to correct directories Oct 11, 2022
@cq-bot cq-bot added the heroku label Oct 11, 2022
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.

Missing gen-code, otherwise LGTM 👍

@erezrokah erezrokah added the automerge Automatically merge once required checks pass label Oct 11, 2022
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.

Nice, thanks for doing the refactoring work as well 👍

@erezrokah erezrokah removed the automerge Automatically merge once required checks pass label Oct 11, 2022
@erezrokah
Copy link
Copy Markdown
Member Author

@erezrokah erezrokah changed the title fix(Heroku): Move plugin and resources to correct directories fix!: Rename domains c_name to cname Oct 11, 2022
@erezrokah erezrokah merged commit 70ff2dc into cloudquery:main Oct 11, 2022
@erezrokah erezrokah deleted the chore/codegen_drift_heroku branch October 11, 2022 15:28
shimonp21 added a commit that referenced this pull request Oct 12, 2022
🤖 I have created a release *beep* *boop*
---


##
[2.0.0](plugins-source-heroku-v1.0.1...plugins-source-heroku-v2.0.0)
(2022-10-12)


### ⚠ BREAKING CHANGES

* Rename domains `c_name` to `cname` (#2635)

### Bug Fixes

* **deps:** Update plugin-sdk for heroku to v0.12.10
([#2551](#2551))
([d0771ec](d0771ec))
* Rename domains `c_name` to `cname`
([#2635](#2635))
([70ff2dc](70ff2dc))
* Upgrade source SDK versions to v0.13.5
([#2610](#2610))
([611868e](611868e))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: shimonp21 <37939765+shimonp21@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants