🚫
Important
The auth.json
file is required for this to work.
Adding New Plugins.
In this example, we will add new plugin to training-ap-panorama.
Note: If you have already cloned the repository, don’t forget to run
git pull origin "Branch_Name"
. You can skip step 1.
Step 1: Given that you have not cloned the existing repository yet.
terminal
git clone [email protected]:training/training-ap-panorama.git
Step 2: Create a Branch
🚫
Important
Follow Naming Guidelines.
terminal
git checkout -b 'Branch_Name'
Step 3: Adding via Composer
Recommended way for Adding plugins is via composer you can run composer command below.
Internal Plugins via AIOS Resources
terminal
composer require aios-packages/aios-agents:1.5.4
Example: If you want to Install aios-agents
to version 1.5.4
you can run the command above.
terminal
composer require <package_name> — Installs or updates a plugin.
External Plugins wpackagist
terminal
composer require wpackagist-plugin/post-types-order:2.3.2
Example: If you want to Install post-types-order
to version 2.3.2
you can run the command above.
terminal
composer require <package_name> — Installs or updates a plugin.
Step 4: Once you are done editing the files, add or stage your changes
terminal
git add .
Step 5: Commit the changes you’ve made
terminal
git commit -m '<commit_message>'
Step 6: Push your changes
terminal
git push origin 'Branch_Name'
Step 7: Create Merge Request
terminal
https://gitlab.forge99.com/your_project_group/your_project_url
Last updated on