Skip to content
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

Migrate bloc to v8 #37

Open
wants to merge 12 commits into
base: master
Choose a base branch
from
Open

Conversation

rajoriaakash
Copy link

Fixes #9

@techno-disaster
Copy link
Member

Hi, this LGTM and should mostly work because you also added the sequential transfrom, could you try it out with the other options from bloc_concurrency? Would like to know where this could break and if it has any possible perf improvments

@techno-disaster
Copy link
Member

ci fails due to formatting issues, can you fix that?

@rajoriaakash
Copy link
Author

ci fails due to formatting issues, can you fix that?

Hi, i don't have knowledge on ci/cd pipeline but I can surely try 😄.. although it would take some time

@rajoriaakash
Copy link
Author

I think flutter analyze should be run before flutter format in workflows as running flutter format first isn't helping in identifying issues.

Although I'm not sure that this commit won't fail :)

@@ -0,0 +1,30 @@
// This is a basic Flutter widget test.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks unrelated

@rajoriaakash
Copy link
Author

I'll try to fix CI failure

@rajoriaakash
Copy link
Author

Could you please run the checks again?

lib/main.dart Outdated Show resolved Hide resolved
@techno-disaster
Copy link
Member

Looks like formatting still fails could you run

flutter format . 
flutter pub get
flutter pub run import_sorter:main --no-comments 

@rajoriaakash
Copy link
Author

Looks like formatting still fails could you run

flutter format . 
flutter pub get
flutter pub run import_sorter:main --no-comments 

I sorted the imports

@rajoriaakash
Copy link
Author

@techno-disaster, please run the tests again :)

@rajoriaakash
Copy link
Author

How can I check all the workflows locally without having you run the tests again and again ...might be a dumb question :)

@techno-disaster
Copy link
Member

How can I check all the workflows locally without having you run the tests again and again ...might be a dumb question :)

flutter format . 
flutter pub get
flutter pub run import_sorter:main --no-comments 
flutter test

should be enough I guess

@rajoriaakash
Copy link
Author

How can I check all the workflows locally without having you run the tests again and again ...might be a dumb question :)

flutter format . 
flutter pub get
flutter pub run import_sorter:main --no-comments 
flutter test

should be enough I guess

thanks !

@rajoriaakash
Copy link
Author

I think it should work now :")

@techno-disaster
Copy link
Member

Hi, this LGTM and should mostly work because you also added the sequential transfrom, could you try it out with the other options from bloc_concurrency? Would like to know where this could break and if it has any possible perf improvments

@rajoriaakash were you able to look into this?

@rajoriaakash
Copy link
Author

rajoriaakash commented Feb 12, 2022

Hi, this LGTM and should mostly work because you also added the sequential transfrom, could you try it out with the other options from bloc_concurrency? Would like to know where this could break and if it has any possible perf improvments

@rajoriaakash were you able to look into this?

I haven't looked into it as of now, will look.
This build_linux test is failing due to the package manager ig and is unrelated to my changes.

@rajoriaakash
Copy link
Author

I checked all the options from bloc_concurrency and idts it would fail on any of them. Although I think sequential is good to go.

@techno-disaster
Copy link
Member

Yep SGTM, the default was sequential anyway. Thanks for your work! A couple of merge conflicts, do you think you can fix them anytime soon?

Also bloc v9 is a thing but should be easy to migrate afaik.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

update to bloc 8.0.0
2 participants