[Rpm-maint] [rpm-software-management/rpm] Make the default DB backend macro configurable (#157)

Panu Matilainen notifications at github.com
Mon Jun 12 12:59:43 UTC 2017


Commit e96fde8 doesn't quite cut it:

```
backend/dbi.c: In function ‘dbDetectBackend’:
backend/dbi.c:39:5: warning: not enough variable arguments to fit a sentinel [-Wformat=]
     char *db_backend = rpmExpand("%{?_db_backend}");
     ^~~~
```

Also I think software should honor configuration: if it's configured to use db X then it shouldn't override that through auto-detection. Maybe more like, autodetect if %_db_backend set to "auto" or undefined, otherwise do what the configuration says even if it means erroring out of the situation?

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/157#issuecomment-307781882
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20170612/b703b20f/attachment.html>


More information about the Rpm-maint mailing list