Page MenuHomeFreeBSD

mfc-candidates: move pretty printing into lua
ClosedPublic

Authored by emaste on Apr 18 2024, 1:40 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Nov 15, 2:45 PM
Unknown Object (File)
Nov 7 2024, 5:02 PM
Unknown Object (File)
Oct 5 2024, 5:42 AM
Unknown Object (File)
Sep 30 2024, 4:15 AM
Unknown Object (File)
Sep 30 2024, 2:09 AM
Unknown Object (File)
Sep 27 2024, 9:55 AM
Unknown Object (File)
Sep 21 2024, 10:13 AM
Unknown Object (File)
Sep 19 2024, 10:36 AM
Subscribers
None

Details

Summary
d51c59002367 moved the MFC hash matching logic into a lua utility
script but left the output formatting in the shell script. Simplify this
slightly by just printing the formatted output from lua.

Eventually I'd like to just remove mfc-candidates.sh and have everything in lua, but haven't had a chance to spend time on it. This is a tiny step on that path with that in mind.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

emaste created this revision.
This revision was not accepted when it landed; it landed in state Needs Review.Apr 21 2024, 2:12 PM
This revision was automatically updated to reflect the committed changes.
tools/tools/git/candidatematch.lua
68

That reminds me... it would be nice if we had an option to just print the hashes in the proper order...

And it might also not be a bad idea to come up with lua "bindings" for git in the fullness of time.