-
Notifications
You must be signed in to change notification settings - Fork 7
Developer How To
Rob Campbell edited this page Jun 18, 2019
·
10 revisions
This page covers issues a developer might run into when adding features and also guidelines for contributing.
Lasagna adheres to PEP8 and commits should be passed through Black.
Preference is for commits to go to development
and only merge commits into master
.
Exceptions to this are hings like modifications to the readme, changelog, or perhaps small bugfixes.
Please avoid creating a branch per feature in this repository.
If you wish to do this, please clone the repo, branch, make changes, then file a pull request into development
or perhaps master
.
Say you want a new sub-menu under "Plugins" called "awesome_plugins" and you want to bundle these with Lasagna:
mkdir lasagna/lasagna/plugins/awesome_plugins
touch lasagna/lasagna/plugins/awesome_plugins/__init__.py
- Add the new directory to
pluginPaths
inlasagna_prefs.yml
- Add your plugin to the new directory. It should have a file name ending in
_plugin.py