Skip to content

Creation project with "." in name works incorrectly. #1006

Closed
@Mukhamedgarif

Description

@Mukhamedgarif

Description of the problem, including code/CLI snippet

I'm trying to create project with "." in both name and path, using:

gl.projects.create({'namespace_id': group.id, 'name': projectName, 'path': projectName})

Expected Behavior

Name and path are the same and equal to actual "projectName".
URL git_url/test_group/project.test

Actual Behavior

Name is correct, but path has "." replaced with "-".
For example "project.test" has path "project-test".
URL: git_url/test_group/project-test

Specifications

  • python-gitlab version: 1.12.1
  • API version you are using (v3/v4): v4
  • Gitlab server version (or gitlab.com): 12.1.4-ee

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions