Define the Package Manager API (package_manager.api.php is outdated)

Created on 31 October 2022, over 1 year ago
Updated 14 March 2023, over 1 year ago

Problem/Motivation

$ git lg package_manager/package_manager.api.php
* 115bcad - Hotfix spelling error in Package Manager API documentation. (9 months ago) <PhΓ©na Proxima>
* ec507ef - Issue #3248976 by phenaproxima: Add API documentation for Package Manager (9 months ago) <phenaproxima>

yet:

$ git lg --since "9 months ago" -- package_manager | wc -l
     156

It looks like package_manager.api.php is so general that it is not wrong, but it certainly is incomplete. For example, there's no mention of ReadinessCheckEvent nor StatusCheckEvent.

And a few days ago, #3304365: Do not check excluded folders for symlinks β†’ landed which deprecated PreCreateEvent::excludePath(), but it's still mentioned in package_manager.api.php as the official API.

This is necessary to meet the documentation gate: https://www.drupal.org/about/core/policies/core-change-policies/core-gat... β†’ .

Steps to reproduce

N/A

Proposed resolution

Particular items that need documenting

  1. re #3328978: Do we want to Throw an Exception if a git directory unknown to composer is added in Stage? we should clearly document package manager expects the stage to be only operated on via composer stager, i.e. if you run other file operations on the stage that are not composer operations you are on your own and it is not how the system is intended to work.

COMMIT NOTE:

Please remember to omit credit for #4, which did not make any change to the documentation (or code).

πŸ“Œ Task
Status

Fixed

Version

3.0

Component

Package Manager

Created by

πŸ‡§πŸ‡ͺBelgium Wim Leers Ghent πŸ‡§πŸ‡ͺπŸ‡ͺπŸ‡Ί

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.

Production build 0.69.0 2024