Commit ca2a86d 1 parent 264be32 commit ca2a86d Copy full SHA for ca2a86d
File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -35,8 +35,8 @@ def build_description(repo: CIRepository) -> str:
35
35
lines = [
36
36
"## TUF Repository state" ,
37
37
"" ,
38
- "| Role | Next signing | Signers |" ,
39
- "| - | - | - |" ,
38
+ "| Role | Signing starts | Expires | Signers |" ,
39
+ "| - | - | - | - | " ,
40
40
]
41
41
root = repo .root ()
42
42
targets = repo .targets ()
@@ -66,13 +66,13 @@ def build_description(repo: CIRepository) -> str:
66
66
expiry = delegate .expires
67
67
signing_days , _ = repo .signing_expiry_period (rolename )
68
68
signing = expiry - timedelta (days = signing_days )
69
+ signing_date = signing .strftime ('%Y-%m-%d' )
69
70
70
71
name_str = f'{ rolename } (<a href="{ json_link } ">json</a>)'
71
- date_str = f"[Starts { signing .strftime ('%Y-%m-%d' )} ](## '{ signing } - { expiry } ')"
72
72
threshold_str = f"{ role .threshold } of { len (signers )} "
73
73
signer_str = f"{ ', ' .join (signers )} ({ threshold_str } required)"
74
74
75
- lines .append (f"| { name_str } | { date_str } | { signer_str } |" )
75
+ lines .append (f"| { name_str } | { signing_date } | { expiry } UTC | { signer_str } |" )
76
76
77
77
now = datetime .now (UTC ).isoformat (timespec = "minutes" )
78
78
head = _git (["rev-parse" , "HEAD" ]).stdout .strip ()
You can’t perform that action at this time.
0 commit comments