Skip to content

Update eclipsefdn projects widget to handle new releases format

We need to update the projects widget to support the new project response from the API https://projects.eclipse.org/api/projects and handle it as an additional request to get all the releases data if needed.

This arose an issue for eclipsefdn/it/websites/ecdtools.eclipse.org#269 (closed)

[
	{
		"nid": "23548",
		"project_id": "ecd.cdt-cloud",
		"short_project_id": "cdt-cloud",
		"name": "Eclipse CDT Cloud",
		"url": "https://projects.eclipse.org/projects/ecd.cdt-cloud",
		"tags": [...],
		"github_repos": [...],
		...
		"releases": "https://projects.eclipse.org/api/projects/ecd.cdt-cloud/releases", <-- This will now be a URL pointing to an API to fetch the releases information
		...
	}
]
Edited by Jordi Gómez