« Back to Search  |  Reader Mode  |  Switch to Full Retro Site View Links: Stay in Reader  |  Retro Mode: ON  |  Original »
GitHub · Extracted in 902 ms

Creation project with "." in name works incorrectly. · Issue #1006 · python-gitlab/python-gitlab

Source: https://github.com/python-gitlab/python-gitlab/issues/1006

Repository navigation

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


New issue

New issue

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

Description

@Mukhamedgarif's profile Mukhamedgarif opened on Feb 3, 2020

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