A contributor might want to start learning and creating packages for openmamba in his local environment and if you express that you have this interest the discussion might evolve into discussing the technical details on how to do this.
I would like that. And if necessary, I may host my own user rpm repository, with packages built according to openmamba standards.
Good,
the most straightforward and interesting way to start is by creating and using a Docker buildvm image which provides you locally with the webbuild interface, which is what is used to create and update openmamba packages. I've checked that it currently works correctly by cloning the openmamba-docker-buildvm repository:
git clone https://src.openmamba.org/openmamba/openmamba-docker-buildvm
and follow the instructions in the project page.
We can discuss about any doubts or problems before or after you have setup the Docker buildvm container.
I have the container running on my system and the web interface open in my browser.
What I'd like to do is to add a patch the the kernel and get it to package it.
At the top of the web interface I select the base repository, and the SRPMs select appears, but it has no options. What should I do?
I also have spawned a shell in the running container according to the instructions, I suspect I have to setup something else in it through it.
I have also forked the kernel repository on the gitea, to version my changes.
Hi,
you should have the "Unpack and edit" button on the right like in the attached image and should start by pressing it.
NOTE: if it is the first time you login press F5 to reload the page, this is a known issue.
Then you get the spec file in the editor and have buttons below. To create a new release add a changelog next to "new release with changelog:" and press the update button. You add the patch from a network url using the "Add patches" box on the right or you should add it manually in the /var/autodist/RPM/SOURCES folder and edit the spec file to add and apply the patch.
Next you may press the "build" button below to start building the package.
These are the very basic things to learn but of course they do not cover everything you may need to know.
By starting a new container you will probably need to install some basic build requirements which are missing.
Hi thank you for the reply. I am experienced with rpmbuild. I imagine the /var/autodist/RPM is the usual rpmbuild directory
The build environment is selected just like in your screenshot, but I have no spec to select. I have F5'd but no changes.
Can you check that the container has access to internet? This is the only explanation I currently have for the "Select a SRPM package" select being empty. You may check if the following command run from a container shell works:
curl https://push.openmamba.org/pub/openmamba/base/SRPMS.base/
The "Select a .spec file" select will be populated when you "Unpack and edit" SRPMS packages.

