Page MenuHomePhabricator

EventLogging has Invalid composer.json
Closed, DeclinedPublic

Description

$ composer validate
./composer.json is valid for simple usage with composer but has
strict errors that make it unable to be published as a package:
See https://getcomposer.org/doc/04-schema.md for details on the schema
name : The property name is required
description : The property description is required
No license specified, it is recommended to do so. For closed-source software you may use "proprietary" as license.

I think we should fix these issues so you can at least specify the extension manually.

It should specify a name as mediawiki/event-logging and a type as mediawiki-extension,

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript
Legoktm subscribed.

This is intentional - it's not supposed to be published on packagist, nor installable via composer.

This is intentional - it's not supposed to be published on packagist, nor installable via composer.

Why are we intentionally preventing someone from installing/updating it with Composer?

As a work around, you can manually specify the entire package, but you also have to manually update it (i.e. Composer wont read infro from the repository) unless this issue is resolved.