Skip to content

GitLab

  • Menu
    • Projects Groups Snippets
      Help
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • G gitlabhq1
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 21
    • Issues 21
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 12
    • Merge requests 12
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • gpt
  • large_projects
  • gitlabhq1
  • Issues
  • #6645

Closed
Open
Created 11 years ago by Administrator@rootOwner
  • New issue

  • Report abuse

  • New issue

  • Report abuse

dowload protected or internal repository (or branch) as zip or tar

Closed

dowload protected or internal repository (or branch) as zip or tar

Created by: chrismaes87

I can download a repository as zip if the repository is public using this:

wget http://demo.gitlab.com/gitlab/gitlab-recipes/repository/archive.zip

yet when the project is protected (but I have access since I am the project owner) I cannot download, I get permission errors...

Resolving gitlab (gitlab)... 10.1.253.75 Connecting to gitlab (gitlab)|10.1.253.75|:80... connected. HTTP request sent, awaiting response... 401 Unauthorized Authorization failed.

Linked issues
0


  • Administrator
    Administrator @root · 11 years ago
    Owner

    Created by: yatish27

    If the project is not public then wget to that project zip from command-line will not work as the session is not present http://stackoverflow.com/questions/1324421/how-to-get-past-the-login-page-with-wget

    By Administrator on 2014-03-28T15:32:55 (imported from GitLab project)

  • Administrator
    Administrator @root · 11 years ago
    Owner

    Created by: chrismaes87

    ok, so there is no way to get the archive.zip using my rsa-key? I thought there might be a better way than just doing git clone... tar xf ...

    By Administrator on 2014-03-28T15:49:40 (imported from GitLab project)

  • Administrator
    Administrator @root · 11 years ago
    Owner

    Created by: Razer6

    API currently does not support this. You may raise a feature request on http://feedback.gitlab.com. Have tried the solution o Stackoverflow?

    By Administrator on 2014-05-02T20:44:28 (imported from GitLab project)

  • Administrator
    Administrator @root · 11 years ago
    Owner

    Created by: chrismaes87

    No I didn't try because it requires to put the name and password in command line which is not very safe...

    By Administrator on 2014-05-05T07:50:26 (imported from GitLab project)

  • You're only seeing other activity in the feed. To add a comment, switch to one of the following options.
Please register or sign in to reply
0 Assignees
Assign to
Milestone
No milestone
None
None
Time tracking
Due date
None
None
1
Labels
Feature request
Assign labels
  • No matching results
  • Manage project labels
Confidentiality
Not confidential

You are going to turn on confidentiality. Only team members with at least Reporter access will be able to see and leave comments on the issue.

Lock issue
Unlocked
participants
Reference:

Menu

Projects Groups Snippets
Help