Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Freshly-built project doesn't get a README.md file in project root #702

Closed
geerlingguy opened this issue Nov 22, 2016 · 1 comment
Closed
Assignees
Labels
Bug Something isn't working

Comments

@geerlingguy
Copy link
Contributor

geerlingguy commented Nov 22, 2016

My system information:

  • Operating system type: macOS
  • Operating system version: 10.12.1
  • BLT version: 8.5.2

Output of blt doctor:

$ blt doctor
Buildfile: /Users/jeff.geerling/Sites/acquia/site/vendor/acquia/blt/phing/build.xml

blt > doctor:

Changed current directory to /home/vagrant/.composer
+----------------------+---------------------------------------------------------------------------------+
| Property             | Value                                                                           |
+----------------------+---------------------------------------------------------------------------------+
| %paths               |                                                                                 |
|  - %root             | /var/www/site/docroot                                                         |
|  - %site             | sites/default                                                                   |
|  - %modules          | modules                                                                         |
|  - %themes           | themes                                                                          |
|  - %config-sync      | /var/www/site/config/default                                                  |
|  - %files            | sites/default/files                                                             |
|  - %private          | /var/www/site/files-private                                                   |
|  - %temp             | /tmp                                                                            |
| admin-theme          | seven                                                                           |
| blt-version          | 8.5.2                                                                           |
| bootstrap            | Successful                                                                      |
| config-sync          | /var/www/site/config/default                                                  |
| db-driver            | mysql                                                                           |
| db-hostname          | localhost                                                                       |
| db-name              | drupal                                                                          |
| db-password          | drupal                                                                          |
| db-port              | 3306                                                                            |
| db-username          | drupal                                                                          |
| drupal-settings-file | sites/default/settings.php                                                      |
| drupal-version       | 8.2.3                                                                           |
| drush-alias-files    | /var/www/site/docroot/../drush/site-aliases/aliases.drushrc.php               |
|                      | /var/www/site/docroot/../drush/site-aliases/example.acsf.aliases.drushrc.php  |
|                      | /var/www/site/docroot/../drush/site-aliases/example.local.aliases.drushrc.php |
| drush-conf           | /var/www/site/drush/drushrc.php                                               |
| drush-script         | /var/www/site/vendor/drush/drush/drush.php                                    |
| drush-temp           | /tmp                                                                            |
| drush-version        | 9.0.0-alpha1                                                                    |
| files                | sites/default/files                                                             |
| install-profile      | lightning                                                                       |
| local-drushrc        | /var/www/site/docroot/sites/default/local.drushrc.php                         |
| local-settings       | /var/www/site/docroot/sites/default/settings/local.settings.php               |
| modules              | modules                                                                         |
| php-bin              | /usr/bin/php                                                                    |
| php-conf             | /etc/php/5.6/cli/php.ini                                                        |
| php-os               | Linux                                                                           |
| private              | /var/www/site/files-private                                                   |
| root                 | /var/www/site/docroot                                                         |
| site                 | sites/default                                                                   |
| temp                 | /tmp                                                                            |
| theme                | bartik                                                                          |
| themes               | themes                                                                          |
| uri                  | http://local.site.com                                                         |
| user                 |                                                                                 |
+----------------------+---------------------------------------------------------------------------------+
+--------------------------+----------------------------------------------------------------------------------+
| Check                    | Outcome                                                                          |
+--------------------------+----------------------------------------------------------------------------------+
| checkDocrootExists       | Found docroot.                                                                   |
| checkCoreExists          | Drupal core exists                                                               |
| checkSettingsFile        | BLT settings are included in settings file.                                      |
| checkLocalSettingsFile   | Found your local settings file.                                                  |
| checkLocalDrushFile      | Found your local drush settings file.                                            |
| checkUri                 | $options['uri'] is set.                                                          |
| checkUriResponse         | Received a response from site http://local.site.com.                           |
| checkFileSystem:%files   | Public files directory is writable.                                              |
| checkFileSystem:%private | Private files directory is writable.                                             |
| checkFileSystem:%temp    | Temporary files directory is writable.                                           |
| checkDbConnection        | Connected to database.                                                           |
| checkDrupalBootstrapped  | Bootstrapped Drupal via drush.                                                   |
| checkDrupalInstalled     | Drupal is installed.                                                             |
| checkCaching:page        | Drupal cache is disabled.                                                        |
| checkCaching:css         | CSS preprocessing is disabled.                                                   |
| checkCaching:js          | JS preprocessing is disabled.                                                    |
| checkNvmExists           | NVM does not exist.                                                              |
|                          |                                                                                  |
|                          | It is recommended that you use NVM to manage multiple versions of NodeJS on one  |
|                          | machine.                                                                         |
|                          | Instructions for installing NVM can be found at:                                 |
|                          |   https://github.com/creationix/nvm#installation                                 |
| checkComposer:require    | acquia/blt is in composer.json's require object.                                 |
| checkComposer:plugins    | hirak/prestissimo plugin for composer is installed.                              |
| checkBehat:exists        | Behat local settings file exists.                                                |
| checkBehat:root          | You have DrupalVM initialized, but drupal_root in tests/behat/local.yml does not |
|                          | reference the DrupalVM docroot.                                                  |
|                          |   Behat drupal_root is /Users/jeff.geerling/Sites/acquia/site/docroot.         |
|                          |   To resolve, remove tests/behat/local.yml, ssh into the VM, and run blt         |
|                          | setup:behat.                                                                     |
| checkProjectYml:keys     | project.yml has no deprecated keys.                                              |
| checkAcsfConfig          | BLT settings are included in your pre-settings-php include.                      |
| checkDrupalVm:alias      | drush.aliases.local exists your drush aliases file.                              |
| checkDrupalVm            | Drupal VM is configured correctly.                                               |
| checkPhpDateTimezone     | PHP setting for date.timezone is correctly set                                   |
+--------------------------+----------------------------------------------------------------------------------+

When I run this command:

composer create-project acquia/blt-project MY_PROJECT --no-interaction

The generated project doesn't contain a README.md file.

It looks like this file (https://github.com/acquia/blt/blob/8.x/template/README.md) is supposed to be copied over, but it never makes it :(

@grasmash
Copy link
Contributor

grasmash commented Jan 5, 2017

I believe this has been addressed by #913

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants