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

fix: proper sorting of dependabot updates when generating a module #894

Merged
merged 5 commits into from
Mar 1, 2023

Conversation

mdelapenya
Copy link
Member

What does this PR do?

This PR fixes the generated code for modules:

  • the module dir in Go module file was hardcoded to examples: now it is modules or examples, depending on the module type.
  • alphabetically sorts dependabot configs, which simplifies the code generation
  • modifies the generator to properly sort dependabot updates
  • fixes the go mod file, where it was prepending 'v' to version

Why is it important?

Make the code generation experience even smoother, as there is no need to manually update any file

Related issues

@mdelapenya mdelapenya requested a review from a team as a code owner March 1, 2023 16:35
@mdelapenya mdelapenya added the bug An issue with the library label Mar 1, 2023
@mdelapenya mdelapenya self-assigned this Mar 1, 2023
@netlify
Copy link

netlify bot commented Mar 1, 2023

Deploy Preview for testcontainers-go ready!

Name Link
🔨 Latest commit 6bdd051
🔍 Latest deploy log https://app.netlify.com/sites/testcontainers-go/deploys/63ff80d8b652430008ff2319
😎 Deploy Preview https://deploy-preview-894--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 settings.

@sonarcloud
Copy link

sonarcloud bot commented Mar 1, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@mdelapenya mdelapenya merged commit e04622f into testcontainers:main Mar 1, 2023
@mdelapenya mdelapenya deleted the fix-modulegenerator branch March 1, 2023 17:00
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.

1 participant