You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Fix obsolete OVHcloud Passport Learn More URL - #402
On https://www.openstack.org/passport/, OVH Public Cloud's Learn more button opens https://www.ovh.com/public-cloud/openstack-passport.xml and returns HTTP 404. The public Passport API returns the same stale learn_more value for cloud service 91.
Replace that stored destination with https://www.ovhcloud.com/en/public-cloud/openstack/, which returns HTTP 200 and explicitly describes the Passport program. This uses the existing marketplace migration framework and matches only the obsolete URL; current/custom destinations and other fields are preserved, including on repeated execution.
Validation:
PHP 7.4.33 syntax and git diff --check passed.
Ran the actual migration SQL against isolated SQLite fixtures: matching URL corrected; current, unrelated, query-suffixed, empty and null values preserved; other fields preserved; rerun and empty-table cases passed.
Verified the live API value, old destination's HTTP 404 and replacement's HTTP 200.
Full SilverStripe/MySQL application test not run locally.
A direct edit of the OVHcloud Passport Learn More field in the CMS is the smallest operational fix; maintainers can use that instead of this migration. If merged, the migration still needs to be applied through the normal website deployment process. It follows the existing data-fix convention with no automatic down operation. Production data has not been modified.
Summary by CodeRabbit
Bug Fixes
Updated the “Learn more” link for OVHcloud Public Cloud passports when it pointed to the obsolete OVH URL. The link now directs users to the OVHcloud OpenStack page. Other links are unchanged.
Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.
Walkthrough
The migration replaces the obsolete OVH URL in matching PublicCloudPassport.LearnMore values with the OVHcloud OpenStack URL. The migration is added to the configured migrations list.
Changes: Passport URL migration
Layer / File(s)
Summary
Update and register the passport URL migration marketplace/code/migrations/FixOVHCloudPassportUrlMigration.php, migrations/migrations.yml
Adds a migration that updates matching obsolete LearnMore URLs in PublicCloudPassport and registers it in the migrations list.
No actionable merge-blocking issue is established for this targeted URL correction. Apply the migration through the normal website deployment process.
Pre-merge checks: 5
Check name
Status
Explanation
Description Check
Check skipped - CodeRabbit’s high-level summary is enabled.
Title check
The title "Fix obsolete OVHcloud Passport Learn More URL" matches the main change. The PR adds a migration that replaces the obsolete OVH Public Cloud URL in PublicCloudPassport.LearnMore with the OVH…
Docstring Coverage
No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentat…
Linked Issues check
Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check
Check skipped because no linked issues were found for this pull request.
Full details: Title check
Explanation
The title "Fix obsolete OVHcloud Passport Learn More URL" matches the main change. The PR adds a migration that replaces the obsolete OVH Public Cloud URL in PublicCloudPassport.LearnMore with the OVHcloud OpenStack URL, and the title names that same field and URL problem. It is short, specific, and free of noise.
Full details: Docstring Coverage
Explanation
No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentation-only edits and deletions within surviving functions are included; unchanged diff context and fully deleted functions are excluded. Analyzed 0 functions across 1 files. (1 skipped: 1 unsupported.)
Finishing Touches
Generate unit tests (beta)
Create a new PR
Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Warning
Some tools did not complete. Review the errors below.
PHPStan (2.3.1)
Composer install failed: the lock file is not up to date with the latest changes in composer.json. Run composer update and commit the updated composer.lock.
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
The OVHcloud Learn More button on the Passport page points to an old
ovh.com address that returns HTTP 404.
Use the existing marketplace data-migration mechanism to replace only
that obsolete address with OVHcloud's current OpenStack landing page.
Already-current and custom destinations are preserved, and running the
correction again is safe.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
On https://www.openstack.org/passport/, OVH Public Cloud's Learn more button opens
https://www.ovh.com/public-cloud/openstack-passport.xmland returns HTTP 404. The public Passport API returns the same stalelearn_morevalue for cloud service 91.Replace that stored destination with https://www.ovhcloud.com/en/public-cloud/openstack/, which returns HTTP 200 and explicitly describes the Passport program. This uses the existing marketplace migration framework and matches only the obsolete URL; current/custom destinations and other fields are preserved, including on repeated execution.
Validation:
git diff --checkpassed.A direct edit of the OVHcloud Passport Learn More field in the CMS is the smallest operational fix; maintainers can use that instead of this migration. If merged, the migration still needs to be applied through the normal website deployment process. It follows the existing data-fix convention with no automatic down operation. Production data has not been modified.
Summary by CodeRabbit