@@ -69,25 +69,31 @@ def analyse_contents(self, config: Dict) -> str:
69
69
swdirs = [ # all directory names with the pattern: <prefix>/software/<name>/<version>
70
70
member .path
71
71
for member in members
72
- if member .isdir () and PurePosixPath (member .path ).match (os .path .join (prefix , " software" , "*" , "*" ))
72
+ if member .isdir () and PurePosixPath (member .path ).match (os .path .join (prefix , ' software' , '*' , '*' ))
73
73
]
74
74
modfiles = [ # all filenames with the pattern: <prefix>/modules/<category>/<name>/*.lua
75
75
member .path
76
76
for member in members
77
77
if member .isfile ()
78
- and PurePosixPath (member .path ).match (os .path .join (prefix , " modules" , "*" , "*" , " *.lua" ))
78
+ and PurePosixPath (member .path ).match (os .path .join (prefix , ' modules' , '*' , '*' , ' *.lua' ))
79
79
]
80
- other = [ # anything that is not in <prefix>/software nor <prefix>/modules
80
+ reprod_dirs = [
81
+ member .path
82
+ for member in members
83
+ if member .isdir () and PurePosixPath (member .path ).match (os .path .join (prefix , 'reprod' , '*' , '*' , '*' ))
84
+ ]
85
+ other = [ # anything that is not in <prefix>/software nor <prefix>/modules nor <prefix>/reprod
81
86
member .path
82
87
for member in members
83
88
if (
84
- not PurePosixPath (prefix ).joinpath ("software" ) in PurePosixPath (member .path ).parents
85
- and not PurePosixPath (prefix ).joinpath ("modules" ) in PurePosixPath (member .path ).parents
89
+ not PurePosixPath (prefix ).joinpath ('software' ) in PurePosixPath (member .path ).parents
90
+ and not PurePosixPath (prefix ).joinpath ('modules' ) in PurePosixPath (member .path ).parents
91
+ and not PurePosixPath (prefix ).joinpath ('reprod' ) in PurePosixPath (member .path ).parents
86
92
)
87
93
# if not fnmatch.fnmatch(m.path, os.path.join(prefix, 'software', '*'))
88
94
# and not fnmatch.fnmatch(m.path, os.path.join(prefix, 'modules', '*'))
89
95
]
90
- members_list = sorted (swdirs + modfiles + other )
96
+ members_list = sorted (swdirs + modfiles + reprod_dirs + other )
91
97
92
98
# construct the overview
93
99
overview = config ["github" ]["task_summary_payload_overview_template" ].format (
0 commit comments