Skip to content

Failure with credentials on import vcs-import --input #284

@CarfeelD

Description

@CarfeelD

Hello!
I have YAML file with some Gitlab repos:

repositories:
my-project-1:
type: git
url: https://git.carfeeld.com/lexx/my-project-1.git
version: master
my-project-2;
type: git
url: https://git.carfeeld.com/lexx/my-project-2.git
version: master

Then, I try this command to do import from this Gitlab repos to my path for Opengrok:

vcs-import --input repos.yml ~/opengrok-src/

But service again and again asking me for credentials:

Username for 'https://git.carfeeld.com': Username for 'https://git.carfeeld.com': myusername
Password for 'https://myusername@git.carfeeld.com: Password for 'https://myusername@git.carfeeld.com':
Username for 'https://git.carfeeld.com': myusername

EPassword for 'https://P@$$W0rd@git.carfeeld.com': - yes, here it using my pass as login((

When I launch it for the first time, 2 lines appear immediately asking for a login.
Moreover, if only one repository is described in YAML, everything works correctly.
You are prompted for a login once and a password once.
Maybe my YAML file is incorrect? Or I need to use another command or parameters?

P.S. Sorry for my english(

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions