@@ -256,7 +256,7 @@ def writelines(classification, lines):
256256 f'"There are { len (projects [classification ])} projects with this classification"'
257257 ]
258258 lines += [
259- f"\n - [{ p .name } ](p/{ p .short_uuid } )"
259+ f"\n - [{ p .name } ](../ p/{ p .short_uuid } )"
260260 for p in projects [classification ]
261261 ]
262262 writelines (classification , lines )
@@ -331,7 +331,7 @@ def update_assets_classification(
331331 f'??? note "There are { len (projects [name ])} projects with this classification"'
332332 )
333333 lines += [
334- f"\n - [{ p .name } ](p/ { p .short_uuid } )" for p in projects [name ]
334+ f"\n - [{ p .name } ]({ p .short_uuid } )" for p in projects [name ]
335335 ]
336336 else :
337337 lines .append ("**No project with this classification**" )
@@ -430,15 +430,19 @@ def update_julia(self, name=None):
430430 project .update_julia ()
431431 self .dao .update (project .name_id , julia = project .julia )
432432
433- def update_checkups (self , name = None , checker = None ):
433+ def update_checkups (self , name = None , checker = None , update_all = False ):
434434 """
435435 Updates checkups data.
436- If <name> is not given, runs on all the members.
437- Otherwise, all the members with name_id that contains <name>
438- as substring are checked.
439- <checker> can be something like test_classifications.py::test_004 or nothing"
436+ Args:
437+ name: If not given, runs on all the members. Otherwise, all the members with `name_id`
438+ that contains <name> as substring are checked.
439+ checker: It can be something like test_classifications.py::test_004 or nothing
440+ update_all: If False (default) runs on all project. Otherwise Alumni are excluded.
440441 """
441442 for project in self .dao .get_all (name ):
443+ if project .status == "Alumni" and not update_all :
444+ # "Alumni" projects are not updated in their checkups
445+ continue
442446 project .update_checkups (checker = checker )
443447 if project .checks :
444448 for checkup_id , checkup in project .checks .items ():
0 commit comments