[go: up one dir, main page]

Skip to content

Curling raw files is too complicated

Summary

I am unable to retrieve files from Gitlab like I can from Github

Steps to reproduce

at the CLI type:

$ curl -L --header "PRIVATE-TOKEN: UhGRPnvnEryPc499SQNZ" https://gitlab.com/capital-hero-deployment/scripts/raw/master/install

To make this work, one must follow the instructions as posted here: https://forum.gitlab.com/t/curling-raw-file-fails/26498/3

What is the current behavior?

One must first identify the project ID to be able to directly download a raw file

What is the expected behavior?

Have unique file ID's that allow a user to retrieve the file by the file's ID only instead of through a project ID. At GitHub, one may simply retrieve the URL to the file and use that in the API request.

Edited by Zeff Morgan