Skip to content

fix(grafana): update module path#2797

Merged
mdelapenya merged 1 commit intotestcontainers:mainfrom
mdelapenya:grafana-module-name
Sep 25, 2024
Merged

fix(grafana): update module path#2797
mdelapenya merged 1 commit intotestcontainers:mainfrom
mdelapenya:grafana-module-name

Conversation

@mdelapenya
Copy link
Copy Markdown
Member

What does this PR do?

It updates the module path from grafanalgtm to grafana-lgtm.

Why is it important?

During the release process of the modules, the git tag for each module uses the directory name as tag name, so it was wrong for grafana: its directory is grafana-lgtm and the module used grafanalgtm.

As a consequence, the pkg.go.dev site did not recognize the Grafana module.

Related issues

@mdelapenya mdelapenya requested a review from a team as a code owner September 25, 2024 10:45
@mdelapenya mdelapenya added the bug An issue with the library label Sep 25, 2024
@mdelapenya mdelapenya self-assigned this Sep 25, 2024
@mdelapenya mdelapenya requested a review from stevenh September 25, 2024 10:45
@netlify
Copy link
Copy Markdown

netlify bot commented Sep 25, 2024

Deploy Preview for testcontainers-go ready!

Name Link
🔨 Latest commit 1eabbc3
🔍 Latest deploy log https://app.netlify.com/sites/testcontainers-go/deploys/66f3e9c8faab130008fac044
😎 Deploy Preview https://deploy-preview-2797--testcontainers-go.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@@ -1,4 +1,4 @@
module github.com/testcontainers/testcontainers-go/modules/grafanalgtm
module github.com/testcontainers/testcontainers-go/modules/grafana-lgtm
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

I need to verify the implications on changing the module name of an already published module (appeared in v0.33.0)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

never ideal but its is pre v1.0 so this is the time to do it and guessing it wasn't working?

@@ -1,4 +1,4 @@
module github.com/testcontainers/testcontainers-go/modules/grafanalgtm
module github.com/testcontainers/testcontainers-go/modules/grafana-lgtm
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

never ideal but its is pre v1.0 so this is the time to do it and guessing it wasn't working?

@mdelapenya mdelapenya merged commit ec9bf5d into testcontainers:main Sep 25, 2024
@mdelapenya mdelapenya deleted the grafana-module-name branch September 25, 2024 13:40
mdelapenya added a commit that referenced this pull request Sep 26, 2024
* main: (29 commits)
  fix: template for code generation (#2800)
  fix: update module path (#2797)
  fix: container logging deadlocks (#2791)
  chore: use a much smaller image for testing (#2795)
  fix: parallel containers clean race (#2790)
  fix(registry): wait for (#2793)
  fix: container timeout test (#2792)
  docs: document redpanda options (#2789)
  feat: support databend module (#2779)
  chore: golangci-lint 1.61.0 (#2787)
  fix(mssql): bump Docker image version (#2786)
  fix: handle 127 error code for podman compatibility (#2778)
  fix: do not override ImageBuildOptions.Labels when building from a Dockerfile (#2775)
  feat(mongodb): Wait for mongodb module with a replicaset to finish (#2777)
  fix(postgres): Apply default snapshot name if no name specified (#2783)
  fix: resource clean up for tests and examples (#2738)
  ci: add generate for mocks (#2774)
  fix: docker config error handling when config file does not exist (#2772)
  docs: refine heading badges in README (#2770)
  feat(wait): for file (#2731)
  ...
mdelapenya added a commit to mdelapenya/testcontainers-go that referenced this pull request Sep 26, 2024
* main:
  chore: update dockercfg module (testcontainers#2801)
  fix: template for code generation (testcontainers#2800)
  fix: update module path (testcontainers#2797)
  fix: container logging deadlocks (testcontainers#2791)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug An issue with the library

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: grafana module uses incorrect module name

2 participants