I am unable to create a sub-theme using a remote kit. Here is the error I'm getting:

drush radix "mynewtheme2" --kit="https://github.com/ITS-UofIowa/Radix-Starter-Kit/archive/v1.tar.gz" --destination="sites/its.uiowa.edu/themes" -v
Executing: mysql --defaults-extra-file=/private/tmp/drush_zVfNjP --database=custom_its --host=127.0.0.1 --port=33067 --silent  < /private/tmp/drush_02ELJw
Executing: mysql --defaults-extra-file=/private/tmp/drush_JqPQ2t --database=custom_its --host=127.0.0.1 --port=33067 --silent  < /private/tmp/drush_A35bOS
Downloading kit kit from https://github.com/ITS-UofIowa/Radix-Starter-Kit/archive/v1.tar.gz...
Executing: wget --version
Executing: curl --tlsv1 --fail -s -L --connect-timeout 30 -o /private/tmp/download_filehKmSM5 https://github.com/ITS-UofIowa/Radix-Starter-Kit/archive/v1.tar.gz
Unable to create v1.tar.gz.                                                                                                                [error]
Source directory /private/tmp/drush_tmp_1485793647_588f696f93749/v1.tar.gz/radix-kit-kit-master is not readable or does not exist.  

Any ideas?

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

adam-delaney created an issue. See original summary.

shadcn’s picture

Hmm so there are a few conventions to follow when creating a kit (maybe this needs to be documented better).

  1. The kit must follow the naming convention: radix-kit-NAME. In this case we could call the kit radix-kit-starter.
  2. The info, style.css and script.js files in the kit need to be named same as the kit, hence starter.info, starter.style.css and starter.script.js..

Here's an example I forked from the kit above: https://github.com/arshad/radix-kit-starter

Here's the commit that does the renaming: https://github.com/arshad/radix-kit-starter/commit/21f58f9e70ce69532bf82...

Try: drush radix "Example" --kit="https://github.com/arshad/radix-kit-starter/archive/master.zip"

Also because of a limitation inside the radix.drush.inc file, this is only working with the master branch.

Let's see how we can fix that.

shadcn’s picture

Created a task and a patch here #2848334: Allow kits to be created from any branch to add support for any branch.

adam-delaney’s picture

Here is a patch that adds an example for a remote url kit as well as a link to the custom kit documentation at http://docs.radixtheme.org/en/latest/drupal/#custom-kit.

adam-delaney’s picture

Status: Active » Needs review
shadcn’s picture

@adam-delaney thanks. Testing...

shadcn’s picture

Status: Needs review » Reviewed & tested by the community

Nice. +1

  • arshadcn committed b918dc8 on 7.x-3.x authored by adam-delaney
    Issue #2848126 by adam-delaney, arshadcn: Unable to create sub-theme...
shadcn’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.