Skip to content

Mrtango replace addon template 7 #89

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 8 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 16 additions & 2 deletions CHANGES.rst
Original file line number Diff line number Diff line change
@@ -1,12 +1,26 @@
History
=======

2.6 (unreleased)
----------------
7.0a3 (unreleased)
------------------

- Nothing changed yet.


7.0a2 (2025-05-30)
------------------

- fix lookup of bobtemplates-plone templates
[MrTango]


7.0a1 (2025-05-30)
------------------

- bump bobtemplates.plone dependency to 7.0.0a1
[MrTango]


2.5 (2022-11-03)
----------------

Expand Down
2 changes: 1 addition & 1 deletion plonecli/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ def cli(context, list_templates, versions):
click.echo(reg.list_templates())
if versions:
ws = WorkingSet()
bobtemplates_dist = ws.by_key["bobtemplates.plone"]
bobtemplates_dist = ws.by_key["bobtemplates-plone"]
bobtemplates_version = bobtemplates_dist.version
plonecli_version = ws.by_key["plonecli"].version
version_str = """Available packages:\n
Expand Down
3 changes: 2 additions & 1 deletion plonecli/registry.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,8 @@ def __init__(self, cur_dir=None):
for entry_point in pkg_resources.iter_entry_points("mrbob_templates"):
template_info_method = entry_point.load()
self.template_infos[entry_point.name] = template_info_method()

from pprint import pprint
pprint([ti.__dict__ for ti in self.template_infos.values()])
for entry_point_name, tmpl_info in self.template_infos.items():
if tmpl_info.depend_on:
continue
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[metadata]
name = plonecli
version = 2.6.dev0
version = 7.0a3.dev0
description = A Plone CLI for creating Plone packages
long_description = file: README.rst, CHANGES.rst
keywords = plone cli bobtemplates mrbob zopeskel development
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"Click>=7.0",
"click-aliases",
"mr.bob",
"bobtemplates.plone>=6.0b15",
"bobtemplates.plone>=7.0.0a2",
"tox",
],
extras_require={
Expand Down
Loading
Loading