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

vdk-plugins: improve plugin project creation with cookiecutter #942

Merged
merged 3 commits into from
Aug 26, 2022

Conversation

antoniivanov
Copy link
Collaborator

@antoniivanov antoniivanov commented Aug 17, 2022

Add quickstart to make it easier to create a new plugin project with
cookiecutter instead of copy pasting the template folder (which was not
used a lot)

Now it is as easy as

pip install -U cookiecutter
cookiecutter https://github.com/tozka/cookiecutter-vdk-plugin.git

Testing Done:
cookiecutter https://github.com/tozka/cookiecutter-vdk-plugin.git

Signed-off-by: Antoni Ivanov aivanov@vmware.com

Add quickstart to make it easier to create a new plugin project with
cookiecutter instead of copy pasting the template folder (which was not
used a lot)

Now it is as easy as

```
pip install -U cookiecutter
cookiecutter https://github.com/tozkata/cookiecutter-vdk-plugin.git
```

Testing Done: `cookiecutter
https://github.com/tozkata/cookiecutter-vdk-plugin.git`

Signed-off-by: Antoni Ivanov <aivanov@vmware.com>
projects/vdk-plugins/README.md Show resolved Hide resolved
Copy link
Contributor

@gageorgiev gageorgiev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. One thing that worries me is whether it's appropriate to have the template in your personal projects. Could we not rework the current plugin template to be a submodule (https://git.wiki.kernel.org/index.php/GitSubmoduleTutorial) and pass a path to it when creating a plugin?

@antoniivanov antoniivanov merged commit 8edf2b1 into main Aug 26, 2022
@antoniivanov antoniivanov deleted the person/aivanov/vdk-plugin-template branch August 26, 2022 13:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants