Fix debconf questions in Debian package installation tests#1456
Open
garberg wants to merge 3 commits intoSpriteLink:masterfrom
Open
Fix debconf questions in Debian package installation tests#1456garberg wants to merge 3 commits intoSpriteLink:masterfrom
garberg wants to merge 3 commits intoSpriteLink:masterfrom
Conversation
Use debconf-set-selections to pre-seed debconf answers before package installation instead of using debconf-communicate after installation. This ensures the debconf questions are recognized during the package installation phase and prevents the 'nipapd/database_host doesn't exist' error that occurred with the previous approach.
Add nipap.conf.dist to MANIFEST.in to ensure it is included in the source distribution processed by pybuild. This fixes the missing /etc/nipap/nipap.conf file after Debian package installation, which was caused by pybuild excluding the file when it wasn't explicitly listed in MANIFEST.in.
Handle inclusion of extra files in pyproject.toml instead, as passing data_files to setup() is no longer supported.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Use debconf-set-selections to pre-seed debconf answers before package installation instead of using debconf-communicate after installation.