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)