Page MenuHomeFreeBSD

mfc-candidates: move pretty printing into lua
ClosedPublic

Authored by emaste on Thu, Apr 18, 1:40 PM.
Tags
None
Referenced Files
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
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.Sun, Apr 21, 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.