Page MenuHomeFreeBSD

mfc-candidates: move pretty printing into lua

Authored by emaste on Apr 18 2024, 1:40 PM.
Referenced Files
Unknown Object (File)
Sun, May 12, 3:57 PM
Unknown Object (File)
Tue, Apr 30, 4:10 AM
Unknown Object (File)
Tue, Apr 30, 3:52 AM
Unknown Object (File)
Tue, Apr 30, 2:48 AM
Unknown Object (File)
Mon, Apr 29, 8:51 PM
Unknown Object (File)
Tue, Apr 23, 9:47 AM
Unknown Object (File)
Sun, Apr 21, 5:51 PM
Unknown Object (File)
Sat, Apr 20, 7:20 PM


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 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

rG FreeBSD src repository
Lint Not Applicable
Tests Not Applicable

Event Timeline

emaste created this revision.
This revision was not accepted when it landed; it landed in state Needs Review.Sun, Apr 21, 2:12 PM
This revision was automatically updated to reflect the committed changes.

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.