Skip to content

Conversation

caarlos0
Copy link
Member

This pull request introduces enhancements to the mcp command, including support for identifying deprecated properties in GoReleaser configurations and providing detailed remediation instructions.

Enhancements to mcp command:

  • Dependency Updates and Imports:

    • Added new imports, including maps, slices, and strings, to support new functionality.
  • Deprecation Handling in Configuration Check:

    • Enhanced the check function to detect deprecated properties in GoReleaser configurations. If deprecated properties are found, it provides remediation instructions using a predefined map of instructions and embedded documentation. [1] [2]
  • Embedded Documentation for Deprecations:

    • Added embedded markdown file (mcp/brews.md) containing detailed instructions for updating deprecated brews configurations to the new homebrew_casks format. [1] [2]

These changes enhance the usability of the mcp command by providing better guidance for users dealing with deprecated configurations while keeping the documentation up to date.

@caarlos0 caarlos0 self-assigned this Jul 10, 2025
@pull-request-size pull-request-size bot added the size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. label Jul 10, 2025
Copy link

Deploying goreleaser with  Cloudflare Pages  Cloudflare Pages

Latest commit: 26f030e
Status: ✅  Deploy successful!
Preview URL: https://fe9298a0.goreleaser.pages.dev
Branch Preview URL: https://mcp.goreleaser.pages.dev

View logs

Copy link

codecov bot commented Jul 10, 2025

Codecov Report

❌ Patch coverage is 0% with 14 lines in your changes missing coverage. Please review.
✅ Project coverage is 82.63%. Comparing base (e9801e1) to head (26f030e).
⚠️ Report is 48 commits behind head on main.

Files with missing lines Patch % Lines
cmd/mcp.go 0.00% 14 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #5896      +/-   ##
==========================================
- Coverage   82.68%   82.63%   -0.06%     
==========================================
  Files         165      165              
  Lines       16520    16531      +11     
==========================================
  Hits        13660    13660              
- Misses       2268     2279      +11     
  Partials      592      592              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@caarlos0 caarlos0 enabled auto-merge (squash) August 5, 2025 23:17
@caarlos0 caarlos0 disabled auto-merge August 5, 2025 23:17
@caarlos0 caarlos0 merged commit ff46676 into main Aug 5, 2025
15 of 18 checks passed
@caarlos0 caarlos0 deleted the mcp branch August 5, 2025 23:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant