Replies: 7 comments 17 replies
-
Another option is that all we do is just to just keep a list of interesting/community examples and let all of that be self maintained by the authors. The downside of that is that it's harder to curate things and make sure examples are not broken or outdated. |
Beta Was this translation helpful? Give feedback.
-
To me this is the best way to go but my thoughts can be summarized as such:
Maybe I am making this easier than it is but if create any unnecessary friction developers don't care dealing with in the wild (see code pens, builder.io or any other) we'll simply receive less examples to showcase and the repo will stall in purpose and usefulness. Also +1 to what hood said around tests but that's probably worth a specific discussion beside this one. |
Beta Was this translation helpful? Give feedback.
-
It took me a while to give my 2cents here, but here goes. CollectiveI think partly of the reason why the collective didn't get more traction was caused by me being busy with other things since I told Paul that I would help there. The collective still feels like a great way for us to curate examples and let folks contribute to pyscript but there are a couple of things that I am concerned:
Perhaps we should be less strict on the contributions, obviously, we want the examples to be of good quality and have tests so we know they work, but it feels like we may need to have a bit of balance, maintainers can't do it all. Should we revisit the collective again and perhaps decide on a loose structure for it? @pauleveritt is likely to have some thoughts here.
I like that idea, we could tag examples with beginner, intermediate, advanced or something 🤔 Awesome lists
We currently do have an awesome list in the collective and after our last community call, I created this PR in pyscript.net but it still waiting for a merge. Perhaps we could start with an Awesome List where folks could contribute their projects, tutorials and talks to the list and if they wish the contributors could use pyscript.com to host their projects - we probably just need to have a good PR issue or readme telling users how to host their projects if needed. I guess the takeaway from this is that we probably should meet up (community call?) and decide what we want to do with examples and contributions because it's clear we do have users that would like to contribute to the project by sharing their creations. |
Beta Was this translation helpful? Give feedback.
-
I think that's a good starting point that would move us a bit closer to the final goal without having to pick the home for examples yet (which, I know, is the core of this discussion 😅 ). +1
That really is the core of the matter. Maybe you are right and would be beneficial to have a community call on the matter... let's try to have one soon then! |
Beta Was this translation helpful? Give feedback.
-
Apologies for an OT fanboy moment, but... @WebReflection it's wonderful being in a thread with you. I spent last summer, at a beach on northern French coast, reading all your stuff. Repeatedly. And imagining how to project your ideas into a Python-based SSG. I'd say Ryan Carniato and you are the two I've studied the most. Thanks for your years (decades?) of web platform advocacy. |
Beta Was this translation helpful? Give feedback.
-
Ok... Trying to move this discussion forward to a point that we can actually agree on something and turn that into action items. From the conversations, I feel like there is overall convergence towards:
In addition to these, I'd also like to propose the following (not necessarily discussed before, so I'm separating these in their own list):
|
Beta Was this translation helpful? Give feedback.
-
FYI, create a new repo as a container for community examples, maybe is a good idea, community examples can be used as a reference and maintained by the author; I think there are only a few examples available now. |
Beta Was this translation helpful? Give feedback.
-
The topic of "where do we host and cherish community examples" has been around for a while and we should decide what to do and the best place to handle it.
The goal of this discussion is to raise the topic again, understand why this discussion is important, what tools we have to "make it work", and where to go next.
What's the goal of examples in the main core repo?
There are 2 main reasons why we have examples in the main core codebase:
Why it's a problem to merge additional examples [from non core maintainers]
The main problem is that, once the code is merged, it's the
core maintainers
responsibility to maintain and make sure that code works as we develop new features and make changes. The more we merge, the more work for core developers. Once we merge an example we are basically accepting potential tech debt that might emerge in the future.An additional issue is that many new examples are similar to examples that already exist in the codebase or that exercising the same internals of the previous examples and, hence, not as effective as a tool to ensure item 2 in the reasons we have examples above.
What's the current state?
The reality is that, right now, there's now "cozy home" for the examples. The effort started with the pyscript-collective was to create a repo that would be created and maintained by the PyScript community and would focus on collecting curated material (in the form of examples, tutorials, articles, etc..) but effectively, it stalled.
What should we do?
I think there's a lot of value in having a place for the community to gather and maintain an examples catalog as well as tutorials. Imho, there's a lot of value in that but it also requires some effort from the community to maintain it. Ideally, the more we can automate, the better.
I'd love to see if we can make a lot of the effort be automated. For instance:
Ideally, I'd love to see the community curate those examples and always make sure that they are up to date and of great quality but that requires commitment from people and I (we) can't guarantee that. The list above tries to at least add visibility to that and make curators' lives easier.
Finally, I think the best option is to leverage pyscript.com and have examples hosted there. The question is, do we want to have a repo where people curate and merge examples to, and these examples are automatically deployed to a PyScript Collective Examples account or do we want to go with a different proposal/flow?
Would love to hear other thoughts or alternative proposals and finally make a concrete step towards a clear path.
Beta Was this translation helpful? Give feedback.
All reactions