Skip to content

Enable 'go-import' Meta Tags and 'go-import' Whitelist for virtual repositories #96

@MyKEms

Description

@MyKEms

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Description

Implement support for Go Virtual repository type features:

  • Follow 'go-import' Meta Tags
  • 'go-import' Whitelist

More details on vendor page

New or Affected Resource(s)

  • artifactory_virtual_repository

Potential Terraform Configuration

resource "artifactory_virtual_repository" "go" {
  key                     = "go"
  package_type            = "go"
  repo_layout_ref         = "go-default"

  repositories = [
    "github-remote",
    "gocenter"
  ]

  enable_go_import         = false
  go_import_whitelist = [
    "**/github.com/**",
    "**/github.com/**/**",
    "**/golang.org/**",
    "**/gopkg.in/**",
    "**/k8s.io/**",
    "**/go.googlesource.com/**"
  ]

}

References

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions