You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 22, 2022. It is now read-only.
1. Provide a general summary of the issue in the Title above
How do you specify a "group", is it the -Path or -Namespace or something else?
The GitLab visual interface seems to have an entity known as "groups".
When using the online interface, you create projects under groups.
2. Describe Your Environment
Operating System and PowerShell version:
Win 2012/R2
Powershell
Major Minor Build Revision
5 1 14409 1005
Results
WARNING: All tokens will be sent over HTTP. Recommendation: Use HTTPS.
New-GitLabProject : Cannot bind parameter because parameter 'name' is specified more than once. To provide multiple values to parameters that can accept
multiple values, use the array syntax. For example, "-parameter value1,value2,value3".
At line:15 char:35
Results:
WARNING: All tokens will be sent over HTTP. Recommendation: Use HTTPS.
QueryGitLabAPI : -
At C:\Program Files (x86)\WindowsPowerShell\Modules\PSGitLab\3.0.1\PSGitLab.psm1:1775 char:9
That the current group would be used when you add a new project
The group name is part of the namespace. When I listed my existing projects in the group that were created using the GitLab website, I saw the following name/value pair:
The namespace is apparently just the group name when adding an item,
I also ran "get-gitlabnamespace" to see the namespaces.
Then I realized that when I retrieved the project that "name with namespace" is not the namespace, but the group name and the namespace.
Next question - how do I set the value of the Wiki for the project? Is it a file that can be uploaded? Or there an API to set it?
1. Provide a general summary of the issue in the Title above
How do you specify a "group", is it the -Path or -Namespace or something else?
The GitLab visual interface seems to have an entity known as "groups".
When using the online interface, you create projects under groups.
2. Describe Your Environment
Operating System and PowerShell version:
Win 2012/R2
Powershell
Major Minor Build Revision
5 1 14409 1005
3. Expected Behavior
Run some command to create a project in a group
4.Current Behavior
Test 1
$projName = "MyCompany.MyNewProjectName"
$groupName = "ExistingGroupName"
New-GitLabProject -name $projName -path $groupName
Results
WARNING: All tokens will be sent over HTTP. Recommendation: Use HTTPS.
New-GitLabProject : Cannot bind parameter because parameter 'name' is specified more than once. To provide multiple values to parameters that can accept
multiple values, use the array syntax. For example, "-parameter value1,value2,value3".
At line:15 char:35
Test 2
$projName = "MyCompany.MyNewProjectName"
$groupName = "ExistingGroupName"
New-GitLabProject -name $projName -namespace $groupName
Results:
WARNING: All tokens will be sent over HTTP. Recommendation: Use HTTPS.
QueryGitLabAPI : -
At C:\Program Files (x86)\WindowsPowerShell\Modules\PSGitLab\3.0.1\PSGitLab.psm1:1775 char:9
5. Possible Solution
Update doc to link the concept of a group to whatever you call it in the API, assuming it does existin the API.
6. Context
See number 1 above
The text was updated successfully, but these errors were encountered: