Wouldn't it be nice to install Basic through Composer? Drupal modules/themes are not available on the original Packagist, but there is a Drupal specific project (https://packagist.drupal-composer.org/) that fills the gap. It's should be easy to add Basic to that.
This would then allow to use a composer command to create a copy from the Basic theme in the vendor directory and do all the renaming accordingly.
Steve is already working on a Drush command that does all the renaming and this will be great for the Drush use cases.
However, it would be awesome to set up and maintain a new Drupal 8 site completely through composer (https://github.com/drupal-composer/drupal-project) and having Basic in there would allow to do all that in a simple command.
I'm happy to look into that. Any thoughts? Objections? Concerns?
Comments
Comment #2
joelpittetHow?
Comment #3
johannez CreditAttribution: johannez as a volunteer commentedFor the original Packagist you create an account on their site and then put a composer.json into your project root. I assume it's the same as for the drupal-composer version.
I can investigate and figure out the how ;)
Comment #4
joelpittetSubmit here:
https://packagist.drupal-composer.org/packages/submit
Something like this added to our repo.
composer.json
Comment #5
johannez CreditAttribution: johannez as a volunteer commentedLooks good.
I'll update the author information though.
Will look into that asap.
Comment #6
johannez CreditAttribution: johannez as a volunteer commentedHmm...looks like Basic is already available on that packigist repo:
https://packagist.drupal-composer.org/packages/drupal/basic
It wasn't me. So, if not somebody else stepped in, I assume that Packigist install just automatically scraps drupal.org. I still put a composer.json into place in case we move to the real packigist one day.
I'll see how to use composer now to install and rename the theme. I guess we can close this for now as Basic is up on Drupal's packagist.
Comment #7
joelpittetI may have done that by accident;) I pressed a button somewhere to clone to github I think.
Comment #8
johannez CreditAttribution: johannez as a volunteer commentedI don't think it was you either Joel. The Drupal composer packagist has nothing to do with github.
Anyways, the request here was to add it to Drupal packagist, which has happened. So, I'm closing this one.
Comment #9
joelpittetOh I thought I did this:
http://hubdrop.org/project/basic
But kinda looks like that didn't work.
I don't recall it showing in packagist before.