docs: fix Agentic Pulse sorting and year rendering for v2.3.41

This commit is contained in:
Nubenetes Bot
2026-06-03 09:34:53 +02:00
parent d060602964
commit 9280cf20a2
3 changed files with 12 additions and 7 deletions

View File

@@ -5,6 +5,11 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [[2.3.41]](https://github.com/nubenetes/awesome-kubernetes/releases/tag/v2.3.41) - 2026-06-03
### Fixed
- **Agentic Pulse Metadata and Sort Logic**: Corrected the V2 optimizer script (`src/v2_optimizer.py`) to query the correct `year` attribute instead of the non-existent `pub_date` when rendering the Agentic Pulse section on the V2 home page, and introduced fallback sorting logic for entries without explicit publication years to ensure chronological precision.
## [[2.3.40]](https://github.com/nubenetes/awesome-kubernetes/releases/tag/v2.3.40) - 2026-06-03
### Removed

View File

@@ -724,8 +724,8 @@ class V2VisionEngine:
async def _write_premium_files(self, data: Dict[str, Dict], mosaic_html: str, videos_html: str):
# 1. Update Index with Pulse
trending_pool = sorted([dict(meta, url=url) for url, meta in self.inventory.items() if isinstance(meta, dict) and meta.get("stars", 0) >= 4], key=lambda x: (x.get("pub_date", "0000"), -x.get("stars", 0)), reverse=True)
pulse_md = "## The Agentic Pulse\n" + "\n".join([f"- **({l.get('pub_date', 'N/A')[:10]})** [**=={nuclear_strip(l['title'])}==**]({l['url'].strip()}) {'🌟'*l.get('stars',3)}" for l in trending_pool[:5]])
trending_pool = sorted([dict(meta, url=url) for url, meta in self.inventory.items() if isinstance(meta, dict) and meta.get("stars", 0) >= 4], key=lambda x: (str(x.get("year", "0000")) if str(x.get("year", "")).isdigit() else "0000", -x.get("stars", 0)), reverse=True)
pulse_md = "## The Agentic Pulse\n" + "\n".join([f"- **({l.get('year', 'N/A')})** [**=={nuclear_strip(l['title'])}==**]({l['url'].strip()}) {'🌟'*l.get('stars',3)}" for l in trending_pool[:5]])
# Calculate coverage for the index
total_v1 = len(self.inventory)

View File

@@ -114,11 +114,11 @@
</center>
## The Agentic Pulse
- **(N/A)** [**==Think Python==**](https://allendowney.github.io/ThinkPython) 🌟🌟🌟🌟
- **(N/A)** [**==Angry IP Scanner (or simply ipscan)==**](https://angryip.org) 🌟🌟🌟🌟
- **(N/A)** [**==Whitepaper: Migrating Your Databases to AWS==**](https://aws.amazon.com/dms/?audit=2019q1) 🌟🌟🌟🌟
- **(N/A)** [**==blog.awsfundamentals.com: AWS S3 Sync - An Extensive Guide==**](https://awsfundamentals.com/blog/aws-s3-sync) 🌟🌟🌟🌟
- **(N/A)** [**==Clean Architecture on Frontend==**](https://bespoyasov.me/blog/clean-architecture-on-frontend) 🌟🌟🌟🌟
- **(2026)** [**==Angry IP Scanner (or simply ipscan)==**](https://angryip.org) 🌟🌟🌟🌟
- **(2026)** [**==Zeebe workflow engine==**](https://camunda.com/platform/zeebe) 🌟🌟🌟🌟
- **(2026)** [**==**Microk8s**==**](https://canonical.com/microk8s) 🌟🌟🌟🌟
- **(2026)** [**==copr.fedorainfracloud.org==**](https://copr.fedorainfracloud.org/coprs) 🌟🌟🌟🌟
- **(2026)** [**==Tutorial: Restoring a DB Instance from a DB Snapshot==**](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_Tutorials.RestoringFromSnapshot.html) 🌟🌟🌟🌟
## Strategic Dimensions
- **[🎥 Agentic Video Hub (Architectural Summary)](./videos/index.md)**