[Rpm-maint] [rpm-software-management/rpm] rpm --eval "%{lua:rpm.interactive()}" does not immediately print the output (#1215)

2020-05-12 Thread Miro HronĨok
I'd liek to use the interactive Lua console, however, it doesn't seem to be very... interactive. ``` $ rpm --eval "%{lua:rpm.interactive()}" RPM Interactive Lua 5.3 Interpreter > ``` So far so good... ``` > print"a" > ``` Nothing... ``` > print"a" > print"a" > print"a" > print"a" > ``` Not

Re: [Rpm-maint] [rpm-software-management/rpm] Allow additional data parameter for ts.addErase(name) (#1213)

2020-05-12 Thread Panu Matilainen
How would you expect to use that "key" argument? For installed packages, this is handled in the transaction callback but there are no callbacks for erased packages, partly because there's no associated key, because it's unclear as to what to put there for automatically created erasure elements (

Re: [Rpm-maint] [rpm-software-management/rpm] ts.addErase(tsi.pkg.idx) skips already erased items (#1214)

2020-05-12 Thread Panu Matilainen
Sorry but I don't understand this bug report any more than the referenced bugzilla item. Surely you're not suggesting the demonstrated rpm cli behavior is buggy? So what exactly is the problem here? Python addErase() on a non-existent header id not returning error, or something else? Rpm certai

[Rpm-maint] [rpm-software-management/rpm] ts.addErase(tsi.pkg.idx) skips already erased items (#1214)

2020-05-12 Thread Jaroslav Mracek
The behaviour is inconsistent with commandline behaviour when removal of removed package returns an error. Ignoring of erase step makes inconsistency between rpm transaction and transaction in DNF. See also: https://bugzilla.redhat.com/show_bug.cgi?id=1815327 ``` $rpm -q acpi package acpi is not

[Rpm-maint] [rpm-software-management/rpm] Allow additional data parameter for ts.addErase(name) (#1213)

2020-05-12 Thread Jaroslav Mracek
It will unify interface with other function like ts.addReinstall(hdr, data). It also will help to DNF to pair RPM transaction item with DNF DB item. See also: https://bugzilla.redhat.com/show_bug.cgi?id=1825162 -- You are receiving this because you are subscribed to this thread. Reply to this e