User Tools

Site Tools


t3dd23

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
t3dd23 [2023/08/02 22:22] admint3dd23 [2023/08/04 13:27] admin
Line 4: Line 4:
  
 {{ :typo3:typo3.svg |}} {{ :typo3:typo3.svg |}}
- 
  
 ====== What do we need❓ ====== ====== What do we need❓ ======
  
-  * LAMP stack including configuration and services (e.g. solr)  +<html><ul> 
-  Package-Manager +  <li>LAMP stack including configuration and services (e.g. solr) </li> 
-  Site package +  <li>Package-Manager</li> 
-  QA Tools / Analyzer +  <li>Site package</li> 
-  Versioning +  <li>QA Tools / Analyzer</li> 
-  Bundler +  <li>Versioning</li> 
-  Tests (unit, functional, acceptance) +  <li>Bundler</li> 
-  Continous integration +  <li>Tests (unit, functional, acceptance)</li> 
- +  <li>Continous integration</li> 
- +</ul></html>
-====== Local LAMP ====== +
- +
-To run the website we need a webserver, a database and PHP (with some additional modules).+
  
-Either set this up all yourself or you can use DDEV.+====== LAMP stack ======
  
-I prefer ddev because...+To run the website we need a webserver, a database and PHP.
  
-  * Easy to set up +Either set this up all yourself or you can use DDEV:
-  * Share configuration with your team using VCS +
-  * Flexible configuration+
  
 +<html><ul>
 +  <li>Easy to set up</li>
 +  <li>Share configuration with your team using VCS</li>
 +  <li>Flexible configuration</li>
 +  <li>Integrate services (e.g. solr)</li>
 +</ul></html>
  
 ====== Package-Manager / Dependency Manager ====== ====== Package-Manager / Dependency Manager ======
Line 35: Line 35:
 To get third party dependencies in place: To get third party dependencies in place:
  
-  * **PHP**  - Composer, the one and only +<html><ul> 
-  * **Node** - NPM, yarn will do the job as well +  <li> <b>PHP</b> - Composer, the one and only</li> 
 +  <li> <b>Node</b> - NPM, yarn will do the job as well</li> 
 +</ul></html>
  
 ====== Site package  ====== ====== Site package  ======
  
-The place where your website will life in. +The place where your website will life in. 
 It contains all the code that makes up the website. It contains all the code that makes up the website.
  
Line 50: Line 52:
 improving the code. improving the code.
  
-  * **PHPStan*** - Find bugs before they reach production +<html><ul> 
-  * **PHP CS Fixer*** - Apply coding standards +  <li><b>PHPStan</b>* - Find bugs before they reach production</li> 
-  * **EditorConfig*** - helps maintain consistent coding styles for multiple developers working on the same project across various editors and IDEs+  <li><b>PHP CS Fixer</b>* - Apply coding standards</li> 
 +  <li><b>EditorConfig</b>* - helps maintain consistent coding styles</li> 
 +</ul></html>
  
 * used by the TYPO3 Core * used by the TYPO3 Core
Line 62: Line 66:
 when and why a change was done to the code. when and why a change was done to the code.
  
-  * Git +<html><ul> 
-  Subversion +  <li>Git</li> 
-  Mercurial +  <li>Subversion</li> 
-  ...+  <li>Mercurial</li> 
 +  <li>...</li> 
 +</ul></html>
  
 +Most likely Git due to adoption in GitHub/GitLab.
  
-<html> 
-<div class="fragment"> 
-Most likely Git due to adoption in GitHub/Gitlab. 
-<br> 
 It is rare to see the others out in the wild these days. It is rare to see the others out in the wild these days.
-</div> 
-</html> 
  
  
Line 89: Line 90:
 Tests are always good practice. It will ensure that the changed code is still working. Tests are always good practice. It will ensure that the changed code is still working.
  
-  * **Unit/functional tests** - PHPUnit* +<html> 
-  * **Acceptance tests** - Codeception*, Cypress+<ul> 
 +<li><b>Unit/functional tests</b> - PHPUnit*</li> 
 +<li><b>Acceptance tests</b> - Codeception*, Cypress</li> 
 +</ul> 
 +</html> 
  
 * used by the TYPO3 Core * used by the TYPO3 Core
Line 102: Line 108:
 <html> <html>
 <ul> <ul>
-<li>CI Tools: GitHub Actions, Gitlab (Runner)</li>+<li>CI Tools: GitHub Actions, GitLab (Runner)</li>
 <li>Ship code: TYPO3 Surf, Deployer or a plain bash script if you prefer</li> <li>Ship code: TYPO3 Surf, Deployer or a plain bash script if you prefer</li>
 <ul> <ul>
 </html> </html>
  
-{{:typo3:gitlab-pipeline.png?800|}}+{{:typo3:pipeline.png?1000|}} 
  
 ====== Wait wait wait .... ====== ====== Wait wait wait .... ======
Line 122: Line 129:
 {{ :typo3:typo3-gitlab.svg |}} {{ :typo3:typo3-gitlab.svg |}}
  
-==== The Gitlab Project Template for TYPO3 ====+==== The GitLab Project Template for TYPO3 ====
  
 Let me show you ...  Let me show you ... 
Line 162: Line 169:
  
 ⚠️ Try to keep changes small ⚠️ Try to keep changes small
 +
 +
 +====== Merge Request example ======
 +
 +Task: Update template zip archive
 +
 +Stats: 25 participants, 3 approvers, 11 labels
 +
 +
 +https://gitlab.com/gitlab-org/gitlab/-/merge_requests/125094
 +
 +{{:typo3:participants.png?600|}} {{:typo3:labels.png?400|}}
 +
 +{{:typo3:approved_by.png?1000|}}
  
  
Line 177: Line 198:
 </html> </html>
  
-everyone can contribute+Everyone can contribute
  
t3dd23.txt · Last modified: 2023/08/04 17:27 by admin