Skip to content

Minimal configuration necessary to reproduce issue found in [renovatebot/renovate discussion 33370](https://github.com/renovatebot/renovate/discussions/33370)

Notifications You must be signed in to change notification settings

renovate-reproductions/33370

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

renovate-reproduction/33370

Reproduction of Renovate discussion 33370.

Current Behavior

Renovate does not properly parse the packageName using the terragrunt manager when the source refers to a sub-directory (_i.e., contains double slashes in the URL path) and the source protocol is either missing or is not one of http or https.

Given the following terragrunt.hcl file:

terraform {
  source = "git::ssh://[email protected]/hashicorp/example.git//subdir/test?ref=v1.0.4"
}

The terragrunt manager extracts the following dependency

{
  "deps": [
    {
      "currentValue": "v1.0.4",
      "datasource": "git-tags",
      "depName": "mygit.com/hashicorp/example",
      "depType": "gitTags",
      "pacakgeName": "null/hashicorp/example.git"
    }
  ]
}

Expected Behavior

Support sources referring to a sub-directory and ssh as the protocol.

{
  "deps": [
    {
      "currentValue": "v1.0.4",
      "datasource": "git-tags",
      "depName": "mygit.com/hashicorp/example",
      "depType": "gitTags",
      "pacakgeName": "ssh://mygit.com/hashicorp/example.git"
    }
  ]
}

About

Minimal configuration necessary to reproduce issue found in [renovatebot/renovate discussion 33370](https://github.com/renovatebot/renovate/discussions/33370)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HCL 100.0%