Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Duplicate of https://github.com/Vardot/varbase-documentation/issues/1 for d.o.
The subprofile referenced on the subpages of https://docs.varbase.vardot.com/requirements/extending-varbase/creating-..., is not accessible. https://bitbucket.org/Vardot/varbase-subprofile-generator is also access denied.
Comments
Comment #2
metalboteHi mrP,
I am working on a subprofile now for serveral months, and it is not as easy as you think, and i think, that's why varbase doesn't provide their subprofile generator to public (and support it!).
Have a brief look at https://www.drupal.org/project/drupal/issues/1356276...
You can investigate acquias solution for lightning, and of course the vardoc distribution, and feel free to ask me, if you really want to dive in, be sure you do not get a simple solution, but have to get involved.
It is just not production ready...
One
funnyexample i ran into was that the drupal installer with subprofile patch somehow works in alphabetical order, so it worked with varbase->vardoc but with varbase->greencko not...and as you can imagine, handling config, module and profile installation, order and inheritance is not the easiest code parts...Comment #3
Rajab Natshah CreditAttribution: Rajab Natshah at Vardot for Vardot commentedComment #4
Rajab Natshah CreditAttribution: Rajab Natshah at Vardot for Vardot commentedComment #5
Rajab Natshah CreditAttribution: Rajab Natshah at Vardot for Vardot commentedThanks Joe for reporting and Jörg for following
Went public with the Varbase Subprofile Generator
Created
Vardot/varbase_subprofile_basic
Vardot/varbase-subprofile-basic-project
Vardot/varbase-subprofile-generator
Varbase Subprofile Generator
Clone the repository:
$ git clone git@github.com:Vardot/varbase-subprofile-generator.git
Run the bash command:
$ bash generate-varbase-subprofile.sh "MY_SUB_PROFILE" "/var/www/html/MYPROFILE" -vvv
You should see the following directories as your newly created sub profile.
After that you will need to push the generated profile and project template to https://github.com for example and submit them to https://packagist.org or commit to a project in https://drupal.org
A similar sub-profile generated using this command can be seen below:
Pushed
CV at Github.com
https://github.com/Vardot/cv
https://github.com/Vardot/cv-project
CV at Packagist.org
https://packagist.org/packages/vardot/cv
https://packagist.org/packages/vardot/cv-project
And in Drupal.org
https://www.drupal.org/project/cv
To test the build and install
Comment #6
Rajab Natshah CreditAttribution: Rajab Natshah at Vardot for Vardot commentedComment #7
Rajab Natshah CreditAttribution: Rajab Natshah at Vardot for Vardot commentedNext Steps:
Comment #9
mrP CreditAttribution: mrP commentedThank you!