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
Please move away from Berkeley DB #915
Comments
Please do. I would hate to loose native installation support of my favorite player inside my favorite distro |
Which database would you propose that we move to? |
I googled a bit and without knowing anything about how berkeley DB is used, i found this site that proposes alternatives |
That's not a very compelling argument.
|
I think the closest option to Berkeley DB is GDBM. It's supported by Python out-of-the-box via The more modern and portable option would be (Note that by "out of the box", I mean in default Python build. Technically you could build Python without them but I think that's rather rare and breaks other packages. On some distros the Python package may be split and the relevant extensions be installed separately.) |
I've looked into some of these simple key-value databases before.
For the record, the latest Berkeley DB version (18.1) is released under GNU AGPL 3.0, which is compatible with the license of Exaile's codebase. As far as I know, it's also compatible with the licenses of our dependencies (Mutagen was GPL 2.0-only but they switched to GPL 2.0-or-later). It would make the whole Exaile+dependencies distribution AGPL 3.0 but I'm not aware of any legal issues. I think ideally someone with clout in Linux distro circles should fork Berkeley DB 5.3 and declare the project complete. Then projects can simply link to that new library and be done with all this bikeshedding. Otherwise, if Fedora does decide to remove Berkeley DB without an alternative (have they decided on this, or is it still just a proposal?), I think realistically the best way forward for us is to use SQLite with that stupid k-v wrapper I mentioned. |
It's not "complete", it's dead. It already requires patching to build at all and code rot will increase.
From what I understand, it's been decided but they didn't decide when it's going to happen. |
I agree. |
Berkeley DB is deprecated since Fedora 33 and will eventually be removed. Gentoo is also following suit. Please consider switching to another database backend.
The text was updated successfully, but these errors were encountered: