-
-
Notifications
You must be signed in to change notification settings - Fork 2
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
[Feature]: Let merge this :) #1
Comments
I added you as a collaborator. Please feel free to take a more active roll in FBP. I've been trying to reduce my time commitment, so it's great to have someone to split it with. Are you okay to handle the work of merging the remaining commits? We should also probably update the readme. Then when you are ready, do a "Release 1.35.0" commit & add a git tag. |
Also just a bit of context - the last time we talked I was right before product launch, so I very much wanted to avoid active development on the main branch. But now the launch already happened and the launch bugs are ironed out. So now is a much better time for these developments. |
Hi @chipweinberger, it's great that you're keen to merge these platform interface changes into the upstream repository! In order to minimise your time commitment would you like me to maintain the Linux and Web platforms separately? |
It's a good question. I think just all one repository is fine. But up to you! |
That sounds good to me, if you're happy with all platform implementations in the upstream repository, then I will open a Pull Request to merge the changes in this repository. Have you got any upcoming changes that I should plan to merge into this fork before opening the Pull Request? |
no need for a pr! / you can merge as you please you could work off master branch too if you want! |
as for upcoming changes, none. But these eventually will be fixed: |
Thank you for confirming that, I have prepared a branch that we should be able to merge into upstream's master. Once merged, we should publish the platform interface, then the implementations, then the main package itself.
I am more than happy to handle the merging of the linked Pull Request into master if you are happy for me to.
Just to double check, does this take into account that we will have a monorepo, that contains multiple packages? |
not sure |
Would you be able to update the tag that is used in the automated publishing settings to handle multiple packages?
Based on the guidance a tag pattern of |
Looks good to me, I will merge the associated Pull Request, then set up some GitHub Actions to publish the packages. Upon reviewing the documentation, the initial version of the newly added packages will need to published manually. |
The |
okay, i pushed all the packages. |
last, just a small style thing, please push a "Release 1.35.0" commit. Just so we can easily see each version in the commit history. |
Now that the initial versions have been published we should be able to push git tag(s) to run the relevant workflow(s). |
Out of interest would you like to differentiate between the different packages (and versions) in the commit message? |
Yes, we probably ought to. I'm not quite sure, but whatever makes the most sense. e.g. Whenever we update a pubspec.yaml version number |
Okay, I think I know how to do it. We will use a single version number, essentially. Whenever we update any package, we'll also update
dependencies:
flutter:
sdk: flutter
flutter_blue_plus_android: ^1.35.0
flutter_blue_plus_ios: ^1.35.0
flutter_blue_plus_linux: ^1.0.0
flutter_blue_plus_macos: ^1.35.0
flutter_blue_plus_platform_interface: ^1.0.0
flutter_blue_plus_web: ^1.0.0 Also, we should remove the A huge advantage is now people can just tell us a single version number, and we'll know exactly what they are using. Essentially, I am trying to keep the simplicity of non-federated. Then we can just have a single "Release 1.X.X" commit too. For Windows, since we don't plan to control it, we'll just use |
I appreciate your push back. Do we actually plan to validate mixing & matching? Is it worth our time to debug issues from mixing & matching? I know for me, I don't have time or motivation to deal with that. FBP has had a single version number for years, and it's never bothered anyone. IMO, let's start with one version number. It's simpler for us, and simpler for users. We can always introduce ranges later. |
Of course, it is your decision as the lead maintainer, I was simply pointing out what the other Flutter packages do. |
Lead maintainer, for now :) Thanks again for all your work on platform interface. |
No problem at all, it is my pleasure! I am very grateful to be able to use Thank you very much for your support reviewing, testing, publishing the platform interface and federated packages. |
@ekuleshov, just want to make you aware of this: #1 (comment) you can push tags and it should release to pub.dev, assuming we setup the github actions correctly. In terms of version numbers, I'm flexible. I prefer using |
@tnc1997 , what is the purpose of this commit? chipweinberger@3b5e4d1 Why do they all need to return bool? If it's to avoid future breaking changes, we should not care about that. No one else is using the platform interface besides us. We can break it anytime. And we can coordinate with @chan150 about Windows. IMO, lets document that the platform interface is intended for internal use, and has no stability guarentees. Then we can stop worrying about 'breaking' it. |
Also worth pointing out, the interface will change dramatically when we implement this: chipweinberger#795 |
Not necessarily. E.g. if we'd just rely on the order of services/chars in the public api. Then internally could use indexes or use internal subclass of Guid with an index |
sure. let's do whatever makes most sense. I don't care about breaking the platform interface. It just came out. It's not stable yet, and has no public purpose yet. |
After reviewing the Android/iOS/macOS platform implementations, this is the result that those method channels return, so returning a |
That sounds good, would you be comfortable for us to use semantic versioning for |
oh ok. Yes, good point. I can't recall if we need to return anything for those, or if it just happened to be like that. |
What is your feature request?
I'm looking it over, and i'm impressed with how it turned out. Thanks for taking the initiative.
The text was updated successfully, but these errors were encountered: