Skip to content

Create an upload generic package endpoint

gmpinder requested to merge gmpinder/rust-gitlab:master into master

Hi! I started work on my own project that would help automate Gitlab releases and publish the built binaries to the generic package registry. I wanted to use this crate, only to find that you guys haven't implemented it yet. I don't blame you as Gitlab stores the docs for this endpoint in a completely separate part of theirs docs from all the other REST API endpoints (https://docs.gitlab.com/ee/user/packages/generic_packages/).

So as I really want to use your crate and really need this api, I figured I would add it myself. I'm not super familiar with how the entire crate works, but I was able to piece together how to create a new endpoint. This endpoint requires uploading the file through it, so I'm not sure if there is another thing that I may be missing. I welcome any help and will be willing to do the coding to get this up to your standards.


Topic-rename: add-generic-package-endpoints

Edited by Ben Boeckel

Merge request reports