-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot create tuple lines if hosted on gitlab with deeper project structure #14
Comments
Hi Matthias, Unfortunately I don't think this can be generally fixed for Gitlab hosted packages. modules2tuple tries to figure out an I'm afraid modules2tuple won't be of much help for this port. Also, the recently added GO_MODULE [1] might work better for situations like this because it uses go for figuring out and downloading dependencies. [1] https://docs.freebsd.org/en/books/porters-handbook/special/#using-go |
Hi Dmitri, ok I understand. Maybe modules2tuples and the ports should not try to download the packages/sources from github and/or gitlab but from I have another problem with one go module: I reported this issue already here: DataDog/dd-trace-go#929 Do you think we should redesign here the way go packages are downloaded a switch from github/gitlab to pkg.go.dev (if this is even possible)? |
This was the reason GO_MODULE was added. Quoting [1]
modules2tuple is still supported and will be supported as long as it works, but only go command knows all the details of how to resolve versions and download packages. |
Hi,
I just tried to create a new port for semgrep:
https://gitlab.fechner.net/mfechner/Gitlab/-/commit/a0268faf641510cabb4d223c525e51559138501b
The port is far from being complete, but as next step I need now to generate the GH and GL tuples to make the required go modules available for the build process.
If I execute
make gomod-vendor
I get:If I build it manually with
go build
I get:So it seems that modules2tuples can maybe not handle the deeper nested dependency?
Any idea how to get this fixed?
Thanks a lot.
The text was updated successfully, but these errors were encountered: