Skip to content

[Types] detach-bar-modules#31

Closed
keithharvey wants to merge 1 commit intofmtfrom
mig-detach-bar-modules
Closed

[Types] detach-bar-modules#31
keithharvey wants to merge 1 commit intofmtfrom
mig-detach-bar-modules

Conversation

@keithharvey
Copy link
Copy Markdown
Owner

@keithharvey keithharvey commented Mar 28, 2026

Commands

Demonstrates running bar-lua-codemod with:

# detach-bar-modules -- moves I18N, Utilities, Debug, Lava, GetModOptionsCopy off the Spring table
bar-lua-codemod detach-bar-modules --path "$BAR_DIR" --exclude common/luaUtilities

Output Summary

bar-lua-codemod detach-bar-modules results:
  Modules detached:  I18N, Utilities, Debug, Lava, GetModOptionsCopy
  Files scanned:       2,365
  Files changed:         163
  Conversions:         1,733
  Errors:                  0

Top files by conversion count:
  luaui/Widgets/gui_options.lua                                  804
  luaui/Widgets/gui_keybind_info.lua                             120
  luaui/Widgets/gui_info.lua                                      48
  luaui/Widgets/gui_top_bar.lua                                   48
  luaui/Widgets/gui_advplayerslist.lua                            46
  luaui/Widgets/gui_chat.lua                                      35
  luaui/Widgets/gui_teamstats.lua                                 30
  luaui/Widgets/gui_raptorStatsPanel.lua                          28
  luaui/Widgets/gui_scavStatsPanel.lua                            28
  luaui/Widgets/gui_pregameui_draft.lua                           27
  luaui/Widgets/gui_advplayerslist_music_new.lua                  22
  luaui/Widgets/gui_awards.lua                                    21
  luaui/Widgets/gui_pip.lua                                       21
  luaui/Widgets/gui_gameinfo.lua                                  19
  luaui/Widgets/camera_player_tv.lua                              17
  luaui/Widgets/widget_selector.lua                               15
  luaui/Widgets/gui_gridmenu.lua                                  14
  luaui/Widgets/gui_pregameui.lua                                 14
  luaui/Widgets/api_unit_tracker_gl4.lua                          13
  luaintro/Addons/music.lua                                       11

Branch Topology

All branches are generated from b1ranch stylua by just bar::fmt-mig-generate.

Generated 2026-03-29 21:02:47 UTC

Leaf branches (each isolates one transform on top of fmt):

Branch Transform Diff
fmt stylua . (base) 1416 files, +178106 −182876 vs stylua
mig-bracket bracket-to-dot 348 files, +7638 −7649 vs fmt
mig-rename-aliases rename-aliases 169 files, +360 −371 vs fmt
mig-detach-bar-modules detach-bar-modules 169 files, +1528 −1539 vs fmt
mig-spring-split spring-split 756 files, +9482 −9489 vs fmt

Linear branch (all transforms applied sequentially — this is what merges):

Branch Commits Diff vs stylua
mig fmtbracket-to-dotrename-aliasesdetach-bar-modulesspring-split 1427 files, +186967 −191732

@keithharvey keithharvey force-pushed the mig-detach-bar-modules branch from ec53eda to 32663d3 Compare March 28, 2026 06:05
@keithharvey keithharvey force-pushed the mig-detach-bar-modules branch from 32663d3 to ca3b5d7 Compare March 28, 2026 06:45
@keithharvey keithharvey force-pushed the mig-detach-bar-modules branch 2 times, most recently from 1e40bdb to 3558464 Compare March 29, 2026 16:15
@keithharvey keithharvey force-pushed the mig-detach-bar-modules branch from 3558464 to 5aab54e Compare March 29, 2026 21:02
@keithharvey keithharvey force-pushed the fmt branch 2 times, most recently from 3480707 to fa8574d Compare March 31, 2026 03:24
@keithharvey keithharvey force-pushed the mig-detach-bar-modules branch 2 times, most recently from 0972316 to 8f584a3 Compare March 31, 2026 03:27
@keithharvey keithharvey force-pushed the fmt branch 2 times, most recently from ad9ead0 to 8b715ff Compare March 31, 2026 04:53
@keithharvey keithharvey force-pushed the mig-detach-bar-modules branch from 8f584a3 to b13a5b4 Compare March 31, 2026 04:53
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.

1 participant