-
selsta
.merge+ 10796 10797
-
xmr-pr
Added
-
br-m
<milas900:matrix.org> Probably use AI to remove > <@thomasbuilds:matrix.org> My goal with this PR is to remove all the dead code in the monero repo, what you think?
monero-project/monero #10809 ?
-
tobtoht
.merges
-
xmr-pr
10597 10598 10790 10796 10797
-
selsta
.merge+ 10824
-
xmr-pr
Added
-
br-m
<thomasbuilds:matrix.org> @milas900:matrix.org: yes after seeing that contributors kept finding typos after my codespell cleanups I figured it would be better to use AI to tackle this fully, I set up subagents to read entire codebase in search of spelling issues and well many findings but idk if monero should address this tbh
-
br-m
-
br-m
<ofrnxmr:xmr.mx> the ones that are just comments.. i say yolo the changes in
-
br-m
<ofrnxmr:xmr.mx> there are 2 schools of thought: 1) dont touch code / only touch comments. 2) fix everything at once
-
br-m
<ofrnxmr:xmr.mx> i think either way it would be a good idea to add something like codespell to check the diffs on ci runs
-
selsta
i'm against renaming variables, even if done at once
-
br-m
<thomasbuilds:matrix.org> selsta: yes though do we care about fixing typos in comments/string literals if there are still typos in variable, function names?
-
br-m
<thomasbuilds:matrix.org> like it seems to me the job can't be fully completed
-
br-m
<ofrnxmr:xmr.mx> in general, i dont think we care about fixing old spelling errors. oonly reasons to fix them, are to avoid spelling-error fix prs, or if already touching the related code
-
br-m
<jpk68:matrix.org> Aside from function names, I am personally in favour of fixing typos/grammar issues (which is probably not hard to tell from my past PRs)
-
selsta
thomasbuilds: anything that is end user facing needs to be fixed, comments can be fixed, anything else i'm against
-
br-m
<jpk68:matrix.org> @ofrnxmr:xmr.mx: There would be no good reason to keep things the way they were here, for example:
-
br-m
-
br-m
<thomasbuilds:matrix.org> selsta: I'd assume you include string literals too?
-
selsta
if they show up for the end user somewhere yes
-
br-m
-
br-m
<jpk68:matrix.org> No way, AI knows the number of "R"s in "raspberry" :D
-
br-m
<jpk68:matrix.org> For the last one in device_ledger.cpp, I think I tried to fix that in an earlier PR, but didn't get a response when I asked if it was supposed to be "use" or "unset"
-
br-m
<jpk68:matrix.org> Looking at the context, it probably is "use" but I could be wrong
-
br-m
<ofrnxmr:xmr.mx> It probably just ran codespell
-
br-m
<jpk68:matrix.org> He said he used AI since codespell left out a bunch last time
-
br-m
<thomasbuilds:matrix.org> haha lmao > <@jpk68:matrix.org> No way, AI knows the number of "R"s in "raspberry" :D
-
selsta
.merge+ 10646 10774
-
xmr-pr
Added