Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Sign in / Register
GitLab Community Edition
GitLab Community Edition
  • Project
    • Project
    • Details
    • Activity
    • Cycle Analytics
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Charts
    • Locked Files
  • Issues 12,529
    • Issues 12,529
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 724
    • Merge Requests 724
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Charts
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • GitLab.org
  • GitLab Community EditionGitLab Community Edition
  • Issues
  • #37832

Closed
Open
Opened Sep 14, 2017 by netroby@netroby
  • Report abuse
  • New issue
Report abuse New issue

gitlab not support go-get with sub-groups

The current gitlab does not support go get with subgroup

https://github.com/gitlabhq/gitlabhq/blob/master/spec/lib/gitlab/middleware/go_spec.rb

https://github.com/gitlabhq/gitlabhq/blob/master/lib/gitlab/middleware/go.rb

We have a package inside a subgroup. Like comnap/graph, the package locate at https://git.example.com/comnap/graph/composite

But run go get

it return error, said the repository comnap/graph.git not exists.

You can test it via curl

curl -v -H 'PRIVATE-TOKEN: -NMsmgr2343242***y' https://git.example.com/comnap/graph/composite\?go-get\=1

see what it return


<html><head><meta name="go-import" content="git.example.com/comnap/graph git https://git.example.com/comnap/graph.git" /></head></html>%     

Related issues

Assignee
Assign to
Epic
None
Milestone
None
Assign milestone
Time tracking
None
Due date
No due date
1
Labels
Platform
Assign labels
  • View project labels
Reference: gitlab-org/gitlab-ce#37832