Open mdavis-xyz opened 5 years ago
The issues from vrouter-mainfest.xml didn't included on the Contrail-vnc projecct. I'm found simple an error such as message below.
error: in `init -u https://github.com/Juniper/contrail-vnc.git -m vrouter-manifest.xml`: [Errno 2] No such file or directory: '/workspacecpp/.repo/manifests/.git/HEAD'
An incorrect absolute path. Result list path after run repo init
command line.
/workspacecpp/.repo/manifests.git/.git/HEAD ```
Instead of
/workspacecpp/.repo/manifests/.git/HEAD
Run command line initials repository again.
$repo init -u https://github.com/Juniper/contrail-vnc.git -m vrouter-manifest.xml
If the vrouter-manifeast.xml didn't found in contrail-vnc
directory. The Repo command line would switch to use default.xml file.
Simple result had during downloaded repository from internet.
repo init -u https://github.com/Juniper/contrail-vnc.git -m vrouter-manifest.xml
Get https://github.com/Juniper/contrail-vnc.git
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
curl: (22) The requested URL returned error: 404 Not Found
Server does not provide clone.bundle; ignoring.
remote: Enumerating objects: 680, done.
remote: Total 680 (delta 0), reused 0 (delta 0), pack-reused 680
Receiving objects: 100% (680/680), 529.17 KiB | 304.00 KiB/s, done.
Resolving deltas: 100% (334/334), done.
From https://github.com/Juniper/contrail-vnc
* [new branch] R1.04 -> origin/R1.04
* [new branch] R1.05 -> origin/R1.05
* [new branch] R1.06 -> origin/R1.06
* [new branch] R1.06c1 -> origin/R1.06c1
* [new branch] R1.10 -> origin/R1.10
* [new branch] R1.30 -> origin/R1.30
* [new branch] R2.0 -> origin/R2.0
* [new branch] R2.1 -> origin/R2.1
* [new branch] R2.20 -> origin/R2.20
...
Ref: Repo command line - https://source.android.com/setup/develop/repo
I am unable to download the repo using
repo
.Unlike the other issues raised about
repo init
, my issue is not ssh authentication.ssh git@github.com
works for me.I'm a bit unfamiliar with
repo
, I mostly use normal git. The README is not very clear. I'm not sure whether I'm supposed togit clone
beforerepo init ...
. Either way it fails.Method 1
Result:
Method 2
Same error message
How can I download the code?
Once I find out, I'll create a pull request for the README. It's currently underwhelming.