Skip to content

Add bundled sitemap protocol schemas#415

Merged
PrzemyslawKlys merged 1 commit into
mainfrom
codex/powerforge-sitemap-schema-cache
Jun 2, 2026
Merged

Add bundled sitemap protocol schemas#415
PrzemyslawKlys merged 1 commit into
mainfrom
codex/powerforge-sitemap-schema-cache

Conversation

@PrzemyslawKlys
Copy link
Copy Markdown
Member

Summary

  • bundle the official sitemap.org sitemap.xsd and siteindex.xsd in PowerForge.Web so CI and downstream sites do not depend on fetching www.sitemaps.org
  • expose WebSitemapProtocolSchemas plus powerforge-web sitemap-schemas --out <dir> for consumers that need local schema files
  • add focused tests covering embedded schema loading, export, and CLI dispatch

Validation

  • dotnet test PowerForge.Tests/PowerForge.Tests.csproj -c Debug --filter FullyQualifiedName~WebSitemapProtocolSchemasTests /m:1 /nr:false
  • dotnet build PowerForge.Web.Cli/PowerForge.Web.Cli.csproj -c Debug -f net10.0 /m:1 /nr:false
  • dotnet run --project PowerForge.Web.Cli/PowerForge.Web.Cli.csproj -c Debug --framework net10.0 -- sitemap-schemas --out <temp>
  • DomainDetective check: dotnet test DomainDetective.Tests/DomainDetective.Tests.csproj -c Debug --filter FullyQualifiedName~TestSitemapAnalysis /m:1 /nr:false passed for net472, net8.0, and net10.0; DomainDetective already embeds its own sitemap analyzer schemas.

Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 44d7713ffd

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread PowerForge.Web/Assets/SitemapProtocol/sitemap.xsd
Comment thread PowerForge.Web/Assets/SitemapProtocol/siteindex.xsd
Comment thread PowerForge.Web/Assets/SitemapProtocol/sitemap.xsd
@PrzemyslawKlys PrzemyslawKlys force-pushed the codex/powerforge-sitemap-schema-cache branch from 44d7713 to eb74aad Compare June 2, 2026 07:43
@PrzemyslawKlys PrzemyslawKlys merged commit a0005b1 into main Jun 2, 2026
6 checks passed
@PrzemyslawKlys PrzemyslawKlys deleted the codex/powerforge-sitemap-schema-cache branch June 2, 2026 08:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant