Projet

Général

Profil

Révision ec2b0e7b

Ajouté par Assos Assos il y a presque 7 ans

Weekly update of contrib modules

Voir les différences:

drupal7/sites/all/modules/feeds/README.txt
138 138
See "The developer's guide to Feeds":
139 139
http://drupal.org/node/622700
140 140

  
141
Running the Drush integration tests
142
===================================
143

  
144
In order the run Drush integration tests, Drush itself needs to be installed
145
with its *dev dependencies*. Furthermore, the phpunit version that comes with
146
Drush should be used for running the tests (instead of a globally installed
147
phpunit), as that one has proven to be compatible with the Drush tests.
148

  
149
  1. Git clone of Drush 8.
150

  
151
       git clone --branch 8.x https://github.com/drush-ops/drush.git
152
       cd drush
153

  
154
  2. Install Drush with dev dependencies using Composer.
155

  
156
       composer install
157

  
158
     And ensure that the following text is displayed:
159

  
160
       "Loading composer repositories with package information
161
       Installing dependencies (including require-dev) from lock file"
162

  
163
     Especially note that Composer says 'including require-dev'. This means that
164
     the Drush dev dependencies are installed (including phpunit).
165

  
166
  3. Execute a command like the following:
167

  
168
       UNISH_NO_TIMEOUTS=1 UNISH_DRUPAL_MAJOR_VERSION=7 /path/to/drush/vendor/bin/phpunit --configuration /path/to/drush/tests /path/to/feeds/tests/drush
169

  
170
     Replace '/path/to' with the appropriate path to the directory in question.
171
     Also be sure to point to the phpunit version that comes with Drush.
172

  
173
     So if Drush is installed in /users/megachriz/drush and the Feeds module is
174
     located at /users/megachriz/Sites/drupal7/sites/all/modules/feeds:
175

  
176
       UNISH_NO_TIMEOUTS=1 UNISH_DRUPAL_MAJOR_VERSION=7 /users/megachriz/drush/vendor/bin/phpunit --configuration /users/megachriz/drush/tests /users/megachriz/Sites/drupal7/sites/all/modules/feeds/tests/drush
177

  
141 178
Debugging
142 179
=========
143 180

  
......
194 231
Description: Flag to stop feeds from using its cURL for http requests. See
195 232
             http_request_use_curl().
196 233

  
234
Name:        feeds_http_file_cache_dir
235
Default:     private://feeds/cache
236
Description: The location on the file system where results of HTTP requests are
237
             cached.
238

  
239
Name:        feeds_in_progress_dir
240
Default:     private://feeds/in_progress
241
Description: The location on the file system where temporary files are stored
242
             that are in progress of being imported.
243

  
244
Name:        feeds_sync_cache_feeds_http_interval
245
Default:     21600
246
Description: How often the feeds cache directory should be checked for orphaned
247
             cache files.
248

  
197 249
Name:        feeds_use_mbstring
198 250
Default:     TRUE
199 251
Description: The extension mbstring is used to convert encodings during parsing.

Formats disponibles : Unified diff