Open fmuyassarov opened 1 year ago
@thaJeztah shall I perhaps do the function call replacement on the same PR or would you prefer it to be on a separate PR?
Thanks!
I see this PR does not include the
test
directory and Makefile
(perhaps something to consider; at least the tests to have some test coverage?)README.md
(TBD, but could include a mention where this code was forked from)LICENSE
(it has a different license than this repository, in which case I guess the original license should be preserved); https://github.com/mndrix/tap-go/blob/master/LICENSEshall I perhaps do the function call replacement on the same PR or would you prefer it to be on a separate PR?
I think it's good to add those commits here;
// import
comment in tap.go
(and updates other references)- package tap // import "github.com/mndrix/tap-go"
+ package tap
github.com/mndrix/tap-go -> github.com/opencontainers/runtime-tools/tap
) and removes it from go.mod
and vendor
Other enhancements after that could be done in a follow-up
For the failing DCO sign-off, I think in the past we got an exemption from the legal team at CNCF, but it's probably worth checking if that's needed.
For the failing DCO sign-off, I think in the past we got an exemption from the legal team at CNCF, but it's probably worth checking if that's needed.
Thanks for the suggestions @thaJeztah. I have addressed above comments. Regarding DCO, would you mind to share who should I contact from the CNCF team?
ping @thaJeztah
Hi @thaJeztah . Please take a look when you have some time. Thanks
Migrate the code of github.com/mndrix/tap-go as internal package with commit history as discussed in https://github.com/opencontainers/runtime-tools/pull/766#issuecomment-1498355392 Fixes subset of the dependency issues described in https://github.com/opencontainers/runtime-tools/issues/758.
I followed @thaJeztah suggestion of using git-filter-repo tool not to loose the git commit history while migrating the code and took the following steps.
As the next step, I will replace function calls of the tap-go and remove imports of github.com/mndrix/tap-go as an external package.