Episode #125 of the Stack Overflow podcast is here. We talk Tilde Club and mechanical keyboards. Listen now

All Questions

Tagged with
Filter by
Sorted by
Tagged with
0
votes
1answer
50 views

Drush Feature Update removing t() and l() function usages

I have a feature that currently has things like this: 'body' => '<h3>' . t('Welcome back') . '<span class="fname">%user:field_first_name</span>!</h3>', However, using ...
2
votes
2answers
275 views

Listing variable values using drush

I would like to list the values of certain variables using Drush in order to make sure they are in fact the variables that I intend to add to my feature. It seems that some variables are parents which ...
0
votes
1answer
218 views

Exporting a feature to a specific directory using drush

I am creating a new feature using drush. I looked up the component I want to create the feature with. When I run the command drush fe my_feature views_view:my_cool_view, drush wants to put it in sites/...
0
votes
1answer
191 views

How to auto-yes “drush features-revert-all” … via terminus

On a local machine drush features-revert-all will convert all features to codebase definition. On a local machine ... drush -y will auto-yes any command. On a local machine terminus -y command ...
2
votes
2answers
56 views

Any risks associated with habitually updating/reverting ALL features in drush?

I want to start using drush commands to simply update all or revert all features (depending on which environment I'm in) instead of doing them one by one. What are the risks involved or questions I ...
2
votes
1answer
34 views

Downloading a Feature

I may be thinking about this the wrong way, but I would like to download a feature that is already created. I know how to create a feature and download it, but how do you download a feature that ...
1
vote
1answer
110 views

Rebuild in Features tripping HTTP 500 Error

I am trying to rebuild some features in Drupal 7.37 in preparation for migration and upgrade on a local dev environment using MAMP but I get an HTTP 500 error when attempting to view overrides. ...
0
votes
1answer
56 views

drush features-list-packages in drupal 8 doesn't include prefix

I've just started using Drush and Features with Drupal 8. I'm running into a point of confusion, and I can't figure out if it's a feature or a bug. In the past our team prefixed all the site-specific ...
0
votes
1answer
51 views

How does Drupal handle update of multiple module bundles of features without breaking stuff?

Let's say I have modules A, B and C. I create a feature and it makes them into a single module. Then one day, an update makes A, B and C not compatible, or maybe one deprecated or something. Then ...
1
vote
0answers
41 views

How to revert a feature in hook_update programatically? [duplicate]

I've created a feature to update a menu. Then in my deploy module, I did this: function phoenix_deploy_update_7106() { $feature_list = array( 'campus_dropdown', ); features_revert($...
0
votes
1answer
27 views

Features, Drush and Drupal 6

I'm using drush on D6 websites and i would to create and manage my features via drush.So i patched the 1.2 version like in this post : Then i get an error when i try to create a feature for content ...
0
votes
1answer
70 views

Drush only partially working in both VM (Ubuntu) and host OS (Mac OS X 10.10)

I am currently running on a MacBook Pro with OS X 10.10 (Yosemite). That is the host machine and OS. I am using a synced folder between the host and my VM, which is running Laravel's Homestead VM (...
0
votes
1answer
115 views

Using Features with an existing content type?

I'm trying to use features to deploy some changes from a local development site to a staging site on a seperate server, the problem is that I've got an existing content type on my dev and staging ...
0
votes
1answer
50 views

Architecture Guidance: Many off-the-shelf templated sites

I typically work on larger custom projects, but have found I have a lot of requests for projects at a lower price-point. I think I can serve this audience by creating a core Drupal installation ...
8
votes
2answers
2k views

Remove components from a feature using Drush

Using Features UI to manage a big feature components is a tedious task. Therefore in order to add a new component I use drush fe myfeature views_view:myview1 Now how I remove the uneeded component ...
0
votes
1answer
36 views

Drupal Feature pushed to staging site

I am just getting into drupal features and wanted to make sure I understood something. I updated my drupal features. Used Git Flow to finish the branches and create a release. I pulled the new ...
3
votes
1answer
2k views

How to export all feature components with drush?

With drush feature-export you can easily create a feature from a component. But is there a way to easily export ALL components into a feature? In the ui you can easily check all content types or all ...
0
votes
1answer
648 views

Custom field values are not importing with Features

I would like to export example data(nodes) in feature for others to kick start some reusable module that i developed. The example data contains nodes with custom fields. The problem is that while ...
1
vote
1answer
3k views

What causes DatabaseSchemaObjectExistsException error on existing table while reverting feature?

When trying to revert my updated exported changes on features from development site to production site via Drush, it returns DatabaseSchemaObjectExistsException error stating that there is an existing ...
1
vote
1answer
601 views

Features/Themes and Drush Make Files: How to manage updates?

I am trying to automate my development by using Drush Make Files and Features. I am using Drush Make.me to create the make file. I have created a Features module on my local machine. What's the ...
5
votes
6answers
4k views

Enable new modules dependencies on deploy

How can I automatically enable new dependency added on a custom feature (or standard modules) with drush? After getting the new code, my deployment script basically run: drush cc all drush fra But ...
0
votes
1answer
194 views

Enable modules across platforms using Features/Drush

I am wondering, could this be automated. I download and enable contrib modules on @dev I push files on @live (including new modules) via Features/Drush I tell @live to enable new modules, so servers ...
4
votes
5answers
2k views

Possible to use drush to list overrides for all features?

I believe that drush features-diff will list the overrides for a specific feature and that drush features-list will list all features. Is it possible to list all of the overrides for all features, ...
10
votes
1answer
9k views

How does `drush features-update` work?

I have made changes to a Feature on a Drupal 7 site. I want the same feature to be updated in another website. How to do it using the drush features-update command? When I run it, it asks to ...
28
votes
4answers
9k views

Adding components to a feature via Drush

I understand using 'drush fu' to look for changes to any components of an existing feature, but is there a way to add a component to an existing feature using drush? Right now I have to use the /admin ...
41
votes
1answer
977 views

I need to bring a site to version control, and set up the continuous Integration environment

I am an entrepreneur with a Drupal 6x project that started small enough to not need version control (per developers), but now I am convinced there is no way without it. There's extensive documentation ...
20
votes
5answers
10k views

Why would some features still show Overridden after a revert all --force?

Why would some features still show as "Overridden" even after running a full features revert with the force switch? Below are the commands I am running, for the sake of clarity. drush fr-all --force -...