Make named defintitions and their aliases consistent with - and remove _
>>> [!note] Migrated issue <!-- Drupal.org comment --> <!-- Migrated from issue #3390764. --> Reported by: [jonathan1055](https://www.drupal.org/user/92645) Related to !50 !49 >>> <h3 id="summary-problem-motivation">Problem/Motivation</h3> <p>The includes/include.drupalci.main.yml file defines some snippets for re-use elsewhere and has aliases for them. Most of the defined names have - as word separators, but a few use _ instead. However, <i>all</i> of the alias ids use - even when the name has _ and this causes unnecssary hassle when debugging the gitlab errors such as <code>This GitLab CI configuration is invalid: !reference [".setup-webserver"] could not be found</code>. In this case the alias is 'setup-webserver' but the name is 'setup_webserver'</p> <h3 id="summary-proposed-resolution">Proposed resolution</h3> <p>Use - consistently in all names and aliases, so that reusing names via reference or aliases directly does not lead to unnecessary effort and problem solving.</p> <p>This will also allow more easy reuse via references<br> <code>- !reference [ .setup-webserver ]</code></p> <p>The following are already consistent and do <b>not</b> need to be changed</p> <pre>.with-database: &amp;with-database<br>.with-chrome: &amp;with-chrome<br>.test-variables:<br>.show-environment-variables: &amp;show-environment-variables</pre><h3 id="summary-remaining-tasks">Remaining tasks</h3> <p>The following names need to be changed to match the alias</p> <pre>.simpletest_db: &amp;simpletest-db<br>.setup_webserver: &amp;setup-webserver</pre><h3 id="summary-ui-changes">User interface changes</h3> <h3 id="summary-api-changes">API changes</h3> <h3 id="summary-data-model-changes">Data model changes</h3>
issue