File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Load diff This file was deleted.
Original file line number Diff line number Diff line change 1313 "cmem-plugin-base" , # not a plugin
1414 "cmem-plugin-databus" , # no support / maintainer
1515 "cmem-plugin-examples" , # only for testing
16+ "cmem-plugin-python" , # only for testing
1617 "cmem-plugin-kaggle" , # no support / maintainer
1718 "cmem-plugin-reason" , # java dependency with critical vulnerabilities
1819 "cmem-plugin-sparql-anything" , # java dependency with critical vulnerabilities
Original file line number Diff line number Diff line change @@ -33,13 +33,11 @@ def get_package_names() -> list[str]:
3333 return plugin_list
3434
3535
36- def get_package_names_with_prefix (prefix : str , ignore : list [ str ] ) -> list [str ]:
37- """Fetch list of package names from pypi.org"""
36+ def get_package_names_with_prefix (prefix : str ) -> list [str ]:
37+ """Fetch the list of package names from pypi.org"""
3838 all_names = get_package_names ()
39- plugin_list = [name for name in all_names if name .startswith (prefix ) and name not in ignore ]
40- loguru .logger .info (
41- f"Found { len (plugin_list )} packages with prefix '{ prefix } ' (ignoring { ignore !s} )"
42- )
39+ plugin_list = [name for name in all_names if name .startswith (prefix )]
40+ loguru .logger .info (f"Found { len (plugin_list )} packages with prefix '{ prefix } '" )
4341 return plugin_list
4442
4543
@@ -72,7 +70,10 @@ def get_package_details(package_id: str) -> PackageDetails | None:
7270def fetch_all_details (prefix : str , ignore : list [str ]) -> list [dict ]:
7371 """Fetch plugin details"""
7472 plugin_info_list = []
75- for package in get_package_names_with_prefix (prefix = prefix , ignore = ignore ):
73+ for package in get_package_names_with_prefix (prefix = prefix ):
74+ if package in ignore :
75+ loguru .logger .warning (f"Package '{ package } ' ignored since in ignore list." )
76+ continue
7677 package_info = get_package_details (package )
7778 if not package_info :
7879 loguru .logger .warning (f"No package info available for package '{ package } '." )
Original file line number Diff line number Diff line change 8080 "id" : " cmem-plugin-nextcloud" ,
8181 "name" : " cmem-plugin-nextcloud" ,
8282 "summary" : " Extract and process data from your Nextcloud instance." ,
83- "latest_version" : " 1.4.2 " ,
84- "latest_version_time" : " 2025-08-04T13:15:45 "
83+ "latest_version" : " 1.4.3 " ,
84+ "latest_version_time" : " 2025-08-12T10:50:43 "
8585 },
8686 {
8787 "id" : " cmem-plugin-number-conversion" ,
132132 "latest_version" : " 5.2.0" ,
133133 "latest_version_time" : " 2025-07-03T19:44:25"
134134 },
135- {
136- "id" : " cmem-plugin-python" ,
137- "name" : " cmem-plugin-python" ,
138- "summary" : " Write ad-hoc transformations and workflow tasks with Python." ,
139- "latest_version" : " 1.2.0" ,
140- "latest_version_time" : " 2025-05-12T09:12:37"
141- },
142135 {
143136 "id" : " cmem-plugin-salesforce" ,
144137 "name" : " cmem-plugin-salesforce" ,
You can’t perform that action at this time.
0 commit comments