-
Notifications
You must be signed in to change notification settings - Fork 783
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Get community maintainers onto mainline community repo #1418
Comments
We're planning to do a mob coding session in one of the cursorless meet-ups where we try out this idea for one small part of community, eg numbers or formatters, to see if it is promising |
I'm excited to see interest in trying this out! Thank you for putting in the time to experiment. This plan sounds like a really good strategy to me, and I'm excited to hear how it goes. |
@AndreasArvidsson and I discussed formatters at length. It appears there are several PRs to get formatters to support our use cases:
Each of the above could be a separate PR |
We also started to question whether a sub-tree was the right way to go, because that would mainly be for @AndreasArvidsson to use, as everyone else is on a fork, so wouldn't use the subtree, and realistically we imagined @AndreasArvidsson wouldn't last very long without changing it. Even in the case of the above formatters, it seems unlikely we'll come up with something @AndreasArvidsson would be willing to use without having to change the code, but we can see how far we get and if we succeed with formatters it's a good sign |
It would be my hope that changing the code as necessary would be feasible and that we'd all benefit from those changes. Already, I can say that these formatters changes sound really nice and I didn't have them because I was unaware they existed, so this direction is directly benefiting me-thank you. |
I'm not sure if this visualization is helpful, but I tried to capture the problem that I'm seeing in a diagram in case the visual representation helps. I could certainly be missing some things. This seems to be what's going on to me: I think that the feedback to the community repository is being hampered by the fact that many are using forks. That also in turn exacerbates the problem. There's a alternative reality that could be positive for the community repository that looks a little bit like this: At least that's how I'm thinking about it right now. I'd love to discuss more, especially if you see it differently, because I'm sure I could learn from your experience. |
By request I'm updating the formatters in community with my own implementation. * Each formatter can decide how it wants to unformat the text beforehand when doing reformat * Allow you to reformat strings and still keep delimiters * Added proper reformat action All the issues around updating the history in the capture in having actions like `insert_many` I leave to a follow up. We all show probably should have a follow up around the spoken forms and where they are located. Better outlined here: #1418 --------- Co-authored-by: Nicholas Riley <[email protected]> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
The problem
Today, none of the community maintainers are using the main branch of community. This fact means that
The solution
The idea would be that core maintainers would be able to use the main branch of community, with their own customization repo that sits beside community to enable their own customization. Generally speaking, this will require us to make community more customizable, eg by
.talon-list
filesThese are just general principles; in practice we will need to look at the different places that our core maintainers have changed in their forks, and treat them on a case by case basis. For each change, either:
How do we get there
We propose to create a git subtree of community (similar to what we do with https://github.com/talonhub/community/tree/main/apps/vscode/command_client). This subtree would contain a growing subset of community that we expect all core maintainers to leave untouched, or at least try to keep close to main and upstream changes fairly regularly. The subtree would have a well-defined api surface. Ideally it would be generic enough that @AndreasArvidsson could have this subtree cloned alongside his repo, after having removed the corresponding piece from his repo
Initially, the subtree would have a single directory from core, eg formatters or numbers. We then add more and more to it, until it grows to be most (all?) of the community repo
When Talon has a package manager, the subdirectories from this subtree could become Talon packages, and the maintainers would be able to start using them right off the bat, because they wouldn't need their own custom versions
Related
Thanks to @jaresty for pushing in this direction
The text was updated successfully, but these errors were encountered: