本文介绍了 norwegianblue,这是 Hugo van Kemenade 开发的一款命令行工具,它通过从 endoflife.date 获取数据并以颜色编码表格的形式展示,来检查软件的支持状态和生命周期终止日期。文中演示了 Django 开发者如何使用其简短别名 eol 快速核实 Django、Python、PostgreSQL 以及许多其他技术栈组件的发布周期,以确保自己没有运行不受支持的版本。该工具每日缓存数据,并可输出 JSON 和 Markdown 等格式,用于文档撰写或脚本处理。
Django projects end up slotting into a bunch of software release cycles: Django itself, Python, database servers, cache servers, and more.
It can be hard for us developers to keep track of all of them, with their different support policies and end-of-life dates, and running an unsupported version means missing out on important security or bug fixes.
norwegianblue is a handy command-line tool for checking software support dates.
It fetches data from endoflife.date, a community-maintained database of release cycles for hundreds of products, and displays it as a colour-coded table.
It’s from Hugo van Kemenade, the Python 3.14 and 3.15 release manager, and named after the deceased parrot from Monty Python’s infamous Dead Parrot sketch.
Let’s look at checking the release cycles for Django, Python, PostgreSQL, and other relevant tools with it.
继续阅读全文
为了尊重作者,这里只展示开头几段。你可以去原文阅读,或者在 HorizonReader 里读:划线做笔记、让 AI 帮忙。
AI 摘要This article rounds up Django-related Black Friday and Cyber Monday deals, including 50% discounts on the author's 'Boost Your DX' books, Aidas Bendoraitis' paid Django packages, the book Django in Action from Manning, Cory Zue's SaaS Pegasus, and Talk Python's Everything Bundle. It also mentions 25% off pre-orders of Django 6 By Example and encourages readers to support the Django Software Foundation through donations or corporate sponsorship.
AI 摘要This article explains Zsh's built-in `time` command, which reports user/system CPU time, CPU percentage, and elapsed wall-clock time for a command or pipeline, and notes that subshells are needed to time multiple commands or brace groups. It also covers the TIMEFMT parameter for customizing output—including statistics like maximum memory usage and microsecond precision—and the REPORTTIME setting, which automatically prints timing statistics for any command whose CPU time exceeds a specified threshold.
AI 摘要The author introduces django-launch-editor, a new package that turns file locations on Django's debug error pages into clickable links that open your editor directly at the right line and column, saving the hassle of manually copying paths. It builds on launch-editor-py, a Python port (created largely with LLM assistance) of the npm launch-editor package that detects your running editor and knows its command-line syntax, and it was inspired by similar functionality added to the author's profiling-explorer tool. Setup only requires installing the package, setting DEFAULT_EXCEPTION_REPORTER, and adding its URLs, with zero overhead in production; if the editor isn't on the same machine (e.g., Docker or remote servers), it falls back to copying the location to the clipboard.
AI 摘要Zsh globs are case-sensitive by default, but you can make an individual glob case-insensitive by using the (#i) glob flag, which requires enabling the extended_glob option. To make all globs case-insensitive globally, you can enable the no_case_glob option in your ~/.zshrc. Additionally, the case_paths option can be turned on if you want literal directory names to remain case-sensitive while globs match case-insensitively.
AI 摘要Zsh globs skip hidden dotfiles by default, but adding the (D) glob qualifier includes them, which is especially useful for recursive globs like **/*.yml(D) to find files inside hidden directories. The glob_dots option in ~/.zshrc can make globs always include hidden files (with (^D) available to exclude them), while patterns starting with a dot list only hidden files. Zsh never matches the special . and .. entries in any of these cases.