-
Notifications
You must be signed in to change notification settings - Fork 17.8k
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
mod/vendor: broken support for git-submodules in vendoring mode #56920
Comments
to reproduce
|
Working as intended, vendoring only includes directories with |
@seankhliao so would it be possible to transfer this bug report into a proposal? Or it is better me to open a new issue? |
No, we've decided this is not something we will support, see #26366 (comment) |
@seankhliao are you sure this comment is still up to data? [assets (0) ]$ pwd;tree
/home/me/git/my-project/vendor/github.com/TheGreaterHeptavirate/ConstiTutor/internal/assets
.
├── assets.go
├── css
│ └── stylesheet.css
├── fonts
│ └── times_new_roman
│ ├── times_new_roman_bold.ttf
│ └── times_new_roman.ttf
├── icons
│ ├── 1.png
│ └── icon.png
└── sounds
└── click.mp3
5 directories, 7 files |
Those are presumably referenced via |
So maybe cgo includes could be processed the same way?? |
The issues with finding C dependencies described in #26366 remain the same, nothing has changed on that front. |
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
yes
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
Hi there!
I'm using giu with
docking
branch.This branch uses cimgui-go that is a bit complex construct.
in short, it wraps C version of DearImGui
The cimgui is added to cimgui-go as a git submodule.
Everything works fine, until using a global modules system..
But after running
go mod vendor
, CGO complains about missing C includes - submodule doesn't get intovendor
directory somehow.What did you expect to see?
dependencies should be fully cloned into vendor directory
What did you see instead?
git modules that are a part of go module are missing in vendoring mode
The text was updated successfully, but these errors were encountered: