New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problems adding additional repotype #7679
Comments
@mlschroe, please have a look. |
If someone like to know how the "rpmdb" support is intended to work:
Explained with the initial example in the repository after publishing there are the following files/dirs
|
This refactoring provides the counterpart of deleterepo() to increase code readability. see openSUSE#7679
This refactoring provides the counterpart of deleterepo() to increase code readability. see openSUSE#7679
This refactoring provides the counterpart of deleterepo() to increase code readability. see openSUSE#7679
This refactoring provides the counterpart of deleterepo() to increase code readability. see openSUSE#7679
Is there any progress with this issue ? Windows binaries created on obs are used to provide snapshots for KMyMoney (see https://kmymoney.org/snapshots.php) and people are still forced to use 7zip to unpack the containers to get the portable package or the installer. |
I tried to add an additional reptype "rpmdb" to bs_publish to allow direct access to Windows Installer and portable binary packages in rpm containers (e.g. https://build.opensuse.org/package/view_file/windows:mingw:win32/mingw32-dbus-1/mingw32-dbus-1-installer.spec?expand=1) and got lost in the details of the huge publish() function (
open-build-service/src/backend/bs_publish
Line 1612 in f085f2d
While creating and deleting entire repositories is very easy (since only two additional small functions are required), this cannot be said for installing, removing and updating packages implemented in a single 1100-line function that covers all cases and repository types together. It's also not easy to see which part of this function is for which repo type, which is important to add new repo types completely.
To facilitate maintenance and further expansion, it would be nice if this function were refactoed. A variant would be:
This would make adding new repository types much easier.
The text was updated successfully, but these errors were encountered: