Skip to content

Add API functions to export a GitLab project

Administrator requested to merge feature/project-export into develop

Hi @joerg.hampel,

This MR adds 3 API functions(Start Export Project / Export Project Status / Download Exported Status ) and 1 example (Export Project).

NOTES:

  • I had to modify the Send GET Request to modify its timeout and to output the response as text (not as utf-8) to save the compressed file resulting from the export. I didn't modified the current response output.
  • Sometimes, the export request doesn't work without any error reported. Status remains to none
  • If you request too much time the export, GitLab refuse to export the project and sends an explicit message asking you to retry later

I hope this will be a valuable addition to this project.

Merge request reports