Closed rsglobal closed 1 year ago
@mikegapinski ,
After this PR lands, I will apply most of the configuration patches to the mainline. After that, we can remove them from this repo.
@rsglobal
Maybe we should implement some sort of a low for patches that are supposed to land in the configuration upstream? Removing them from device repos just to apply them to the main repository all the time is not exactly efficient.
How it could be done if someone adds a PR to GloDroidCommunity without identifying generic patches that could go upstream:
How I would prefer to submit those PRs:
Side note: If we create patches that are generic(like the one I did with expanding the userdata partition) they should be only submitted upstream, the only thing required in GloDroidCommunity/device_xxx is a PR with the updated manifest ref
My concern is that any complex flows will slow down the progress. Also, the current approach allows for creating releases of the particular device more frequently without worrying about breaking generic code. Currently, I'm applying these generic patches to the pinephone, and once confirmed they work well not only for rpi4, will push them into glodroid/configuration.
I'm ok with enforcing some laws, but let's give us some time to collaborate without them to summarize what can be improved by the laws, so the latter will help, not hurt.
Sure, I am just a process optimisation freak.
I forgot about the fact that devices are released independently at the moment, it would make sense to revisit what I suggested once more boards show up as those generic patches have to be verified on a few of them once they hit the upstream
CI with auto-deployment and testing may help a lot here. But such a CI is yet one big project.
@mikegapinski ,
After this PR lands, I will apply most of the configuration patches to the mainline. After that, we can remove them from this repo.