<div dir="ltr"><div>I've recently updated the plugin_template to work with the latest <br></div><div>master (3.0). [0] The template handles almost all of the bootstrapping</div><div> work necessary to write a new plugin, so it is valuable to keep it up to</div><div> date. Given human nature, it's likely that the plugin_template will tend <br></div><div>to fall behind as it did recently. I have some ideas to save time while <br></div><div>keeping the template current and useful.<br></div><br><div>1) Move the plugin writer docs [1] into the plugin_template repository</div><div>        - Leave a (very) high level overview in the core docs with a link to</div><div>          the template docs.<br></div><div>        - Plugin writer docs PRs would only go to one place, and it would</div><div>          be easier keep the docs in line with the code.<br></div><div>        - Narrative docs in the template would explain what needs to be <br></div><div>          done generally, linking to the modules.<br></div><div>        - Specific instructions would live in the code modules alongside <br></div><div>          basic working code, and additional commented out code</div><div>          to demonstrate and explain more complex behaviors.</div><div><br></div><div> 2) Add pulp_smash tests for basic functionality of a bootstrapped plugin.<br></div><div>         - Run these tests as a check on pulpcore and template PRs<br></div><div>         - Ensure that discoverability works</div><div><div>         - Fail with breaking Plugin API changes</div><div>         - If the test uses pulp_smash, it would include a base set of</div><div>           integration tests for every new plugin.<br></div><br></div><div>My reasoning is that no matter what changes we make to pulpcore,</div><div>we need to keep the plugin writer docs updated. Doing this in the</div><div>template will provide value for plugin writers, and will inform pulpcore</div><div> developers when it needs to be updated.<br></div><div><br></div><div>[0]: <a href="https://github.com/pulp/plugin_template/pull/9" target="_blank">https://github.com/pulp/<wbr>plugin_template/pull/9</a><br></div><div>[1]: <a href="https://github.com/pulp/pulp/tree/master/docs/plugins/plugin-writer" target="_blank">https://github.com/pulp/pulp/t<wbr>ree/master/docs/plugins/plugin<wbr>-writer</a><div class="m_-5478358523845238607gmail-yj6qo"></div><div class="m_-5478358523845238607gmail-adL"><br></div></div><br></div>