Skip to content

feat: Small improvements#459

Merged
disq merged 5 commits intocloudquery:mainfrom
irmatov:small_improvements
Feb 2, 2022
Merged

feat: Small improvements#459
disq merged 5 commits intocloudquery:mainfrom
irmatov:small_improvements

Conversation

@irmatov
Copy link
Copy Markdown
Contributor

@irmatov irmatov commented Feb 1, 2022

  • Remove double import of a package
  • Rewrite Client.CheckForProviderUpdates test
    Rewrite the test so that it does not depend on database availability
    and network access to a git repo.
  • Add a unit test for Hub.CheckProviderUpdate
  • A few cleanups
    • introduce ProviderRepoName function
    • drop unused Hub.getLatestReleaseVersion

@github-actions github-actions bot added the feat label Feb 1, 2022
@irmatov irmatov marked this pull request as draft February 1, 2022 08:23
@irmatov irmatov marked this pull request as ready for review February 1, 2022 09:02
@irmatov irmatov requested review from disq and roneli February 1, 2022 10:31
Logger: logging.NewZHcLog(&zerolog.Logger, ""),
url: url,
providers: make(map[string]ProviderDetails),
PluginDirectory: filepath.Join(".", ".cq", "providers"),
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

This needs an update now that #456 is merged?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Right, I'll do a rebase

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Ehm, looks like at least for this PR purposes there is no change.

Copy link
Copy Markdown
Contributor

@roneli roneli left a comment

Choose a reason for hiding this comment

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

LGTM, nothing more to add that @disq didn't point out.

* introduce ProviderRepoName function
* drop unused Hub.getLatestReleaseVersion
Rewrite the test so that it does not depend on database availability
and network access to a git repo.
@disq disq merged commit fabd906 into cloudquery:main Feb 2, 2022
@irmatov irmatov deleted the small_improvements branch February 2, 2022 14:04
TinLe pushed a commit to TinLe/cloudquery that referenced this pull request Feb 2, 2022
* upstream/main:
  feat: Small improvements (cloudquery#459)
erezrokah pushed a commit that referenced this pull request Aug 14, 2022
Synced local file(s) with [cloudquery/.github](https://github.com/cloudquery/.github).





---

This PR was created automatically by the [repo-file-sync-action](https://github.com/BetaHuhn/repo-file-sync-action) workflow run [#2774614062](https://github.com/cloudquery/.github/actions/runs/2774614062)
erezrokah pushed a commit that referenced this pull request Aug 14, 2022
🤖 I have created a release *beep* *boop*
---


## [0.12.4](cloudquery/cq-provider-azure@v0.12.3...v0.12.4) (2022-08-07)


### Bug Fixes

* **deps:** Update module github.com/cloudquery/cq-provider-sdk to v0.14.7 ([#458](cloudquery/cq-provider-azure#458)) ([39c0907](cloudquery/cq-provider-azure@39c0907))

---
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

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants