The auth.json file is required for this to work.
If you have already cloned the repository,
Don’t forget to run git pull origin "Branch_Name"
. You can skip step 1.
Customizing Plugins.
Customizing plugin still allowed on bedrock.
Step 1: Given that you have not cloned the existing repository yet.
git clone [email protected]:training/training-ap-panorama.git
Step 2: Create a Branch
Follow Naming Guidelines.
git checkout -b 'Branch_Name'
Step 3: Open and Edit composer.json
Remove the plugin you want to customize on composer.json
.
See video here
Step 4: Update Composer
Once you are done editing the composer.json just simply run the command
composer update
Step 5 : Download plugin via AIOS Resources and extract
Download the plugin you want on AIOS Resources then extract the plugin on web/app/plugins
See video here
Step 6: Rename Plugin Name Customize
For easy to identify if the plugin was customize please rename the folder and plugin name just add customize, for example "Plugin Name: AIOS Communities(Customize)"
See video here
Step 7: Exclude the plugin folder on .gitignore
By default, Git ignores the plugin folder because we always pull the latest files via Composer. However, if you customize the plugin, you need to commit it to the repository for tracking. To exclude specific files or folders, go to the .gitignore file and add the folder you want to exclude as an example.
!web/app/plugins/aios-communities/
Step 8: Once you are done editing the files,
add or stage your changes.
git add .
Step 9: Commit the changes you’ve made.
git commit -m '<commit_message>'
Step 10: Push your changes.
git push origin 'Branch_Name'
Step 11: Create Merge Request.
https://gitlab.forge99.com/your_project_group/your_project_url