-
Notifications
You must be signed in to change notification settings - Fork 296
Extending Cadquery
thebluedirt edited this page Jun 7, 2022
·
6 revisions
This page lists some topics/thoughts to facilitate discussion. The items are numbered for easy reference in conversation
- How do we decide which things go into core, and which ones do not?
- What are the preferred ways to extend CQ?
- what ground rules should be followed for accepting contributions for core code?
- Does the structure of CQ itself allow for the best answers to these?
- What plugin types/structure is right? And how opinionated should we be?
- We have public contrib repository, but many have decided also to use external libraries
- We do have a standard proposal on how to use plugins, which use monkey patching
- There does appear to be more standard ways to support plugins, such as here: https://packaging.python.org/en/latest/guides/creating-and-discovering-plugins/
- vertical plugins like django? CQ does not have a rich set of plugin interfaces. How do people feel about extensive plugins like django uses, where a plugin can contribute functionality at lots of layers?
- some really great work uses plugins, some doesnt cq-kit and cq-warehouse how should we help these projects?
- if we want to make it easy for users, and we want to support extensions that are separate projects, should we have a curated list of third party repos?
- what would we say is the very core of CQ, and what things would we say are NOT core?
- CQ could become like Java Spring In my day job, i work a lot in the Java ecosystem. If you know Java, you know Spring, which was once a small, tidy library. Then people kept adding great code. It was useful! But then spring got really really big. And it became hard to choose versions, because there were so many included modules. Eventually, spring went hyper-modular, and kept only the very core in core, splitting out all of the modules. this made it easier to tune which bits you want. but introduced another problem of trying to find which modules are compatible with what
- One discussion revolved around extended export functionality. One argument is that cq should not reach far above OCP. another argument would allow that, because it would be beneficial to lots of people
- One feature that was clearly within scope of core, 'thicken', was authored but ultimately not included in core because of disagreements about the implementation. this begs the question: what should the ground rules be? Are different coding styles allowed, etc.
- What do people think about making plugins more django like?
- If so, how would we go about finding/listing said items, so people know where they are? In the end, there has to be a list somewhere.
- How would we manage matching which versions of plugins use which CQ versions
- How would we allow plugin authors to export multiple versions of a plugin for alpha/beta/stable.