... | ... | @@ -231,6 +231,22 @@ One can use a combination of gitlab milestones and/or issue boards to manage the |
|
|
|
|
|
Forge Documents and File Release System are two tools with similar functionality: managing files. Gitlab is lacking a full equivalent. Since v8.2, there is a release functionality (https://about.gitlab.com/releases/2015/11/22/gitlab-8-2-released/#releases) and since 11.11 there is guest access to releases (https://about.gitlab.com/releases/2019/05/22/gitlab-11-11-released/#guest-access-to-releases). These have some limitations, as pointed in https://stackoverflow.com/questions/29013457/how-to-store-releases-binaries-in-gitlab. The most important limitations are that parts of the functionality can only be controlled by the API, and though releases can be removed, file attachments cannot. There is an open issue upstream regarding this feature: https://gitlab.com/gitlab-org/gitlab/-/issues/16229. Current up-to-date documentation can be found here: https://gitlab.inria.fr/help/user/project/releases/index
|
|
|
|
|
|
Another option that has been added to gitlab recently is the use of the Generic Packages Registry (https://gitlab.inria.fr/help/user/packages/generic_packages/index.html), part of the Gitlab Package Registry (https://gitlab.inria.fr/help/user/packages/index) that can be used to host various packages systems for a project (maven, pypi, npm,...).
|
|
|
|
|
|
In order to manually publish a binary release in such a registry you'll need to use the gitlab API, the procedure can roughly be summarized as follows:
|
|
|
- enable "Packages" for the project, in Settings -> General -> Visibility, project features, permissions
|
|
|
- create an authentication token (project access token, or personal/group access token; do not use a deploy token, they don't work (yet) with generic packages)
|
|
|
- use you favorite tool to upload a file, e.g. with curl something like:
|
|
|
|
|
|
```shell
|
|
|
curl --header "PRIVATE-TOKEN: <token>" \
|
|
|
--upload-file <local file to publish> \
|
|
|
https://gitlab.inria.fr/api/v4/projects/<id, or url-encoded project path>/packages/generic/<package name>/<version>/<name of published file>
|
|
|
```
|
|
|
|
|
|
The files will then appear in the Package Registry part of the project.
|
|
|
|
|
|
|
|
|
# Forge News
|
|
|
|
|
|
No equivalent on gitlab
|
... | ... | |