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

feat(terraform): rework dep types #9116

Merged
merged 13 commits into from Apr 4, 2021
Merged

Conversation

secustor
Copy link
Collaborator

Changes:

This PR changes all depTypes provided by the Terraform manger to allow a more fain grained control over which dependencies are updated and which are not.

Context:

Closes #8792

I'm not sure how to do the migration for users which use the helm depType.
Can you point me to some example PR where this has already been done?

Documentation (please check one with an [x])

  • I have updated the documentation, or
  • No documentation update is required

How I've tested my work (please tick one)

I have verified these changes via:

  • Code inspection only, or
  • Newly added unit tests, or
  • No new tests but ran on a real repository, or
  • Both unit tests + ran on a real repository

@secustor secustor changed the title breaking(Terraform): rework dep types perf(Terraform): rework dep types Mar 13, 2021
@viceice viceice added the breaking Breaking change, requires major version bump label Mar 13, 2021
lib/manager/terraform/readme.md Outdated Show resolved Hide resolved
lib/manager/terraform/readme.md Outdated Show resolved Hide resolved
lib/manager/terraform/readme.md Outdated Show resolved Hide resolved
secustor and others added 3 commits March 13, 2021 16:27
Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com>
Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com>
Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com>
@@ -1,19 +1,36 @@
Currently Terraform support is limited to Terraform registry sources and github sources that include SemVer refs, e.g. like `github.com/hashicorp/example?ref=v1.0.0`.
Currently, Terraform supports renovating the following dependencies, where sub points represent hosting options of the dependencies:
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
Currently, Terraform supports renovating the following dependencies, where sub points represent hosting options of the dependencies:
Terraform supports renovating the following dependencies, where sub points represent hosting options of the dependencies:

To me the use of the words "Currently, " implies that on a later date Renovate/Terraform will support more renovations. By not using such words as "currently, later, right now, in future" we don't create expectations of further improvements. The sentence would read just as nice if we removed the word "Currently, ".

Also by not using words like "Currently" we free ourselves from updating the docs when at a later time "Currently, Terraform supports..." some other renovation as well.

So overall, I think using "time-based" language like this is a bit dangerous.

But let's see what the rest of the Renovate team thinks about using words like this in our docs...
So don't rush into applying this suggestion right away, as I'm curious what the rest of the Renovate team has to say. Maybe I'm totally honking up the wrong pond here... 😄

@rarkins rarkins marked this pull request as draft March 14, 2021 06:40
@rarkins
Copy link
Collaborator

rarkins commented Mar 14, 2021

FYI I'm marking all breaking change PRs as draft to reduce the chance of accidental merge

@rarkins rarkins changed the base branch from master to v25 April 4, 2021 07:12
@rarkins rarkins marked this pull request as ready for review April 4, 2021 07:26
@rarkins rarkins changed the title perf(Terraform): rework dep types feat(terraform): rework dep types Apr 4, 2021
rarkins
rarkins previously approved these changes Apr 4, 2021
@rarkins
Copy link
Collaborator

rarkins commented Apr 4, 2021

@secustor I seem to have broken this in the merge. Could you take a look?

@secustor
Copy link
Collaborator Author

secustor commented Apr 4, 2021

@rarkins Seems like a new test has been added, fixed the snapshot.

@secustor secustor requested a review from rarkins April 4, 2021 12:10
@rarkins rarkins merged commit e5fc93e into renovatebot:v25 Apr 4, 2021
@secustor secustor deleted the rework-depTypes branch April 4, 2021 13:26
rarkins pushed a commit that referenced this pull request Apr 5, 2021
Improves the `depType` values returned by the terraform manager.

Closes #8792

BREAKING CHANGE: Values for extracted `depType` in terraform manager have changed, please see the `terraform` manager readme for details.
rarkins pushed a commit that referenced this pull request Apr 5, 2021
Improves the `depType` values returned by the terraform manager.

Closes #8792

BREAKING CHANGE: Values for extracted `depType` in terraform manager have changed, please see the `terraform` manager readme for details.
rarkins pushed a commit that referenced this pull request Apr 5, 2021
Improves the `depType` values returned by the terraform manager.

Closes #8792

BREAKING CHANGE: Values for extracted `depType` in terraform manager have changed, please see the `terraform` manager readme for details.
rarkins pushed a commit that referenced this pull request Apr 7, 2021
Improves the `depType` values returned by the terraform manager.

Closes #8792

BREAKING CHANGE: Values for extracted `depType` in terraform manager have changed, please see the `terraform` manager readme for details.
rarkins pushed a commit that referenced this pull request Apr 10, 2021
Improves the `depType` values returned by the terraform manager.

Closes #8792

BREAKING CHANGE: Values for extracted `depType` in terraform manager have changed, please see the `terraform` manager readme for details.
rarkins pushed a commit that referenced this pull request Apr 11, 2021
Improves the `depType` values returned by the terraform manager.

Closes #8792

BREAKING CHANGE: Values for extracted `depType` in terraform manager have changed, please see the `terraform` manager readme for details.
rarkins pushed a commit that referenced this pull request Apr 15, 2021
Improves the `depType` values returned by the terraform manager.

Closes #8792

BREAKING CHANGE: Values for extracted `depType` in terraform manager have changed, please see the `terraform` manager readme for details.
rarkins pushed a commit that referenced this pull request Apr 21, 2021
Improves the `depType` values returned by the terraform manager.

Closes #8792

BREAKING CHANGE: Values for extracted `depType` in terraform manager have changed, please see the `terraform` manager readme for details.
rarkins pushed a commit that referenced this pull request Apr 22, 2021
Improves the `depType` values returned by the terraform manager.

Closes #8792

BREAKING CHANGE: Values for extracted `depType` in terraform manager have changed, please see the `terraform` manager readme for details.
rarkins pushed a commit that referenced this pull request Apr 22, 2021
Improves the `depType` values returned by the terraform manager.

Closes #8792

BREAKING CHANGE: Values for extracted `depType` in terraform manager have changed, please see the `terraform` manager readme for details.
rarkins pushed a commit that referenced this pull request Apr 22, 2021
Improves the `depType` values returned by the terraform manager.

Closes #8792

BREAKING CHANGE: Values for extracted `depType` in terraform manager have changed, please see the `terraform` manager readme for details.
rarkins pushed a commit that referenced this pull request Apr 22, 2021
Improves the `depType` values returned by the terraform manager.

Closes #8792

BREAKING CHANGE: Values for extracted `depType` in terraform manager have changed, please see the `terraform` manager readme for details.
@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 5, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
breaking Breaking change, requires major version bump
Projects
None yet
Development

Successfully merging this pull request may close these issues.

breaking: Rework depTypes of the Terraform manager
4 participants