progmaweb
The site and account service of Progmasoft: a Next.js frontend and an ASP.NET Core API.
Clonegit clone https://git.progmasoft.com/progmaweb
chore(web): remove discontinued OpenTala from catalog, home, news, and tests (#117)
- Commit
b85375276c5ba5ccc9b839145ed6336d65d3e09d- Author
- Leitwolf ·
- Committer
- GitHub
- Parents
7655a1377a60
Changes
apps/web/lib/catalog-messages.ts | 60 ++++----------------------------- apps/web/lib/home-messages.ts | 4 --- apps/web/lib/news.ts | 47 -------------------------- apps/web/lib/products.ts | 25 ++------------ apps/web/tests/catalog.test.mjs | 9 ++--- apps/web/tests/sites.test.mjs | 2 +- apps/web/tests/structured-data.test.mjs | 2 -- 7 files changed, 12 insertions(+), 137 deletions(-) diff --git a/apps/web/lib/catalog-messages.ts b/apps/web/lib/catalog-messages.ts index e753dcc..e990936 100644 --- a/apps/web/lib/catalog-messages.ts +++ b/apps/web/lib/catalog-messages.ts @@ -3,8 +3,8 @@ import type { Locale } from "./localization"; -type Slug = "tazel" | "catch3" | "opentala"; -type Category = "build" | "testing" | "operating-system"; +type Slug = "tazel" | "catch3"; +type Category = "build" | "testing"; interface ProductText { tagline: string; @@ -86,7 +86,7 @@ export const catalogMessages: Record<Locale, CatalogMessages> = { "en-US": { metadataTitle: "Products", metadataDescription: - "The projects of Progmasoft: Tazel, Catch3 and OpenTala, by category, language and status.", + "The projects of Progmasoft: Tazel and Catch3, by category, language and status.", eyebrow: "Progmasoft projects", title: "Products", description: @@ -142,7 +142,6 @@ export const catalogMessages: Record<Locale, CatalogMessages> = { categories: { build: "Build system", testing: "Testing", - "operating-system": "Operating system", }, categoriesTitle: "Projects by category", categoriesDescription: "What each project is for.", @@ -176,23 +175,12 @@ export const catalogMessages: Record<Locale, CatalogMessages> = { "Its own runner with parallel workers, retries, history and per-test coverage, and mocks", ], }, - opentala: { - tagline: "A kernel with Darwin's system call ABI.", - description: - "OpenTala is the independent hybrid kernel of TalaOS. It loads as Mach-O, takes Darwin's system calls with XNU's numbers, and runs on amd64 and arm64.", - features: [ - "Boots on amd64 through Multiboot and on arm64 on QEMU's virt machine", - "User mode with Darwin's BSD system calls and Mach traps", - "Mach IPC: ports, rights and mach_msg", - "Every boot checked in QEMU on both machines", - ], - }, }, }, "de-DE": { metadataTitle: "Produkte", metadataDescription: - "Die Projekte von Progmasoft: Tazel, Catch3 und OpenTala, nach Kategorie, Sprache und Stand.", + "Die Projekte von Progmasoft: Tazel und Catch3, nach Kategorie, Sprache und Stand.", eyebrow: "Progmasoft-Projekte", title: "Produkte", description: @@ -248,7 +236,6 @@ export const catalogMessages: Record<Locale, CatalogMessages> = { categories: { build: "Build-System", testing: "Testen", - "operating-system": "Betriebssystem", }, categoriesTitle: "Projekte nach Kategorie", categoriesDescription: "Wofür jedes Projekt da ist.", @@ -282,23 +269,12 @@ export const catalogMessages: Record<Locale, CatalogMessages> = { "Ein eigener Runner mit parallelen Workern, Wiederholungen, Historie und Abdeckung pro Test, dazu Mocks", ], }, - opentala: { - tagline: "Ein Kernel mit Darwins Systemaufruf-ABI.", - description: - "OpenTala ist der eigenständige Hybridkernel von TalaOS. Er wird als Mach-O geladen, nimmt Darwins Systemaufrufe mit den Nummern von XNU entgegen und läuft auf amd64 und arm64.", - features: [ - "Startet auf amd64 über Multiboot und auf arm64 auf QEMUs virt-Maschine", - "Benutzermodus mit Darwins BSD-Systemaufrufen und Mach-Traps", - "Mach-IPC: Ports, Rechte und mach_msg", - "Jeder Start in QEMU auf beiden Maschinen geprüft", - ], - }, }, }, "ru-RU": { metadataTitle: "Продукты", metadataDescription: - "Проекты Progmasoft: Tazel, Catch3 и OpenTala — по категориям, языкам и состоянию.", + "Проекты Progmasoft: Tazel и Catch3 — по категориям, языкам и состоянию.", eyebrow: "Проекты Progmasoft", title: "Продукты", description: @@ -354,7 +330,6 @@ export const catalogMessages: Record<Locale, CatalogMessages> = { categories: { build: "Система сборки", testing: "Тестирование", - "operating-system": "Операционная система", }, categoriesTitle: "Проекты по категориям", categoriesDescription: "Для чего нужен каждый проект.", @@ -388,23 +363,12 @@ export const catalogMessages: Record<Locale, CatalogMessages> = { "Свой запускатель с параллельными процессами, повторами, историей и покрытием по тестам, а также моки", ], }, - opentala: { - tagline: "Ядро с ABI системных вызовов Darwin.", - description: - "OpenTala — независимое гибридное ядро TalaOS. Оно загружается как Mach-O, принимает системные вызовы Darwin с номерами XNU и работает на amd64 и arm64.", - features: [ - "Загружается на amd64 через Multiboot и на arm64 на машине virt в QEMU", - "Пользовательский режим с системными вызовами BSD и ловушками Mach из Darwin", - "Mach IPC: порты, права и mach_msg", - "Каждая загрузка проверяется в QEMU на обеих машинах", - ], - }, }, }, "fr-FR": { metadataTitle: "Produits", metadataDescription: - "Les projets de Progmasoft : Tazel, Catch3 et OpenTala, par catégorie, langage et état.", + "Les projets de Progmasoft : Tazel et Catch3, par catégorie, langage et état.", eyebrow: "Projets de Progmasoft", title: "Produits", description: @@ -460,7 +424,6 @@ export const catalogMessages: Record<Locale, CatalogMessages> = { categories: { build: "Système de build", testing: "Tests", - "operating-system": "Système d’exploitation", }, categoriesTitle: "Projets par catégorie", categoriesDescription: "À quoi sert chaque projet.", @@ -494,17 +457,6 @@ export const catalogMessages: Record<Locale, CatalogMessages> = { "Son propre runner avec des workers parallèles, des reprises, un historique et la couverture par test, ainsi que des mocks", ], }, - opentala: { - tagline: "Un noyau avec l’ABI des appels système de Darwin.", - description: - "OpenTala est le noyau hybride indépendant de TalaOS. Il se charge en Mach-O, reçoit les appels système de Darwin avec les numéros de XNU et fonctionne sur amd64 et arm64.", - features: [ - "Démarre sur amd64 par Multiboot et sur arm64 sur la machine virt de QEMU", - "Mode utilisateur avec les appels système BSD et les traps Mach de Darwin", - "IPC Mach : ports, droits et mach_msg", - "Chaque démarrage vérifié dans QEMU sur les deux machines", - ], - }, }, }, }; diff --git a/apps/web/lib/home-messages.ts b/apps/web/lib/home-messages.ts index a383136..5983b17 100644 --- a/apps/web/lib/home-messages.ts +++ b/apps/web/lib/home-messages.ts @@ -77,7 +77,6 @@ export const homeMessages: Record<Locale, HomeMessages> = { showcase: { title: "What we make", learnMore: "Learn more" }, lines: { tazel: "Builds C, C++ and Zig. Redoes only what changed.", - opentala: "A kernel that speaks Darwin. It boots today.", catch3: "C++ tests that hunt for the failing case.", }, principles: { @@ -151,7 +150,6 @@ export const homeMessages: Record<Locale, HomeMessages> = { showcase: { title: "Was wir machen", learnMore: "Mehr erfahren" }, lines: { tazel: "Baut C, C++ und Zig. Und nur, was sich geändert hat.", - opentala: "Ein Kernel, der Darwin spricht. Er bootet schon heute.", catch3: "C++-Tests, die den fehlschlagenden Fall aufspüren.", }, principles: { @@ -225,7 +223,6 @@ export const homeMessages: Record<Locale, HomeMessages> = { showcase: { title: "Что мы делаем", learnMore: "Подробнее" }, lines: { tazel: "Собирает C, C++ и Zig. Пересобирает только изменённое.", - opentala: "Ядро, говорящее на языке Darwin. Оно уже загружается.", catch3: "Тесты C++, которые находят случай, где всё ломается.", }, principles: { @@ -299,7 +296,6 @@ export const homeMessages: Record<Locale, HomeMessages> = { showcase: { title: "Ce que nous faisons", learnMore: "En savoir plus" }, lines: { tazel: "Construit C, C++ et Zig. Ne refait que ce qui a changé.", - opentala: "Un noyau qui parle Darwin. Il démarre déjà.", catch3: "Des tests C++ qui traquent le cas qui échoue.", }, principles: { diff --git a/apps/web/lib/news.ts b/apps/web/lib/news.ts index 87321d0..f8af0fa 100644 --- a/apps/web/lib/news.ts +++ b/apps/web/lib/news.ts @@ -90,53 +90,6 @@ const sources: ArticleSource[] = [ }, }, }, - { - date: "2026-11-20", - product: "opentala", - release: "0.1.0", - text: { - "en-US": { - title: "OpenTala 0.1.0 boots on amd64 and arm64", - summary: - "The first release of OpenTala runs programs in user mode through Darwin's system call ABI and Mach IPC, on QEMU for both architectures.", - body: [ - "OpenTala 0.1.0 is the first release of the kernel. It boots on amd64 through Multiboot and on arm64 on QEMU's virt machine, enters user mode, runs a program and gives every page back when the program ends.", - "Programs speak Darwin's system call ABI: syscall on amd64 and svc #0x80 on arm64, the BSD table and the Mach trap table with XNU's numbers, and the carry flag with errno on an error. Mach IPC has ports, a space of names per task with its rights, and mach_msg. A call that is not there ends in SIGSYS, and an exception kills the process with its signal instead of stopping the kernel.", - "User pages are no-execute, the kernel's memory is closed to user mode, and SMEP and SMAP are on from the start on amd64, PXN, UXN and PAN on arm64. Every boot in CI checks the kernel on both machines, and the release carries the two kernels with their SHA-256 sums.", - ], - }, - "de-DE": { - title: "OpenTala 0.1.0 bootet auf amd64 und arm64", - summary: - "Die erste Version von OpenTala führt Programme im Benutzermodus über Darwins Systemaufruf-ABI und Mach IPC aus, in QEMU für beide Architekturen.", - body: [ - "OpenTala 0.1.0 ist die erste Version des Kernels. Er bootet auf amd64 über Multiboot und auf arm64 auf der virt-Maschine von QEMU, wechselt in den Benutzermodus, führt ein Programm aus und gibt jede Seite zurück, wenn das Programm endet.", - "Programme sprechen Darwins Systemaufruf-ABI: syscall auf amd64 und svc #0x80 auf arm64, die BSD-Tabelle und die Mach-Trap-Tabelle mit den Nummern von XNU, und bei einem Fehler das Carry-Flag mit errno. Mach IPC bietet Ports, einen Namensraum je Task mit seinen Rechten und mach_msg. Ein fehlender Aufruf endet mit SIGSYS, und eine Ausnahme beendet den Prozess mit seinem Signal, statt den Kernel anzuhalten.", - "Benutzerseiten sind nicht ausführbar, der Speicher des Kernels ist für den Benutzermodus gesperrt, und SMEP und SMAP sind auf amd64 von Anfang an aktiv, PXN, UXN und PAN auf arm64. Jeder Bootvorgang in der CI prüft den Kernel auf beiden Maschinen, und die Version enthält beide Kernel mit ihren SHA-256-Summen.", - ], - }, - "ru-RU": { - title: "OpenTala 0.1.0 загружается на amd64 и arm64", - summary: - "Первый выпуск OpenTala запускает программы в пользовательском режиме через ABI системных вызовов Darwin и Mach IPC, в QEMU для обеих архитектур.", - body: [ - "OpenTala 0.1.0 — первый выпуск ядра. Оно загружается на amd64 через Multiboot и на arm64 на машине virt в QEMU, переходит в пользовательский режим, запускает программу и возвращает каждую страницу, когда программа завершается.", - "Программы говорят на ABI системных вызовов Darwin: syscall на amd64 и svc #0x80 на arm64, таблица BSD и таблица ловушек Mach с номерами XNU, а при ошибке — флаг переноса и errno. Mach IPC даёт порты, пространство имён каждой задачи с её правами и mach_msg. Отсутствующий вызов завершается сигналом SIGSYS, а исключение завершает процесс его сигналом, не останавливая ядро.", - "Пользовательские страницы не исполняемы, память ядра закрыта для пользовательского режима, SMEP и SMAP включены с самого начала на amd64, PXN, UXN и PAN — на arm64. Каждая загрузка в CI проверяет ядро на обеих машинах, а выпуск содержит оба ядра с их суммами SHA-256.", - ], - }, - "fr-FR": { - title: "OpenTala 0.1.0 démarre sur amd64 et arm64", - summary: - "La première version d'OpenTala exécute des programmes en mode utilisateur par l'ABI d'appels système de Darwin et Mach IPC, sous QEMU pour les deux architectures.", - body: [ - "OpenTala 0.1.0 est la première version du noyau. Il démarre sur amd64 par Multiboot et sur arm64 sur la machine virt de QEMU, passe en mode utilisateur, exécute un programme et rend chaque page quand le programme se termine.", - "Les programmes parlent l'ABI d'appels système de Darwin : syscall sur amd64 et svc #0x80 sur arm64, la table BSD et la table des traps Mach avec les numéros de XNU, et en cas d'erreur le drapeau de retenue avec errno. Mach IPC offre des ports, un espace de noms par tâche avec ses droits, et mach_msg. Un appel absent se termine par SIGSYS, et une exception tue le processus avec son signal au lieu d'arrêter le noyau.", - "Les pages utilisateur ne sont pas exécutables, la mémoire du noyau est fermée au mode utilisateur, SMEP et SMAP sont actifs dès le départ sur amd64, PXN, UXN et PAN sur arm64. Chaque démarrage en CI vérifie le noyau sur les deux machines, et la version fournit les deux noyaux avec leurs sommes SHA-256.", - ], - }, - }, - }, { date: "2026-11-15", product: "catch3", diff --git a/apps/web/lib/products.ts b/apps/web/lib/products.ts index 16b8942..db1e620 100644 --- a/apps/web/lib/products.ts +++ b/apps/web/lib/products.ts @@ -10,21 +10,17 @@ export { catalogMessages, type CatalogMessages } from "./catalog-messages.ts"; * The projects of product.progmasoft.com, in the order the catalog lists * them. Each has a page there; the catalog introduces it and leads on. */ -export const productSlugs = ["tazel", "catch3", "opentala"] as const; +export const productSlugs = ["tazel", "catch3"] as const; export type ProductSlug = (typeof productSlugs)[number]; export function isProductSlug(value: string): value is ProductSlug { return productSlugs.includes(value as ProductSlug); } -export const productCategories = [ - "build", - "testing", - "operating-system", -] as const; +export const productCategories = ["build", "testing"] as const; export type ProductCategory = (typeof productCategories)[number]; -export const productLanguages = ["C", "C#", "C++"] as const; +export const productLanguages = ["C#", "C++"] as const; export type ProductLanguage = (typeof productLanguages)[number]; /** `released` once a version is out; `development` before the first one. */ @@ -99,21 +95,6 @@ export const products: Record<ProductSlug, ProductFacts> = { }, accent: "green", }, - opentala: { - name: "OpenTala", - ...github("opentala"), - license: "MIT", - language: "C", - category: "operating-system", - status: "released", - started: "2026-11-18", - latestRelease: { - version: "0.1.0", - date: "2026-11-20", - url: "https://github.com/Progmasoft/opentala/releases/tag/opentala-0.1.0", - }, - accent: "slate", - }, }; export function getCatalogMessages(locale: Locale): CatalogMessages { diff --git a/apps/web/tests/catalog.test.mjs b/apps/web/tests/catalog.test.mjs index f389eeb..3aeefd7 100644 --- a/apps/web/tests/catalog.test.mjs +++ b/apps/web/tests/catalog.test.mjs @@ -21,12 +21,7 @@ test("an empty search finds every project in catalog order", () => { }); test("the query matches names, categories and text without regard to case", () => { - expect(filterProducts("en-US", { query: "OPENTALA" })).toStrictEqual([ - "opentala", - ]); - expect(filterProducts("en-US", { query: "darwin" })).toStrictEqual([ - "opentala", - ]); + expect(filterProducts("en-US", { query: "TAZEL" })).toStrictEqual(["tazel"]); expect(filterProducts("en-US", { query: "build system" })).toStrictEqual([ "tazel", ]); @@ -45,7 +40,7 @@ test("category, language and status narrow the search together", () => { ]); expect( filterProducts("en-US", { query: "", status: "released" }), - ).toStrictEqual(["tazel", "catch3", "opentala"]); + ).toStrictEqual(["tazel", "catch3"]); expect( filterProducts("en-US", { query: "", diff --git a/apps/web/tests/sites.test.mjs b/apps/web/tests/sites.test.mjs index 20fc783..882aada 100644 --- a/apps/web/tests/sites.test.mjs +++ b/apps/web/tests/sites.test.mjs @@ -37,7 +37,7 @@ test("every language has the same home and catalog text", () => { }); test("the catalog lists the projects, each with its repository", () => { - expect([...productSlugs]).toStrictEqual(["tazel", "catch3", "opentala"]); + expect([...productSlugs]).toStrictEqual(["tazel", "catch3"]); for (const slug of productSlugs) { const product = products[slug]; if (product.site !== undefined) { diff --git a/apps/web/tests/structured-data.test.mjs b/apps/web/tests/structured-data.test.mjs index 980f66b..8b26598 100644 --- a/apps/web/tests/structured-data.test.mjs +++ b/apps/web/tests/structured-data.test.mjs @@ -51,8 +51,6 @@ test("every project has its data in every language", () => { test("a released project names its version", () => { expect(productData("catch3", "en-US").creativeWorkStatus).toBe("Released"); expect(productData("tazel", "en-US").version).toBe("0.4.0"); - expect(productData("opentala", "en-US").creativeWorkStatus).toBe("Released"); - expect(productData("opentala", "en-US").version).toBe("0.1.0"); }); test("the catalog lists every project in order", () => {