[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

apt-listchanges et al: please document VERSION 2 hook interface (Re: apt-listbugs: E: private method `chomp!' called for nil:NilClass)



clone 626937 -1
tags -1 =
# documentation
severity -1 minor
reassign -1 apt,apt-listchanges,apt-listbugs,cupt
retitle -1 apt-listchanges et al: please document VERSION 2 hook interface
block 626937 by -1
quit
(bcc: affected packages)

Francesco Poli wrote:

> I don't know: it's something I am not (yet) familiar with, even though
> it would be useful to an apt-listbugs maintainer like me...   :-(

So, cupt::cpp/lib/src/internal/worker/packages.cpp says

| string PackagesWorker::__generate_input_for_preinstall_v2_hooks(
|		const vector< InnerActionGroup >& actionGroups)
| {
|	// all hate undocumented formats...
|	string result = "VERSION 2\n";
[...]

Yeah!  Maybe someone would like to document it?  Cloning and blocking.

I can work on this if a tuit comes soon enough.  Advice and pointers
welcome.


Reply to: