Skip to content

Commit

Permalink
CI: Update check_git_repository_name hard-coding exceptions
Browse files Browse the repository at this point in the history
  • Loading branch information
jcfr committed Mar 19, 2024
1 parent 7370577 commit 553c045
Showing 1 changed file with 64 additions and 0 deletions.
64 changes: 64 additions & 0 deletions scripts/check_description_files.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,9 @@ def check_git_repository_name(extension_name, metadata):

repo_name = os.path.splitext(urlparse.urlsplit(metadata["scmurl"]).path.split("/")[-1])[0]

if repo_name in REPOSITORY_NAME_CHECK_EXCEPTIONS:
return

if "slicer" not in repo_name.lower():

variations = [prefix + repo_name for prefix in ["Slicer-", "Slicer_", "SlicerExtension-", "SlicerExtension_"]]
Expand Down Expand Up @@ -185,5 +188,66 @@ def main():
sys.exit(total_failure_count)


REPOSITORY_NAME_CHECK_EXCEPTIONS = [
"3DMetricTools",
"ai-assisted-annotation-client",
"aigt",
"AnglePlanes-Extension",
"AnomalousFiltersExtension",
"BoneTextureExtension",
"CarreraSlice",
"ChangeTrackerPy",
"CMFreg",
"CurveMaker",
"DatabaseInteractorExtension",
"dcmqi",
"DSC_Analysis",
"EasyClip-Extension",
"ErodeDilateLabel",
"FilmDosimetryAnalysis",
"GelDosimetryAnalysis",
"GyroGuide",
"iGyne",
"ImageMaker",
"IntensitySegmenter",
"MeshStatisticsExtension",
"MeshToLabelMap",
"ModelClip",
"MONAILabel",
"mpReview",
"NeedleFinder",
"opendose3d",
"OsteotomyPlanner",
"PBNRR",
"PedicleScrewSimulator",
"PercutaneousApproachAnalysis",
"PerkTutor",
"PET-IndiC",
"PETLiverUptakeMeasurement",
"PETTumorSegmentation",
"PickAndPaintExtension",
"PkModeling",
"PortPlacement",
"Q3DCExtension",
"QuantitativeReporting",
"ResectionPlanner",
"ScatteredTransform",
"Scoliosis",
"SegmentationAidedRegistration",
"SegmentationReview",
"SegmentRegistration",
"ShapePopulationViewer",
"ShapeRegressionExtension",
"ShapeVariationAnalyzer",
"SkullStripper",
"SNRMeasurement",
"SPHARM-PDM",
"T1Mapping",
"TCIABrowser",
"ukftractography",
"VASSTAlgorithms",
]


if __name__ == "__main__":
main()

0 comments on commit 553c045

Please sign in to comment.