You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Linux "flutter/generated_plugin_registrant.{h,cc}" are checked into source control, building generates "// clang-format off" #76726
I vaguely remember having a conversation with @stuartmorgan about why this file isn't in the ephemeral directory but I can't recall the details.
Either it should be generated in the ephemeral directory so it's not checked into source control, or if it is supposed to be checked into source control, all the generated_plugin_registrant files checked in the Flutter repo should be updated to have // clang-format off so we don't get a dirty working copy every time we build an example or integration test app. #76662
diff --git a/dev/integration_tests/flutter_gallery/linux/flutter/generated_plugin_registrant.cc b/dev/integration_tests/flutter_gallery/linux/flutter/generated_plugin_registrant.cc
index 026851fa2f..f6f23bfe97 100644
--- a/dev/integration_tests/flutter_gallery/linux/flutter/generated_plugin_registrant.cc
+++ b/dev/integration_tests/flutter_gallery/linux/flutter/generated_plugin_registrant.cc
@@ -2,6 +2,8 @@
// Generated file. Do not edit.
//
+// clang-format off
+
#include "generated_plugin_registrant.h"
#include <url_launcher_linux/url_launcher_plugin.h>
changed the title [-]Desktop generated plugin registrants are checked into source control, building generates "// clang-format off"[/-][+]Linux "flutter/generated_plugin_registrant.{h,cc}" are checked into source control, building generates "// clang-format off"[/+]on Jun 7, 2024
I was going to merge these into one for desktop, but on second thought since the codepaths are all different and we already have a separate one for macOS, I'll file a new one for Windows instead.
Activity
jmagman commentedon Feb 24, 2021
\cc @blasten
stuartmorgan-g commentedon Feb 24, 2021
Luckily it was in a persisted medium :) #71762
The tl;dr is "because everyone else was doing it"
jmagman commentedon Feb 24, 2021
You're a GitHub search sorcerer.
12 remaining items
[-]Desktop generated plugin registrants are checked into source control, building generates "// clang-format off"[/-][+]Linux "flutter/generated_plugin_registrant.{h,cc}" are checked into source control, building generates "// clang-format off"[/+]stuartmorgan-g commentedon Jun 7, 2024
I was going to merge these into one for desktop, but on second thought since the codepaths are all different and we already have a separate one for macOS, I'll file a new one for Windows instead.
chore: mark ephemeral files as generated
chore: mark ephemeral files as generated
chore: mark ephemeral files as generated
chore: mark ephemeral files as generated
Further UI Improvements (#155)
[various] Ignore generated plugin files (#11455)
[various] Ignore generated plugin files (flutter#11455)