Maybe you could provide http username / password via curl parameter?

Regards,
Friedemann Stoffregen 

> Am 16.04.2015 um 16:57 schrieb vidja.hun...@gmail.com:
> 
> Hi there,
> 
> we have a private repository on our local gitlab with tags to specific 
> branches. Sometimes we want to download the tar.gz file from a tag on a 
> remote server through curl (on a compute node in a scientific cluster that 
> will handle our jobs)
> Is this possible via the API without having to make our project public?
> 
> We have tried using private tokens with curl: curl https://<our gitlab 
> server>/<user>/<repositoy 
> name>/repository/archive.tar.gz?ref=<tag>&private_token=<private token>
> but we get the message "You need to sign in before continuing.".
> 
> Any idea how to do this?
> 
> (gitlab 7.4.3)
> 
> 
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "GitLab" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to gitlabhq+unsubscr...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/gitlabhq/ac23357a-e813-4786-8b34-8d79ec4f897e%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"GitLab" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to gitlabhq+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/gitlabhq/4C1FF3D5-37DE-4D3B-BDD0-DECBBF9EE2CA%40mankind-software.de.
For more options, visit https://groups.google.com/d/optout.

Reply via email to