Problem/Motivation
I'm working on a new project that includes 3 extensions, one is a regular Drupal module, another one is a theme and the last one is a Drupal distribution.
While the theme has a package on https://packages.drupal.org/8, the 2 others don't and I don't understand why. They all got a "composer.json" file checked using "composer validate". I also use PHP code sniffer to make sure I didn't miss something obvious. I tried a couple of things on the module (creating alpha releases, removing and putting back composer.json) without any success.
I checked if the package could have name doubled but I only got the theme package found: https://packages.drupal.org/8/search.json?s=genoring
Is there a limit on the number of package that can be created by a user? Was there a problem when the packages should have been generated? Did I missed something? What's wrong? How could I fix that?
Here are the related projects:
- The module (no package): genoring
- The distribution (no package): genoring_distrib
- The theme (OK): genoring_theme
Note: the distribution currently uses "packagist.org" to allow testings but I would switch to packages.drupal.org if the package is created.
Comments
Comment #2
guignonvComment #3
drummhttps://www.drupal.org/project/genoring was created as a distribution instead of a module, and is now converted to be a module and is installable with Composer.
Comment #4
drummFor https://www.drupal.org/project/genoring_distrib - I’ve converted it to a general project, which is for projects that do not fit another type of project; profiles are not exactly distributions currently. When there is a valid composer.json in a release, it will be sent to Packagist.org.
Currently the package name at https://git.drupalcode.org/project/genoring_distrib/-/blob/1.0.0-alpha3/... does not match
drupal/genoring_distrib, so it isn’t sent to Packagist.org. A new release with that change, and fixing any other issues will fix that.I recommend creating a dev release from the 1.0.x branch so everything can be tested without making an alpha release for each change.
Comment #5
guignonvNoted! Thank you very much for your time! :)
Comment #6
guignonv