Skip to content

fix: normalize upgrade changelog URL#240

Open
Bortlesboat wants to merge 1 commit into
CortexLM:mainfrom
Bortlesboat:fix/upgrade-changelog-repo-url
Open

fix: normalize upgrade changelog URL#240
Bortlesboat wants to merge 1 commit into
CortexLM:mainfrom
Bortlesboat:fix/upgrade-changelog-repo-url

Conversation

@Bortlesboat
Copy link
Copy Markdown

Summary

  • normalize stale CortexLM/cortex-cli changelog URLs to CortexLM/cortex before converting GitHub URLs to raw content
  • add an integration regression that serves a release with the stale URL and verifies cortex upgrade --changelog --check fetches the corrected changelog path

Related to PlatformNetwork/bounty-challenge#51509.

Tests

  • cargo test -p cortex-cli --test upgrade_changelog_url stale_cortex_cli_changelog_url_uses_cortex_repo -- --nocapture
  • cargo check -p cortex-cli
  • cargo fmt --check --package cortex-cli
  • git diff --check

Copy link
Copy Markdown

@greptile-apps greptile-apps Bot left a comment

Choose a reason for hiding this comment

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

Your free trial has ended. If you'd like to continue receiving code reviews, you can add a payment method here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant