Skip to content
Snippets Groups Projects
Commit 6b5f5099 authored by Björn Brala's avatar Björn Brala
Browse files

add few todos

parent b49a367d
Branches feature/generate-tsv-locally
No related tags found
No related merge requests found
Pipeline #38255 failed
......@@ -52,6 +52,10 @@ class ProduceProjectsTSV {
continue;
}
// @todo also save maintainer json
// 'https://www.drupal.org/project/' . $project_shortname . '/maintainers.json'
// @todo save this
// Get update XML data to figure out Drupal 9 compatible releases.
$update_info = file_get_contents('https://updates.drupal.org/release-history/' . $project_shortname . '/current');
try {
......@@ -77,7 +81,7 @@ class ProduceProjectsTSV {
$d9_releases[(string) $release->version] = $release->core_compatibility;
}
}
// This is a Drupal 9 compatible release (roughly).
// This is a Drupal 10 compatible release (roughly).
if (!empty($release->core_compatibility) && Semver::satisfies('10.0.0', $release->core_compatibility)) {
if (preg_match('!-dev$!', $release->version)) {
$d10_releases[(string) $release->version] = $release->core_compatibility;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment