@@ -106,22 +106,22 @@ def get_connector_version_status(connector, version):
106
106
if base_variant_version == version :
107
107
return f"`{ version } `"
108
108
else :
109
- return f"`{ version } ` ❌ (mismatch normal : `{ base_variant_version } `)"
109
+ return f"❌ `{ version } `<br/> (mismatch: `{ base_variant_version } `)"
110
110
111
111
112
112
def get_connector_changelog_status (connector , version ):
113
113
type , name = connector .replace ("-strict-encrypt" , "" ).split ("-" , 1 )
114
114
doc_path = f"{ DOC_PATH } { type } s/{ name } .md"
115
115
if not os .path .exists (doc_path ):
116
- return "⚠ (doc file not found)"
116
+ return "⚠<br/> (doc not found)"
117
117
with open (doc_path ) as f :
118
118
after_changelog = False
119
119
for line in f :
120
120
if "# changelog" in line .lower ():
121
121
after_changelog = True
122
122
if after_changelog and version in line :
123
123
return "✅"
124
- return "❌ (changelog missing)"
124
+ return "❌<br/> (changelog missing)"
125
125
126
126
def as_bulleted_markdown_list (items ):
127
127
text = ""
@@ -138,11 +138,11 @@ def as_markdown_table_row(connectors, definitions):
138
138
changelog_status = get_connector_changelog_status (connector , version )
139
139
definition = next ((x for x in definitions if x ["dockerRepository" ].endswith (connector )), None )
140
140
if definition is None :
141
- publish_status = "⚠ (connector not in definition )"
141
+ publish_status = "⚠<br/>( not in seed )"
142
142
elif definition ["dockerImageTag" ] == version :
143
143
publish_status = "✅"
144
144
else :
145
- publish_status = "❌ (version mismatch in seed definition )"
145
+ publish_status = "❌<br/>(diff seed version )"
146
146
text += f"| `{ connector } ` | { version_status } | { changelog_status } | { publish_status } |\n "
147
147
return text
148
148
0 commit comments