Re: [PATCH 5/7] Implement 'p' option for diffing dist conffiles during conflict resolution
On Fri, May 06, 2011 at 03:11:30AM -0500, Jonathan Nieder wrote:
> It might make sense to consider the patches up to here as something
> to polish and make mergeable to start out. It would already be useful.
> What happens if the previously configured version was installed before
> conffiledb-enabled dpkg? Should this be presented differently from
> the case where the previously configured version didn't have the
> conffile in question?
Yeah I don't think we got to the point where we were considering
issues like that. I'd guess that the menu should be made more flexible
so that if the required conffiledb data isn't there for any reason that
it falls back to the old behavior/options.
> In cases with renamed conffiles, one might want something more
> complicated, but that can wait for later.
Yeah, that's another topic that we didn't reach, but doesn't present
any problems for a future implementation. the mainscript helper thing
for renaming conffiles could integrate with the conffiledb code, or be
replaced by equivalent support in a dpkg-conffile command.