Skip to content

Commit b9c275f

Browse files
enejbEnej Bajgoric
andauthored
Sitemaps abilities: register status reads + rebuild dispatch via Registrar (#48767)
* Sitemaps abilities: register status reads + rebuild dispatch via Registrar * Sitemaps abilities: use core site category * Sitemaps abilities tests: register core site category in lifecycle helper * Sitemaps abilities: simplify get-status to reflect the served sitemap.xml (drop dup URL / synthetic last-build / reserved error; add real sitemaps[]) * Sitemaps abilities: pass string '0' to jp_sitemap_filename() to satisfy Phan type contract * Sitemaps abilities: return next_scheduled_at (next jp_sitemap_cron_hook tick, UTC) from request-rebuild * Sitemaps abilities: format next_scheduled_at as ISO 8601 UTC (Z suffix) for unambiguous timezone --------- Co-authored-by: Enej Bajgoric <enej.bajgoric@a8c.com>
1 parent 167b080 commit b9c275f

7 files changed

Lines changed: 1203 additions & 0 deletions

File tree

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
Significance: minor
2+
Type: enhancement
3+
4+
Abilities API: register sitemaps reads + rebuild dispatch
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
Significance: patch
2+
Type: other
3+
4+
Sitemaps abilities: use the core site ability category
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
Significance: patch
2+
Type: other
3+
4+
Sitemaps abilities: simplify get-status output — drop the duplicate master_sitemap_url and the reserved last_error, replace the state-derived last_build_at with a `sitemaps` list reflecting the child sitemaps actually present in the served sitemap.xml (each with its own lastmod)

0 commit comments

Comments
 (0)