Skip to content

GitLab

  • Menu
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
  • #7852

Closed
Open
Created Sep 25, 2014 by Administrator@rootOwner

wget tar.gz of a protected gitlab

Created by: Conan-Man

I am using a a gitlab server (for private download only) but I want the source (it's hosting a project with some PHP files) to be downloadable via WGET as a JIT (just-in-time) archive.tar.gz I am pretty close to a curl/php solution but gitlab shows a 404 when I try to get the link "http://mygitserver.com/user/server/repository/archive.tar.gz" the aim is to triangulate the wget via a 3rd party server that passes on the credentials, ghost logs in via curl and streams the result.

I think this would be a useful subproject - here is what I have so far, but i have put in about 16 hours since this was posted and I have the cookies working, what I have a problem with is the

http://stackoverflow.com/questions/26005091/php-curl-to-download-a-just-in-time-git-tar-gz

can anyone help me understand why "http://mygitserver.com/user/server/repository/archive.tar.gz" give s 404 file not found when it is the exact same link as nginx is being sent on the private server (so long as you can login)

Assignee
Assign to
Time tracking