infrastructure.rpmfusion.org

Create SCM package

This page explains how to create a new package within the RPM Fusion infra. This is restricted to users in the ‘sysadmin-scm’ group.

Create a new package in pkgdb

rfpkgdb-admin process

pkgdb-admin --pkgdburl=https://admin.rpmfusion.org/pkgdb --fasurl=https://admin.rpmfusion.org/accounts/ --bzurl=https://bugzilla.rpmfusion.org

This will create the needed files as user, then as admin to update some files with acls.

ssh -A _username_@pkgs.rpmfusion.org
/usr/local/bin/genacls.sh
sudo /usr/local/bin/genacls.sh

Both scripts need to be run on pkgs01, the first will update the list of module and create new-free, new-nonfree, new-cuda files when new packages

create2github new-free free
git commit rpmfusion-liste* -m "Update list"
git push

Once the gh command to create github components are output by the create2github script, you can run it on you local host assuming the gh cli is installed and the appropriate token set.

gh repo create -d "obs-studio-plugin-distroav - nonfree" --homepage http://rpmfusion.org/Package/obs-studio-plugin-distroav --disable-issues --disable-wiki --public -t packager rpmfusion/obs-studio-plugin-distroav
✓ Created repository rpmfusion/obs-studio-plugin-distroav on github.com
  https://github.com/rpmfusion/obs-studio-plugin-distroav

TODO: have a script.

Final: close the review ticket.