1

グループ内のgitlabにGoプロジェクトがあるため、次のようになります。

https://gitlab.com/company/group/project1.git
https://gitlab.com/company/group/project2.git
etc.

呼び出し時に vendor.json が生成されたベンダー フォルダーがあります。

govendor fetch +a


# cd .; git clone https://gitlab.com/company/group.git /home/user/go/.cache/govendor/gitlab.com/company/group
Cloning into '/home/user/go/.cache/govendor/gitlab.com/company/group'...
remote: The project you were looking for could not be found.
fatal: repository 'https://oauth2:xxxxxxxxx@gitlab.com/company/group.git/' not found
Error: failed to create repo "https://gitlab.com/company/group.git" in "/home/user/go/.cache/govendor/gitlab.com/company/group" exit status 128

dep を試すと、次のようになります。

Trying master (9def400) as initial lock for imported dep gitlab.com/company/miscellaneous
  Warning: Skipping project. Unable to import lock "e08070af4ee384fbddd6e78b3c9c73653776e249" for gitlab.com/company/group: unable to list versions for gitlab.com/company/group(): 
        (1) failed to list versions for https://gitlab.com/company/group.git: remote: The project you were looking for could not be found.
fatal: repository 'https://oauth2:xxxxxxxx@gitlab.com/company/group.git/' not found
: exit status 128

Govendor / dep がプロジェクトではなくグループを取得しようとするのはなぜですか?

4

0 に答える 0