Fix config path & Webui Assets in Debian package#6958
Conversation
📝 WalkthroughWalkthroughThis change updates the Debian packaging and configuration for Qdrant. In Estimated code review effort🎯 2 (Simple) | ⏱️ ~7 minutes Assessment against linked issues
Assessment against linked issues: Out-of-scope changesNo out-of-scope changes detected. All modifications are directly related to Debian package file mappings, configuration paths, or minor internal code refactoring without functional impact. Note ⚡️ Unit Test Generation is now available in beta!Learn more here, or try it out under "Finishing Touches" below. 📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (1)
✅ Files skipped from review due to trivial changes (1)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (12)
✨ Finishing Touches
🧪 Generate unit tests
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
src/settings.rs
Outdated
| // Merge user provided config with --config-path | ||
| if let Some(path) = custom_config_path { | ||
| config = config.add_source(File::with_name(&path).required(false)); | ||
| config = config.add_source(File::with_name(path).required(false)); |
There was a problem hiding this comment.
I only now notice this 🤦♂️ :
Lines 267 to 271 in 8b5b244
Which means we were already loading the installed configuration file. I was under the assumption it was never loaded unless specified.
I think it makes your changes with CUSTOM_CONFIG_PATH_OVERWRITE obsolete, and we can undo them.
The other path changes can remain.
* Fix debian config location & WebUI assets * remove config overwrite env variable again
Supersedes #6716
Fixes #4573
Fixes #3370
/etc/qdrant/config.yaml, set through a compile-time env-var/var/lib/qdrant/static