How to upload release tarballs?

I haven’t found the documentation on how to upload tarballs to download.gnome.org for a new release of Index of /sources/raw-thumbnailer/

(Pointers appreciated)

Or otherwise how to attach a tarball to the release I created on gitlab. It seem to only want URL (hence the first question). All I could find on that topic is gitlab documentation that talk about token and other things, nothing about “select file” click “upload”.

In case neither is the way to go, how does a maintainer of a package in World do releases of tarballs? It’s World / gnome-raw-thumbnailer · GitLab

I don’t mind a RTFM, but I can’t find the FM.

Thanks.

To partially answer question 2 to upload to gitlab directly:

  • For the project you need to enable “Package Registry”. “Settings” > “General” > “Visibility, project features, permissions” and enable it there (it was off).
  • Create an access token with “api” permission
  • Then I can upload with curl (set the shell variables with the proper values):
curl --fail-with-body --user "$USER:$TOKEN" \
     --upload-file $1 \
     "https://gitlab.gnome.org/api/v4/projects/$PROJECT/packages/generic/$PACKAGE/$VERSION/$FILENAME"

See Index · Generic packages · Packages · User · Help · GitLab
If you are getting a 503 error, it’s because you haven’t allowed package registry.

  • Then “Deploy” > “Package Registry” will list the packages, and you can get the URL there to add them to the release. (the section didn’t exist priori to enabling Package Registry)

It’s in the maintainers’ chapter of the GNOME handbook.

1 Like

ah yeah I really missed that page. Thanks for the pointer !

There is currently a tendency to limit downloads.gnome.org to official GNOME software. But we currently don’t have a formal policy.

The module did already exist :slight_smile:

1 Like