plone / bobtemplates.plone

Python Code Templates for Plone Projects with mr.bob
https://pypi.org/project/bobtemplates.plone/
GNU General Public License v2.0
24 stars 31 forks source link

Needs update to latest Plone releases #173

Open jensens opened 8 years ago

jensens commented 8 years ago

Is there a way to let bobtemplates.plone point always to the latest bugfix release of a series instead of letting us always edit some files to adjust this?

If not: the manual work is again needed.

idgserpro commented 8 years ago

Shouldn't this be asked at mr.bob since we're messing with ini files?

My 0.02c:

The problem here is to define where exactly should this environment variables be set (don't even know if it's possible by the way mr.bob works), and the whole architecture is not exactly intuitive, but at least we're not trying to reinvent the wheel since ConfigParser supports this idea.

MrTango commented 7 years ago

We could either use something like 5.0-latest in tthe init file or use a pre question hook to calculate the Plone Version. Setting a environment variable like BOBTEMPLATES_PLONE_VERSION seems to be flexible and could always overrite the static default.