fix: Fix 404 links and run CLI codegen for URL migration PR#22323
fix: Fix 404 links and run CLI codegen for URL migration PR#22323erezrokah merged 3 commits intofix/update-readme-domainsfrom
Conversation
Co-authored-by: erezrokah <26760571+erezrokah@users.noreply.github.com>
Co-authored-by: erezrokah <26760571+erezrokah@users.noreply.github.com>
There was a problem hiding this comment.
Pull request overview
Follow-up to the subdomain→path URL migration to eliminate remaining 404s in CLI help text and plugin docs, plus regenerate the CLI reference docs to reflect the updated links.
Changes:
- Updated
--shardflag help URL (and regeneratedcloudquery syncreference docs) to point at the new “running in parallel” documentation path. - Fixed containerized-environment guide links in several source plugin overview docs to use the non-404 “integrations” URL.
- Updated the remaining
hub.cloudquery.iohint in the CLI install error messaging.
Reviewed changes
Copilot reviewed 6 out of 6 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| plugins/source/typeform/docs/overview.md | Updates containerized-environment guide link to the non-404 “integrations” path. |
| plugins/source/bitbucket/docs/overview.md | Updates containerized-environment guide link to the non-404 “integrations” path. |
| plugins/source/airtable/docs/overview.md | Updates containerized-environment guide link to the non-404 “integrations” path. |
| cli/docs/reference/cloudquery_sync.md | Regenerated CLI reference docs to reflect updated --shard URL. |
| cli/cmd/sync.go | Updates --shard flag help URL to the new docs path. |
| cli/cmd/install.go | Updates hub hint URL in install error message. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| } | ||
|
|
||
| return fmt.Errorf("%w. Hint: make sure to use the latest plugin version from hub.cloudquery.io or to keep using an outdated version add `registry: github` to your configuration", err) | ||
| return fmt.Errorf("%w. Hint: make sure to use the latest plugin version from www.cloudquery.io/hub or to keep using an outdated version add `registry: github` to your configuration", err) |
There was a problem hiding this comment.
The hint URL here is missing a scheme (e.g., https://). Elsewhere in the CLI we format hub links as full https://www.cloudquery.io/hub/... URLs, which makes them consistently clickable in terminals and avoids ambiguity. Consider updating this to https://www.cloudquery.io/hub for consistency with cli/cmd/init.go and tests.
| return fmt.Errorf("%w. Hint: make sure to use the latest plugin version from www.cloudquery.io/hub or to keep using an outdated version add `registry: github` to your configuration", err) | |
| return fmt.Errorf("%w. Hint: make sure to use the latest plugin version from https://www.cloudquery.io/hub or to keep using an outdated version add `registry: github` to your configuration", err) |
Follow-up to the subdomain→path URL migration: the previous PR changed domains but left several paths pointing to non-existent pages. Also updates the remaining
hub.cloudquery.ioreference missed in the original pass, and regenerates CLI reference docs.404 fixes
cli/cmd/sync.go(--shardflag help text):docs/advanced-topics/running-cloudquery-in-parallel→docs/cli/managing-cloudquery/running-in-parallelplugins/source/{airtable,bitbucket,typeform}/docs/overview.md:docs/advanced-topics/using-cloud-query-docker-registry-plugins-inside-a-containerized-environment→…-integrations-…(thepluginsvariant 404s;integrationsresolves — consistent withsquare/docs/overview.md)Missed URL
cli/cmd/install.goerror hint:hub.cloudquery.io→www.cloudquery.io/hubCodegen
make gen-docsincli/—cli/docs/reference/cloudquery_sync.mdupdated to reflect the corrected--shardURL💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.