init-plugin command for new plugin creation

Bug #1629910 reported by James Lucas
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Snapcraft
New
Undecided
Unassigned

Bug Description

Hi, I wanted to open this to track progress for an "init-plugin" command. The idea for this came from feedback received when filing bug 1624798: https://bugs.launchpad.net/snapcraft/+bug/1624798/comments/1.

I've done some initial work on a branch for this (https://github.com/jaymell/snapcraft/tree/InitPlugin) and would like to submit a PR once it's further along.

The main goal would just be to:
1) create proper dir structure and plugin sub-class based on plugin name provided
2) provide hook-ins to existing documentation for plugins / some other helpful guidance

I'd be glad to hear anyone's thoughts on this. Thanks!

Revision history for this message
Mark Shuttleworth (sabdfl) wrote : Re: [Bug 1629910] [NEW] init-plugin command for new plugin creation

The main thing I would like to see in the stub is an outline summary of
the key methods and instance variables provided by BasePlugin.

Mark

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.