Use text/template to generate NOTICE (a collection of LICENSE files)
Instead of html/template
(introduced in !1889 (merged)), we should use text/template
to generate NOTICE, a collection of LICENSE files, by _support/noticegen/noticegen.go
.
Almost same as s/"/"/g; s/'/'/g; s/</</g; s/>/>/g;
.
With the new code, NOTICE regenerated by make notice
is included.
cf. the implementation of govendor license
, which has been used before !1889 (merged), https://github.com/kardianos/govendor/blob/e31350db9750308ce016ebef8350a8ff1e0a37d0/run/license.go#L15
I am not sure why we are not using google/go-licenses.
Signed-off-by: Takuya Noguchi takninnovationresearch@gmail.com
Edited by Takuya Noguchi