for demonstration my nick is jtsn, after validate you will receive a mail to validate your account.
it’s all you are now rgistered (you can verify you have a personnal repository.
the second thing to do, is to have an account at github because at the beginning you will not work on original rpm mandriva but with a copy in your github account.
signup and confirm with the mail you will receive.
Now back to ABF, 2 cases are, either Fedya joined to the group openmandriva or as in my example you’re not part of the group (make the request on the mailing list to be part of it)
when you are logging, click on your nickname (top right) and choose settings and builds settings
in your account github “dos2unix” you see two files:
abf.yml
dos2unix.spec
these 2 files are essential and mandatory.
Before continuing there is a notion essential to understand is that the sources of the program (the contents of the archive dos2unix.tgz) are not in ghithub.
Only the building configuration files are stored in ghitub.
the source are stored into the site OpenMandriva Association File Store
All the users registered can upload files in file store. For each upload files, “file store” produces a unique product number (in fact it’s SHA1), which allows to avoid duplication and to easily find a file.
This is where comes in, abf.yml file. if you open it, in gihub you can read:
sources:
dos2unix-7.3.tar.gz: 3cc653ab32344446345e77b736d4578c80ef4d5c
Now with the indicated number do a search on “store file”
the second file (mandatory) is dos2unix.spec, open it in your ghitub. This is this file that will allow to build, step by step, the rpm. It’s just in fact a script with variables and commands which run defined macros.
But it is also the most complicated, not to understand but to build . Unfortunately I do not have the sufficient level to talk about the various options that may contain (If someone wants to do it, he is free to explain the mystery of macros).
quickly:
Summary,Name, Version, Release, Url are variables that we define.
hi @mandian ,
your screenshot is abf during reload the buildlist. But your build is not good there is an error https://abf.openmandriva.org/build_lists/66730. maybe a bad configuration of your build. I tried and null build without error. Your build configuration must be something like that for the project
I did as you say except I set Visibility ‘Private’. Now I tried again and all works fine.
However ‘Build Lists’ gives the same screen for all user with Qupzilla. I used it because I had some problem with Firefox and I discovered that Disconnect plug-in makes ABF interface unusable.