Skip to content
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

Don't use paste.deploy to create the extension template #4799

Closed
amercader opened this issue May 23, 2019 · 0 comments · Fixed by #4982
Closed

Don't use paste.deploy to create the extension template #4799

amercader opened this issue May 23, 2019 · 0 comments · Fixed by #4982

Comments

@amercader
Copy link
Member

We use the following command to bootstrap a new extension:

paster --plugin=ckan create -t ckanext ckanext-iauthfunctions

As with the rest of paste we should look at options to replace it. The best option by far seems to be Cookiecutter, with extensive support and lots of feature. This will allow us to host the template extension in a separate repo (like this examples), so we can improve it separately from core.

Approach

Create a separate Cookiecutter recipe for CKAN extensions that covers the same parts as the current ones (and improves it if possible)

Story points

5

@amercader amercader added this to To do - Transition in Python 3 Support May 23, 2019
f-osorio pushed a commit to f-osorio/ckan that referenced this issue Sep 11, 2019
Replace mentions of `paster create` with `cookiecutter`. Not sure the
final location for the cookiecutter templates, the instructions for how
to get it has a placeholder "https://github.com/<user>/<reop>.git"
f-osorio pushed a commit to f-osorio/ckan that referenced this issue Sep 11, 2019
@amercader amercader moved this from To do - Transition to In Progress in Python 3 Support Sep 18, 2019
@davidread davidread moved this from In Progress to Done in Python 3 Support Oct 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
Development

Successfully merging a pull request may close this issue.

1 participant