Currently, removecomments uses the Go.Sed library which is GPLv3, forcing removecomments to also be GPLv3. This can cause FOSSA to falsely identify "compliance issues" when this package is imported.
This is a complete rewrite from scratch to try to replicate the functionality in the current script, which is to remove specific comment lines (lines containing //line). I assume these are used for debugging by the maintainer.
This rewrite includes unit tests, and has been hand-tested to work with the machine.go file targeted in the makefile. However, I don't claim to understand the maintainer's workflow, so I encourage a quick test to make sure it is working as expected before merging.
I appreciate your hard work on this project... thank you!
Currently,
removecomments
uses the Go.Sed library which is GPLv3, forcingremovecomments
to also be GPLv3. This can cause FOSSA to falsely identify "compliance issues" when this package is imported.This is a complete rewrite from scratch to try to replicate the functionality in the current script, which is to remove specific comment lines (lines containing
//line
). I assume these are used for debugging by the maintainer.This rewrite includes unit tests, and has been hand-tested to work with the
machine.go
file targeted in themakefile
. However, I don't claim to understand the maintainer's workflow, so I encourage a quick test to make sure it is working as expected before merging.I appreciate your hard work on this project... thank you!