-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Missing .gitmodules breaks golang/dep #5
Comments
Must be an error on my part! Thx for the report I'll fix asap!
…On Oct 23, 2017 4:25 AM, "Volker Nauruhn" ***@***.***> wrote:
What version of dep are you using (dep version)?
go: go1.9.1 linux/amd64
dep: v0.3.2-4-g7b5c43aa
git: 2.14.2
What dep command did you run?
# dep ensure -v
Root project is "github.com/my/repo"
8 transitively valid internal packages
23 external packages imported from 16 projects
(0) ✓ select (root)
...
(4) ? attempt github.com/NYTimes/logrotate with 1 pkgs; at least 1 versions to try
(4) try ***@***.***
(4) ✓ select ***@***.*** w/1 pkgs
(5) ? attempt github.com/aymerick/raymond with 1 pkgs; at least 1 versions to try
(5) try ***@***.***
(5) ✓ select ***@***.*** w/4 pkgs
(6) ? attempt github.com/adam-hanna/sessions with 5 pkgs; at least 1 versions to try
(6) try ***@***.***
(6) ✗ unexpected error while defensively updating submodules: : command failed: [git submodule update --init --recursive]: exit status 128
(6) try ***@***.***
(7) ✗ ***@***.*** not allowed by constraint ^0.0.2:
(7) ^0.0.2 from (root)
(6) try ***@***.***
(7) ✗ ***@***.*** not allowed by constraint ^0.0.2:
(7) ^0.0.2 from (root)
(6) try ***@***.***
(7) ✗ ***@***.*** not allowed by constraint ^0.0.2:
(7) ^0.0.2 from (root)
(6) ← no more versions of github.com/adam-hanna/sessions to try; begin backtrack
(5) ← backtrack: no more versions of github.com/aymerick/raymond to try
(4) ← backtrack: no more versions of github.com/NYTimes/logrotate to try
...
✗ solving failed
Solver wall times by segment:
b-source-exists: 3.913478065s
b-list-pkgs: 1.286524935s
b-gmal: 218.790765ms
satisfy: 1.505631ms
new-atom: 1.238137ms
backtrack: 1.062701ms
select-root: 909.949µs
select-atom: 643.78µs
unselect: 335.459µs
b-deduce-proj-root: 89.125µs
b-pair-rev: 85.236µs
b-list-versions: 23.727µs
b-matches: 15.354µs
other: 9.864µs
TOTAL: 5.424712728s
ensure Solve(): No versions of github.com/adam-hanna/sessions met constraints:
v0.0.2: unexpected error while defensively updating submodules: : command failed: [git submodule update --init --recursive]: exit status 128
v0.0.1: Could not introduce ***@***.***, as it is not allowed by constraint ^0.0.2 from project github.com/my/repo.
master: Could not introduce ***@***.***, as it is not allowed by constraint ^0.0.2 from project github.com/my/repo.
develop: Could not introduce ***@***.***, as it is not allowed by constraint ^0.0.2 from project github.com/my/repo.
What did you expect to see?
Working vendor checkout.
What did you see instead?
The reason is missing .gitmodules.
After cloning your repo by hand and executing git submodule update --init
--recursive you get:
# git submodule update --init --recursive
fatal: No url found for submodule path 'vendor/github.com/pborman/uuid' in .gitmodules
# echo $?
128
Is there any reason for skipping .gitmodules?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#5>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/AFL2FuZsCc23xuiQwP97buhhO6h4H4Kyks5svHfBgaJpZM4QCry1>
.
|
Ok, it was an issue with a vendor'd dep. I think it should be fixed now! |
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
What version of
dep
are you using (dep version
)?go: go1.9.1 linux/amd64
dep: v0.3.2-4-g7b5c43aa
git: 2.14.2
What
dep
command did you run?What did you expect to see?
Working vendor checkout.
What did you see instead?
The reason is missing
.gitmodules
.After cloning your repo by hand and executing
git submodule update --init --recursive
you get:Is there any reason for skipping
.gitmodules
?The text was updated successfully, but these errors were encountered: