introduce new legacy_threading build tag, build is now migrated by de…#6255
introduce new legacy_threading build tag, build is now migrated by de…#6255dweymouth wants to merge 2 commits into
Conversation
|
Thanks for marking this as 2.9 - the migration plan shows we need more serious warnings on the 2.8 release and then we can turn this on by default for develop after v2.8.0 goes out |
|
On naming - wouldn't it be better to stick with the name we used before and pick "legacy_fynedo" I know it's kindof backwards - but then we have a process for future migrations whereby it's "migrated_xyz" followed by "legacy_xyz". Or maybe "disable_" instead of "legacy_" or another name? |
|
Oh, I misread the milestone - this needs to go to "I", as per the doc we have: https://github.com/fyne-io/fyne/wiki/Threading-migration |
|
Feel free to pick this up now that 2.8 is out |
If going with this naming scheme, "legacy_" is definitely better than "disable_" I think, because then it would be "disable_fynedo" which is definitely not what the tag would be doing. Even "legacy_fynedo" is not the most descriptive name since it doesn't change the behavior of |
Description:
Introduces a new build tag
legacy_threadingand retires the oldmigrated_fynedotag. Code will now build as "migrated" by default including with a plaingo build.N.B.: The corresponding change to build.go will need to be made in the fyne-io/tools repository to set the new
legacy_threadingtag when the fyneDo migration is explicitly marked as false in FyneApp.tomlChecklist: