Webform module and config export
This commit is contained in:
parent
3e6a5cbed2
commit
0e15467384
1040 changed files with 117682 additions and 0 deletions
109
web/modules/contrib/webform/docs/RELEASE-NOTES.md
Normal file
109
web/modules/contrib/webform/docs/RELEASE-NOTES.md
Normal file
|
@ -0,0 +1,109 @@
|
|||
|
||||
Steps for creating a new release
|
||||
--------------------------------
|
||||
|
||||
1. Cleanup code
|
||||
2. Export configuration
|
||||
3. Review code
|
||||
4. Run tests
|
||||
5. Generate release notes
|
||||
6. Tag and create a new release
|
||||
7. Upload screencast to YouTube
|
||||
|
||||
1. Cleanup code
|
||||
---------------
|
||||
|
||||
[Convert to short array syntax](https://www.drupal.org/project/short_array_syntax)
|
||||
|
||||
drush short-array-syntax webform
|
||||
|
||||
Tidy YAML files
|
||||
|
||||
@see DEVELOPMENT-CHEATSHEET.md
|
||||
|
||||
|
||||
2. Export configuration
|
||||
-----------------------
|
||||
|
||||
@see DEVELOPMENT-CHEATSHEET.md
|
||||
|
||||
|
||||
3. Review code
|
||||
--------------
|
||||
|
||||
[Online](http://pareview.sh)
|
||||
|
||||
http://git.drupal.org/project/webform.git 8.x-5.x
|
||||
|
||||
[Commandline](https://www.drupal.org/node/1587138)
|
||||
|
||||
# Check Drupal coding standards
|
||||
phpcs --standard=Drupal --extensions=php,module,inc,install,test,profile,theme,css,info modules/sandbox/webform
|
||||
|
||||
# Check Drupal best practices
|
||||
phpcs --standard=DrupalPractice --extensions=php,module,inc,install,test,profile,theme,js,css,info modules/sandbox/webform
|
||||
|
||||
[File Permissions](https://www.drupal.org/comment/reply/2690335#comment-form)
|
||||
|
||||
# Files should be 644 or -rw-r--r--
|
||||
find * -type d -print0 | xargs -0 chmod 0755
|
||||
|
||||
# Directories should be 755 or drwxr-xr-x
|
||||
find . -type f -print0 | xargs -0 chmod 0644
|
||||
|
||||
|
||||
4. Run tests
|
||||
------------
|
||||
|
||||
[SimpleTest](https://www.drupal.org/node/645286)
|
||||
|
||||
# Run all tests
|
||||
php core/scripts/run-tests.sh --url http://localhost/d8_dev --module webform
|
||||
|
||||
[PHPUnit](https://www.drupal.org/node/2116263)
|
||||
|
||||
# Execute all Webform PHPUnit tests.
|
||||
cd core
|
||||
php ../vendor/phpunit/phpunit/phpunit --group webform
|
||||
|
||||
cd core
|
||||
|
||||
# Execute individual PHPUnit tests.
|
||||
export SIMPLETEST_DB=mysql://drupal_d8_dev:drupal.@dm1n@localhost/drupal_d8_dev;
|
||||
|
||||
# Functional test.
|
||||
php ../vendor/phpunit/phpunit/phpunit ../modules/sandbox/webform/tests/src/Functional/WebformExampleFunctionalTest.php
|
||||
|
||||
# Kernal test.
|
||||
php ../vendor/phpunit/phpunit/phpunit ../modules/sandbox/webform/tests/src/Kernal/Utility/WebformDialogHelperTest.php
|
||||
|
||||
# Unit test.
|
||||
php ../vendor/phpunit/phpunit/phpunit ../modules/sandbox/webform/tests/src/Unit/Utility/WebformYamlTest.php
|
||||
|
||||
|
||||
5. Generate release notes
|
||||
-------------------------
|
||||
|
||||
[Git Release Notes for Drush](https://www.drupal.org/project/grn)
|
||||
|
||||
drush release-notes --nouser 8.x-5.0-VERSION 8.x-5.x
|
||||
|
||||
|
||||
6. Tag and create a new release
|
||||
-------------------------------
|
||||
|
||||
[Tag a release](https://www.drupal.org/node/1066342)
|
||||
|
||||
git tag 8.x-5.0-VERSION
|
||||
git push --tags
|
||||
git push origin tag 8.x-5.0-VERSION
|
||||
|
||||
[Create new release](https://www.drupal.org/node/add/project-release/2640714)
|
||||
|
||||
|
||||
7. Upload screencast to YouTube
|
||||
-------------------------------
|
||||
|
||||
- Title : Webform 8.x-5.x-betaXX
|
||||
- Tags: Drupal 8,Webform,Form Builder
|
||||
- Privacy: listed
|
Reference in a new issue