Grab project list and packages from Drupal database or XML

Created on 16 January 2010, about 15 years ago
Updated 27 May 2024, 11 months ago

Problem/Motivation

The API module supports having multiple projects/branches on the site, if you add them as configuration either manually or via Drush.

It would be desirable to set up projects/branches by getting the data from the Drupal Git system instead. There is an API for getting the project list:
https://www.drupal.org/drupalorg/docs/api

And then the update status XML would tell us which projects/branches have releases:
http://updates.drupal.org/release-history/project-list/all

Here's some sample code that uses this API:
http://cgit.drupalcode.org/l10n_server/tree/connectors/l10n_drupal_rest

Proposed resolution

Make a sub-module of the API project that will read data on projects/branches from the Drupal Git API and update the project/branch list in the API module appropriately.

Remaining tasks

TBD

User interface changes

TBD

API changes

TBD

Data model changes

TBD

Feature request
Status

Closed: outdated

Version

1.0

Component

Other

Created by

🇫🇷France Damien Tournoud

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • 🇪🇸Spain fjgarlin

    The current version of the module only needs the https git URL and it will download all branches automatically and set them up in separate folders. There is also a drush command to upsert projects or branches. This approach covers many of the points mentioned above.

    Getting more projects could be automated if needed with the above commands. Closing this as outdated.

Production build 0.71.5 2024