|
|
@@ -19,6 +19,10 @@ ROOT = Path(__file__).resolve().parents[2]
|
|
|
|
|
|
ARTIFACT_SOURCE_COMMIT = "0de9f93988344e3c11931482902196b02ac7a713"
|
|
|
ARTIFACT_SOURCE_SHORT = "0de9f939"
|
|
|
+FINAL_DEV_CONTENT_TIP = "03ab80b63d0056ba41a02a844fcee379fb8beb03"
|
|
|
+FINAL_DEV_CONTENT_TIP_SHORT = "03ab80b63d00"
|
|
|
+DEV_MERGE_HEAD = "503fa89a38c642ddeb8b159ce096415cca64d115"
|
|
|
+DEV_MERGE_HEAD_SHORT = "503fa89a38c6"
|
|
|
BITSTREAM_SHA256 = (
|
|
|
"54ce967da4dce40d7cbb6821eb1e8d7d95b3bdda27a7edf30cbcad7131cb667c"
|
|
|
)
|
|
|
@@ -28,6 +32,7 @@ TRUNCATE_SEMANTICS = "truncate_current_high_pulse_immediately_after_synchronized
|
|
|
PRIOR_BIT_SHORT = "45f548ab"
|
|
|
PRIOR_BIT_COMMIT = "bb515af"
|
|
|
BASELINE_TIP_SHORT = "cdf9f76"
|
|
|
+STALE_FINAL_DEV_SHORT = "98fdf610"
|
|
|
PENDING_MARKER = "pending final tip TD"
|
|
|
|
|
|
ACTIVITY_DOCS = (
|
|
|
@@ -51,6 +56,8 @@ PER_DOC_MARKERS = (
|
|
|
# Must appear somewhere in the activity-doc corpus.
|
|
|
CORPUS_REQUIRED = (
|
|
|
ARTIFACT_SOURCE_COMMIT,
|
|
|
+ FINAL_DEV_CONTENT_TIP,
|
|
|
+ DEV_MERGE_HEAD,
|
|
|
BITSTREAM_SHA256,
|
|
|
TD_TOOL_BUILD,
|
|
|
TRUNCATE_SEMANTICS,
|
|
|
@@ -68,6 +75,8 @@ CORPUS_REQUIRED = (
|
|
|
PRIOR_BIT_SHORT,
|
|
|
PRIOR_BIT_COMMIT,
|
|
|
"ARTIFACT-SOURCE-COMMIT",
|
|
|
+ "FINAL-DEV",
|
|
|
+ "SOURCE-CLOSURE-UNCHANGED",
|
|
|
)
|
|
|
|
|
|
# Superseded identifiers / policies that must not be presented as current tip truth.
|
|
|
@@ -134,6 +143,13 @@ STALE_AS_CURRENT = (
|
|
|
re.compile(re.escape(PENDING_MARKER)),
|
|
|
"unbound pending marker still present in activity docs after tip TD bind",
|
|
|
),
|
|
|
+ (
|
|
|
+ re.compile(
|
|
|
+ r"(?i)(?:FINAL-DEV(?:-COMMIT)?|文档 tip|内容 tip)\s*[|::=]*\s*`?"
|
|
|
+ + STALE_FINAL_DEV_SHORT
|
|
|
+ ),
|
|
|
+ "stale FINAL-DEV 98fdf610 presented as current tip",
|
|
|
+ ),
|
|
|
)
|
|
|
|
|
|
ROOT_RESIDUE = (
|