As far as I can understand, both texts are needed. You can distinguish which license is used in each file from the preamble in each file I guess
and where there are only a gpl and lgpl at the root and nothing else, the license is not clear at all and that happens.
For converting tools-golang repository into a module, releases must be defined. We can put a back-dated tag for past releases.
In the repository, there is a v0 directory and some of the subdirectories of v0 have their name of type dir2v1(for example builder2v1).
I am slightly confused between the versions. If current HEAD is version 2.1.0, then, which commit marks the last of version 1 or version 0??
spdx/tools-golang@df8bf23 - this is the last commit which doesn't have directories with 2v1 in their names. Does this commit mark the end of version 0 or 1??