Rework how room versions are represented

Versions are actually on a scale of recommendations, and are expected to be created as needed. The scale presented here (develop/beta/default/recommended/mandatory) is a more wordy version of what was previously discussed/intended for room versions - the labels aren't final and may be changed.
This commit is contained in:
Travis Ralston 2019-01-16 16:57:45 -07:00
parent 258aba5fed
commit 71e6321f4d
11 changed files with 91 additions and 268 deletions

View file

@ -529,10 +529,6 @@ if __name__ == '__main__':
"--identity_release", "-i", action="store", default="unstable",
help="The identity service release tag to generate, e.g. r1.2"
)
parser.add_argument(
"--room_version", "-r", action="store", default="unstable",
help="The current room version to advertise, e.g. v2"
)
parser.add_argument(
"--list_targets", action="store_true",
help="Do not update the specification. Instead print a list of targets.",
@ -559,7 +555,6 @@ if __name__ == '__main__':
"%APPSERVICE_RELEASE_LABEL%": args.appservice_release,
"%IDENTITY_RELEASE_LABEL%": args.identity_release,
"%PUSH_GATEWAY_RELEASE_LABEL%": args.push_gateway_release,
"%CURRENT_ROOM_VERSION%": args.room_version,
}
exit (main(args.target or ["all"], args.dest, args.nodelete, substitutions))

View file

@ -757,7 +757,6 @@ class MatrixUnits(Units):
is_ver = substitutions.get("%IDENTITY_RELEASE_LABEL%", "unstable")
as_ver = substitutions.get("%APPSERVICE_RELEASE_LABEL%", "unstable")
push_gw_ver = substitutions.get("%PUSH_GATEWAY_RELEASE_LABEL%", "unstable")
room_ver = substitutions.get("%CURRENT_ROOM_VERSION%", "unstable")
# we abuse the typetable to return this info to the templates
return TypeTable(rows=[
@ -781,10 +780,6 @@ class MatrixUnits(Units):
"`Push Gateway API <push_gateway/"+push_gw_ver+".html>`_",
push_gw_ver,
"Push notifications for Matrix events",
), TypeTableRow(
"`Rooms <rooms/"+room_ver+".html>`_",
room_ver,
"Specification for behaviour of rooms, such as event formats",
),
])