Replies: 9 comments 11 replies
-
The below is my raw thoughts. Some of it may (and likely will be) wrong: I agree mostly with this. Looking at the most recent PRs, most of them have under 100 lines of change in either addition or deletion, which would indicate that that perhaps the best way for this library to grow from this point is in small steps. Although I think plugins are a good idea for larger functionality, many of the PRs just wouldn't fit as plugins: take the recent #1115 for example. Its such a small function, but seems extremely useful and part of the core concepts of this library. Really, the whole PR was exposing methods already hidden internally... which brings me to my next point. You also mentioned that "others don't necessarily feel they know the code [...] Some bits of code it's not even clear how it should be used". I looked through some of the code today for a different reason, and found my self confused. The three put together - spaghetti-ish code, lack of documentation, many internal methods - then also seem to lead to bugs and errors, as has been seen recently with all the I also agree some input from the maintainers about where they see this going would be nice: the last time I saw one of them was on the 23rd Sep 2021. I'm already trying to cover the documentation issues, which I still think would help, but progress is slow there and I would many 'second' opinions. If anyone reading this wants to help with documentation, please leave a comment on #992 :). Perhaps a second community effort would be good to try to, once and for all, fix all the null-safety errors, and perhaps rewrite/refactor/expose/organise some code. Maintainer help would be great here too: they have first hand knowledge of what does what. So my summary:
Thanks :) Hope that made sense. TLDR/Extra summary: I think 'flutter_map' still has places to go, but some organisation is needed. |
Beta Was this translation helpful? Give feedback.
-
Has anyone tried to make direct contact with @johnpryan (see https://www.jpryan.me/)? |
Beta Was this translation helpful? Give feedback.
-
Yes, I have, and I'm hoping there may be some news in the not too distant future, but sometimes things go slow I know. |
Beta Was this translation helpful? Give feedback.
-
Hi everyone, I'm still here, and have no plans to leave the project anytime soon. I can't commit to being available all the time, as this is a spear-time thing for me. I think many of the issues that are raised could easily be handled using gitter.com or something similar for IM/discussions. With regards to PRs, I'll make en effort going through all with green checks soon. I would also like to promote @ibrierley and @JaffaKetchup for write access @johnpryan. So that we are a couple of more people able to merge PRs. |
Beta Was this translation helpful? Give feedback.
-
I think it would also be helpful to create `CONTRIBUTORS` file.
At the moment it's not very clear what is the best place for PRs. I did
contribute a little bit and was told there's `fleaflet-docs` organization
now that deals with that.
Getting up the website with docs would also be great.
|
Beta Was this translation helpful? Give feedback.
-
Hi everyone, thanks for your patience, I'm busy with other projects at the moment. I've given @ibrierley and @JaffaKetchup write access. |
Beta Was this translation helpful? Give feedback.
-
@johnpryan Thanks for the write access. Maybe it would be a good idea to create a team (called 'maintainers' or something), so pings can be centralised and reviews can be requested by everyone at once? It would also be nice to enable the "Update PR" button under Pull Requests on the General page in Settings, so that maintainers can pull upstream on PRs without waiting for the contributor (who may go inactive). |
Beta Was this translation helpful? Give feedback.
-
I've been thinking about #1165. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Obviously things seem quiet here in terms of getting changes and updates through, so it feels like maybe it's worth discussing this again ? People put some useful hard work and pull requests in, and it feels a bit unrewarding to be met with silence rather than encouragement.
Typically what happens with many open source projects it's reliant on one or two people whose focus shifts, and I assume that's what's happened here with @johnpryan and @kengu for example. We all have changing priorities after great work.
What would be useful is some thoughts from them as to where they are with it, and if they have any ideas.
I for example would be fine to try and help out a bit when time permits (which is often very limited like the rest of us), but I suspect myself and others don't necessarily feel they know the code (especially as it grows) well enough to be certain something should be approved for example, without some other issue not being introduced. Some bits of code it's not even clear how it should be used.
But, I'm wondering if there is some middle ground. For example having a set of requirements for changes, eg if it was required for any changes to include a test and some code to reproduce the problem it's trying to solve, and the solution (basically so it's relatively easy for anyone to review and see the problem is fixed), and then maybe 2 reviews or something. Would it be enough ?
There's probably some overall decisions that should be trickier, i.e not everything should be approved, for example if it can be done with a plugin, or maybe if it strays from Leaflet too much (maybe that ship has sailed somewhat though). We've also had discussions about documentation on a similar issue. Not sure what the ideal here is.
So basically, just trying to get the ball rolling to see where we are and if there's any way forward, other than just forking. It would be useful if John/Ken give their thoughts as well as any others.
Beta Was this translation helpful? Give feedback.
All reactions