From nobody Thu Jul 2 12:31:31 2026 X-Original-To: dev-commits-doc-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4grbpq6RXLz5q0Lh for ; Thu, 02 Jul 2026 12:31:31 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "YR1" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4grbpq5bxnz3hLS for ; Thu, 02 Jul 2026 12:31:31 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1782995491; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=+fcOCTZO3h3zLMb2aHOtkO1A3VgAxcimg4zqhRvf9NQ=; b=nO7DuixtcYLC9PvzOpES9ql8btFU3ESQD8jF94K3YqlE+XOfFPvJciGjzsiSYR04f3YE/W KOPdtfMD4zxOUfyKoM3QhoOkYaDcS92r0oliTl6HOhubwP/aUYDRqnzVrrj3crpI9mRO4l CfZ2C5gGKJV7DE38TIuAPUXVlIoaugiPYYnYtbLwit5wDfVXFJZrxNKmUzq5OCvX8br4FE bin52EspqUKl08HDZO849zocalpmQaHD+TvAyosx8hbYUr/WKmdTZQM2uXPXeWrMYJFVBi AzXxV5dpM5yv2I3lpaanmla8vZo0EEO22oQb0ej4lBL7ujIlupjBeDZtSAc1PQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1782995491; a=rsa-sha256; cv=none; b=wesZoyvaeF+BJAwZvAUzsV/pZCeffRGxwrbYye92/lRcIeW0UJq4RzIVnhNBHzjn7Pvl/9 rP8kcB1c2KvBHw+6RG1EoufdSxdEHrrPJq3Cl9RN/O7FUMkeUmq5earMTqK0SBXShecBgp cf7/HCWQZuUpro/hJX+KRCOzDu4b8VVBCx4dWSaMx0lYuPJngiJpo7D5npbWmnRwHVr33d JP6Cx3iF9Xosah/E0pyM9KubzvTb4yss72Ba2lNR4LBVTq/hoc1detPfZgQ2ya4k/3YT4o 1HE8uQiWVDBcCu+aSPBUgWOMtnVFCKIbjgO0rQ+9PR69eqxlhST2iEtYdpczdA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1782995491; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=+fcOCTZO3h3zLMb2aHOtkO1A3VgAxcimg4zqhRvf9NQ=; b=ylrK4j4xOaYP37+a1+XLzwK9LADZpzG+sJAdrBPkRD1qYyI6cClPAeqLmPhu5C6FnJuiI6 Ayb+2ltO2mavUkABaGu6KsEPAs81TkV3m8kWPpTyfYNwgGO09U8+5PDxgngNCJL71VVPf0 gzGWxM3QfCwG738TAx8FlfIUPkTwGsnukPk2CJQoBMx31klpgYfHCvxUE8VqGVIHwn0uQT ERKZotFzo3P6rmJuQRrjZq6OMxTmV1DB0rDXhO6I7+yQFyB4kamfQfBgOJfpV0lnaEYaL8 q+KYAmup6iawn8m5blekpqU5zMxL7Qq0gpFX3Km81U3SavloWO0aRbgDv6Z6lA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4grbpq42G2z11by for ; Thu, 02 Jul 2026 12:31:31 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 31475 by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Thu, 02 Jul 2026 12:31:31 +0000 To: doc-committers@FreeBSD.org, dev-commits-doc-all@FreeBSD.org From: Vladlen Popolitov Subject: git: cc40bb4d38 - main - website: add RSS feed to status pages List-Id: Commit messages for all branches of the doc repository List-Archive: https://lists.freebsd.org/archives/dev-commits-doc-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-doc-all@freebsd.org Sender: owner-dev-commits-doc-all@FreeBSD.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: vladlen X-Git-Repository: doc X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: cc40bb4d3817137ed4fc4e7dc5e0a9017ccfe0e0 Auto-Submitted: auto-generated Date: Thu, 02 Jul 2026 12:31:31 +0000 Message-Id: <6a465a23.31475.1164505c@gitrepo.freebsd.org> The branch main has been updated by vladlen: URL: https://cgit.FreeBSD.org/doc/commit/?id=cc40bb4d3817137ed4fc4e7dc5e0a9017ccfe0e0 commit cc40bb4d3817137ed4fc4e7dc5e0a9017ccfe0e0 Author: Vladlen Popolitov AuthorDate: 2026-07-02 12:31:20 +0000 Commit: Vladlen Popolitov CommitDate: 2026-07-02 12:31:20 +0000 website: add RSS feed to status pages Reviewed by: carlavilla, ziaee Approved by: salvadore Differential Revision: https://reviews.freebsd.org/D57722 PR: 252876 --- website/content/en/status/_index.adoc | 2 + website/content/ru/status/_index.adoc | 2 + website/themes/beastie/layouts/status/status.xml | 94 ++++++++++++++++++++++++ 3 files changed, 98 insertions(+) diff --git a/website/content/en/status/_index.adoc b/website/content/en/status/_index.adoc index 02222a3013..02c8af25f7 100644 --- a/website/content/en/status/_index.adoc +++ b/website/content/en/status/_index.adoc @@ -7,6 +7,8 @@ include::shared/en/urls.adoc[] = FreeBSD Status Reports +image:/images/rss_icon.png["RSS", width="27", height="12", role="rssimage"] link:feed.xml[RSS 2.0 Feed] + == Next Quarterly Status Report submissions (April -- June) due: June 14th, 2026 If you are interested in submitting status reports or you are curious about how the publication process works, please see our link:{freebsd-status-report-process}[status report process description]. diff --git a/website/content/ru/status/_index.adoc b/website/content/ru/status/_index.adoc index 555817250a..4797c60fac 100644 --- a/website/content/ru/status/_index.adoc +++ b/website/content/ru/status/_index.adoc @@ -7,6 +7,8 @@ include::shared/ru/urls.adoc[] = Отчёты о состоянии работ FreeBSD +image:/images/rss_icon.png["RSS", width="27", height="12", role="rssimage"] link:feed.xml[RSS 2.0 Feed] + == Следующий квартальный отчёт (Октябрь -- Декабрь) принимается до: 14 июня 2026 г. Если вы заинтересованы в отправке отчётов о состоянии работ или вам интересно, как работает процесс публикации, пожалуйста, ознакомьтесь с нашим link:{freebsd-status-report-process}[описанием процесса подготовки отчётов о состоянии]. diff --git a/website/themes/beastie/layouts/status/status.xml b/website/themes/beastie/layouts/status/status.xml new file mode 100644 index 0000000000..402c79d57e --- /dev/null +++ b/website/themes/beastie/layouts/status/status.xml @@ -0,0 +1,94 @@ +{{- /* Template for FreeBSD Status Reports RSS feed */ -}} +{{- /* Get site language code */ -}} +{{- $DirectoryLangCode := .Site.Language.Lang -}} + +{{- /* Set language-specific variables */ -}} +{{- $RssLangCode := "en-us" -}} +{{- $LinkLangCode := .Site.LanguagePrefix -}} +{{- $DescriptionLangCode := "Quarterly status report for %s. Click the link to read the full report on the FreeBSD website." -}} +{{- $PageTitleLangCode := "FreeBSD Status Reports" -}} + +{{- /* variables for languages with status translations */ -}} +{{- if eq $DirectoryLangCode "ru" -}} + {{- $RssLangCode = "ru-ru" -}} + {{- $DescriptionLangCode = "Ежеквартальный отчет о состоянии работ проекта FreeBSD за %s. Перейдите по ссылке, чтобы прочитать полную версию отчета на сайте FreeBSD." -}} + {{- $PageTitleLangCode = "Отчёты о состоянии работ FreeBSD" -}} +{{- else -}} +{{- end -}} + +{{- $indexPath := printf "content/%s/status/_index.adoc" $DirectoryLangCode -}} +{{- $indexContent := readFile $indexPath -}} +{{- /* $report is empty container for all reports read from $indexPath file */ -}} +{{- $reports := slice -}} + +{{- /* Regex pattern to find all entries in format: link:report-YYYY-MM-YYYY-MM/[Month, YYYY - Month, YYYY] */ -}} +{{- $pattern := `link:report-(\d{4})-(\d{2})-(\d{4})-\d{2}/\[([^\]]+)\]` -}} +{{- $matches := findRE $pattern $indexContent -1 -}} + +{{- range $matches -}} + + {{- /* parse year, month, link and title from line text */ -}} + {{- $year := replaceRE `^link:report-\d{4}-\d{2}-(\d{4})-\d{2}/.*$` "$1" . -}} + {{- $month := replaceRE `^link:report-\d{4}-\d{2}-\d{4}-(\d{2})/.*$` "$1" . -}} + {{- $link := replaceRE `^link:(report-\d{4}-\d{2}-\d{4}-\d{2})/.*$` "$1" . -}} + {{- $titlePart := replaceRE `^link:report-\d{4}-\d{2}-\d{4}-\d{2}/\[([^\]]+)\]` "$1" . -}} + + {{- $fullLink := printf "https://www.freebsd.org%s/status/%s/" $LinkLangCode $link -}} + + {{- /* Build the report date (15th of the next month) */ -}} + {{ $endDateMonth := int (strings.TrimLeft "0" $month) }} + {{ $endDateYear := int $year }} + {{ $endDateMonth = add $endDateMonth 1 }} + {{ if gt $endDateMonth 12 }} + {{ $endDateMonth = 1 }} + {{ $endDateYear = add $endDateYear 1 }} + {{ end }} + {{- /* construct date and convert string to time object */ -}} + {{- $reportDate := time.AsTime (printf "%04d-%02d-15" $endDateYear $endDateMonth) -}} + + {{- $report := dict + "title" $titlePart + "link" $fullLink + "year" $year + "month" $month + "reportDate" $reportDate + "id" $fullLink + -}} + {{- $reports = $reports | append $report -}} +{{- end -}} + +{{- /* Sort reports by date (newest first) */ -}} +{{- $sortedReports := sort $reports "reportDate" "desc" -}} + +{{- /* Take the last 20 reports (or more if needed - change here) */ -}} +{{- $recentReports := first 20 $sortedReports -}} + + + + {{ $PageTitleLangCode }} + https://www.freebsd.org{{ $LinkLangCode }}/status/ + RSS feed of FreeBSD quarterly status reports, detailing ongoing development and project updates. + {{ $RssLangCode }} + freebsd-www@FreeBSD.org (FreeBSD Web Team) + freebsd-www@FreeBSD.org (FreeBSD Web Team) + + https://www.freebsd.org/logo/logo-full.png + FreeBSD Status Reports + {{ printf "https://www.freebsd.org%s/status/" $LinkLangCode }} + + + + {{- range $recentReports }} + + {{ .title }} + {{ .link }} + {{ .id }} + + {{ printf $DescriptionLangCode .title }} + + + {{ .reportDate.Format "Mon, 02 Jan 2006 15:04:05 -0700" }} + + {{- end }} + +