Package: bobtemplates.eea
bobtemplates.eeaprovidesmr.bobtemplates to generate packages for EEA projects.This is a custom forkofbobtemplates.ploneFeaturesPackage created withbobtemplates.eeause the current best-practices when creating an add-on. It also support’s GIT by default, to keep track of changes one is doing with the bobtemplates.Provided templatesaddonbuildoutProvided subtemplatesThese templates are meant to be used inside a package which was created by the addon template.behaviorcontent_typerestapi_servicethemetheme_barcelonetaviewviewletvocabularyCompatibilityAdd-ons created withbobtemplates.eeaare tested to work in Plone 4.3.x and Plone 5.
They should also work with older versions but that was not tested.
It should work on Linux, Mac and Windows.InstallationYou can installbobtemplates.eeaas every other normal Python package withpipinside avirtualenvor better withpipenv.Installion with pipenvpipenv install bobtemplates.eeaInstallation with pip in a virtualenvYou can also installbobtemplates.eeawith pip in a virtualenv.
If you don’t have an active virtualenv, you can create one inside your project directory.virtualenv.Then either activate the virtualenv:source./bin/activateor just use the binaries directly inside the bin folder as below:./bin/pip install bobtemplates.eeaUse in a buildout[buildout]parts +=mrbob[mrbob]recipe=zc.recipe.eggeggs=mr.bobbobtemplates.eeaThis creates a mrbob-executable in your bin-directory.UsageAs bobtemplates.eea is a template formr.bob, we use mrbob to run the templates.If you are usingbuildoutor an unactivatedvirtualenv, you can use mrbob like this:./bin/mrbob bobtemplates.eea:addon -O src/eea.fooIf you are using pipenv or an activated virtualenv, you can use mrbob like this:Activate pipenv shell:pipenv shellor activate your virtualenv:source bin/activatemrbob bobtemplates.eea:addon -O src/eea.fooThis will create your Plone package inside thesrcdirectory.See the documentation ofmr.bobfor further information.ConfigurationYou can set allmr.bob configurationparameters in your ~/.mrbob file.Here is an example:[mr.bob]verbose=False[variables]author.name=AlinVoineaauthor.email=contact@avoinea.comauthor.github.user=avoineaplone.version=4.3#package.git.init = y
#package.git.autocommit = n
#package.git.disabled = n[defaults]dexterity_type_global_allow=ndexterity_type_filter_content_types=ydexterity_type_activate_default_behaviors=ndexterity_type_supermodel=nContributeIssue Tracker:https://github.com/eea/bobtemplates.eea/issuesSource Code:https://github.com/eea/bobtemplates.eeaDocumentation:https://docs.plone.org/develop/addons/bobtemplates.plone/docs/orhttps://bobtemplatesplone.readthedocs.io/en/latest/SupportIf you are having issues, please let us know.
We have a Gitter channel here:plone/bobtemplates.ploneContributorsThis package was originally based onbobtemplates.niteowebandbobtemplates.ecreallMaik Derstappen [MrTango]Philip Bauer [pbauer]Cédric Messiant [cedricmessiant]Vincent Fretin [vincentfretin]Thomas Desvenain [thomasdesvenain]Domen Kožar [iElectric]Nejc Zupan [zupo]Patrick Gerken [do3cc]Timo Stollenwerk [timo]Johannes Raggam [thet]Sven Strack [svx]Héctor Velarde [hvelarde]Aurore Mariscal [AuroreMariscal]Víctor Fernández de Alba [sneridagh]Alexander Loechel [loechel]Changelog4.0.9 (2021-11-11)Change: Remove python_requires from addon setup.py
[avoinea]4.0.8 (2021-11-11)Change: Upgrade to Plone 6
[avoinea]4.0.7 (2021-04-14)Bugfix: Fix Jenkinsfile and long_description_content_type
[avoinea]4.0.6 (2021-04-03)Change: Disable WWW and KGS tests in Jenkinsfile by default to be able to release the egg
[avoinea]Bugfix: Fix Jenkinsfile python3 Docker container name
[avoinea]4.0.5 (2020-12-03)Change: Modified addon template so that you can now create packages with 2
namespaces e.g. eea.foo.bar
[iulianpetchesi]4.0.5rc5 (2020-11-25)Cleanup: Fix pylint, pep8
[avoinea]4.0.5rc4 (2020-11-25)Cleanup: Remove CasperJS functional tests
[avoinea]4.0.5rc3 (2020-09-02)Cleanup: Update Jenkinsfile and setup.py
[avoinea]4.0.5rc2 (2019-05-09)Bug fix: Fix addon setup.py.bob syntax
[avoinea]4.0.5.rc1 (2019-05-09)Initial release based on bobtemplates.plone 4.0.5
[avoinea]