Roadmap: announce = true marks items Kira also posts on X when they ship
Kira's X poster (kira #12) posts shipped items flagged announce in journal.json. Set on the five whose release is news: modpack world generation, the mod registry, Discord Rich Presence, Microsoft sign-in and CurseForge. Flags must be booleans. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -20,6 +20,7 @@ dev = """26.3's dialog packets and model (#1720), ...""" # crates, a
|
||||
links = ["#1720", "#1734", "docs/hosting.md"] # #N, a repository path, or https://
|
||||
shipped_in = "v0.2.58" # shipped items only: a game tag, launcher@x.y.z, or "website"
|
||||
post = "..." # optional: the announcement when it ships, if `plain` doesn't read as one
|
||||
announce = true # optional: when it ships, Kira also posts it on X (`post`, else `plain`)
|
||||
```
|
||||
|
||||
- **No dates, ever**: Now, Next, Later. The check rejects month names, years, quarters and "next week".
|
||||
|
||||
@@ -91,6 +91,7 @@ id = "modpack-worldgen"
|
||||
title = "Modpacks' world generation, natively"
|
||||
status = "now"
|
||||
area = "modpacks"
|
||||
announce = true
|
||||
focus = true
|
||||
plain = """Making the world-generation mods of popular modpacks (new structures, YUNG's dungeons and mineshafts, \
|
||||
packs built on Lithostitched) generate their worlds in Horizon, natively and fast."""
|
||||
@@ -135,6 +136,7 @@ id = "mod-registry"
|
||||
title = "Horizon's mod registry"
|
||||
status = "now"
|
||||
area = "mods"
|
||||
announce = true
|
||||
focus = true
|
||||
plain = """One place for mods, modpacks and resource packs made for Horizon: browse them on the website and \
|
||||
install them from the launcher in one click."""
|
||||
@@ -185,6 +187,7 @@ id = "discord-presence"
|
||||
title = "Discord Rich Presence"
|
||||
status = "now"
|
||||
area = "extras"
|
||||
announce = true
|
||||
plain = """Your Discord profile can show that you are playing Horizon, with a switch to turn it off."""
|
||||
dev = """A Discord IPC client on its own thread (#1787) and the presence with its setting (#1788). Merged: it ships \
|
||||
with the next release."""
|
||||
@@ -210,6 +213,7 @@ id = "microsoft-sign-in"
|
||||
title = "Microsoft sign-in (coming soon)"
|
||||
status = "next"
|
||||
area = "launcher"
|
||||
announce = true
|
||||
plain = """Coming soon: sign in with your Microsoft account to play on online-mode servers. The code is ready; it \
|
||||
waits for Microsoft's approval."""
|
||||
dev = """Device-code sign-in in the launcher and online-mode login in the client (docs/microsoft-account.md). It is \
|
||||
@@ -222,6 +226,7 @@ id = "curseforge"
|
||||
title = "CurseForge in the mod browser (coming soon)"
|
||||
status = "next"
|
||||
area = "modpacks"
|
||||
announce = true
|
||||
plain = """Coming soon: search and download CurseForge mods and modpacks from the launcher, as you can with \
|
||||
Modrinth today."""
|
||||
dev = """The mod browser lists CurseForge as coming soon (docs/mod-browser.md): it needs CurseForge API access. \
|
||||
|
||||
@@ -114,6 +114,10 @@ class Rules(unittest.TestCase):
|
||||
self.assertTrue(any("link" in p for p in self.problems(links=["docs/nothing-here.md"])))
|
||||
self.assertTrue(any("link" in p for p in self.problems(links=["http://example.com"])))
|
||||
|
||||
def test_flags_are_true_or_false(self):
|
||||
self.assertEqual(self.problems(announce=True), [])
|
||||
self.assertTrue(any("announce is true or false" in p for p in self.problems(announce="yes")))
|
||||
|
||||
def test_three_to_five_items_in_focus(self):
|
||||
self.assertTrue(any("focus" in p for p in self.problems(focus=False)))
|
||||
|
||||
|
||||
+5
-1
@@ -45,7 +45,8 @@ STALE_DAYS = 14 # a Now item needs an open pull request, or one merged this rec
|
||||
LABEL_PREFIX = "roadmap:"
|
||||
# GitHub label colours by status, from the design system's palette.
|
||||
LABEL_COLOURS = {"now": "5b3fd6", "next": "9a86ff", "later": "c5c7d1", "help-wanted": "1d7a48", "shipped": "646875"}
|
||||
ITEM_KEYS = {"id", "title", "status", "area", "plain", "dev", "links", "focus", "ongoing", "shipped_in", "post"}
|
||||
ITEM_KEYS = {"id", "title", "status", "area", "plain", "dev", "links", "focus", "ongoing", "shipped_in", "post",
|
||||
"announce"}
|
||||
|
||||
ISSUE = re.compile(r"#(\d+)$")
|
||||
ID = re.compile(r"[a-z0-9]+(-[a-z0-9]+)*$")
|
||||
@@ -127,6 +128,9 @@ def validate(data, root=ROOT):
|
||||
problems.append(f"{where}: shipped_in {shipped_in!r} is not a release tag or \"website\"")
|
||||
elif shipped_in:
|
||||
problems.append(f"{where}: only shipped items have shipped_in")
|
||||
for key in ("focus", "ongoing", "announce"):
|
||||
if key in item and not isinstance(item[key], bool):
|
||||
problems.append(f"{where}: {key} is true or false")
|
||||
if item.get("ongoing") and status not in ("now", "next", "later"):
|
||||
problems.append(f"{where}: only Now, Next and Later items are ongoing")
|
||||
if item.get("focus") and status != "now":
|
||||
|
||||
Reference in New Issue
Block a user