Re: [Rpm-maint] [rpm-software-management/rpm] Rpm 4.16.0 final (#1373)

2020-09-30 Thread Panu Matilainen
Since there's no feedback... -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/pull/1373#issuecomment-701223204___ Rpm-maint mailing

Re: [Rpm-maint] [rpm-software-management/rpm] Implement a transaction set change notification callback (#1367)

2020-09-30 Thread Panu Matilainen
Merged #1367 into master. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/pull/1367#event-3823122541___ Rpm-maint mailing list

Re: [Rpm-maint] [rpm-software-management/rpm] Implement a transaction set change notification callback (#1367)

2020-09-30 Thread Panu Matilainen
Since there have been no further comments... -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/pull/1367#issuecomment-701222875___

[Rpm-maint] RPM 4.16.0 released!

2020-09-30 Thread Panu Matilainen
This turned out to be a much bigger release than anticipated with several groundbreaking new features, despite finally being back to annual cycle almost to date. After a whopping six month testing period, here goes! Highlights include: * Database backends: * NDB backend promoted to

Re: [Rpm-maint] [rpm-software-management/rpm] Rpm 4.16.0 final (#1373)

2020-09-30 Thread Panu Matilainen
Merged #1373 into rpm-4.16.x. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/pull/1373#event-3823124917___ Rpm-maint mailing list

Re: [Rpm-maint] [rpm-software-management/rpm] %transfiletriggerin doesn't share what's in transaction (#386)

2020-09-30 Thread Panu Matilainen
Reopening for tracking in file trigger spec revise (whenever that will happen) -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub:

Re: [Rpm-maint] [rpm-software-management/rpm] file trigger quirks (#1370)

2020-09-30 Thread Panu Matilainen
Hmm, that seems strange. I get that with zypp doing multiple smaller transactions (IIRC), the transaction triggers would execute more often than just once, but since there will inevitably be far fewer partial transactions than packages, it'd still seem beneficial to do the expensive cache

Re: [Rpm-maint] [rpm-software-management/rpm] %transfiletriggerin doesn't share what's in transaction (#386)

2020-09-30 Thread Panu Matilainen
Reopened #386. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/issues/386#event-3823454237___ Rpm-maint mailing list

Re: [Rpm-maint] [rpm-software-management/rpm] file trigger quirks (#1370)

2020-09-30 Thread Ludwig Nussel
zypper calls the rpm command. So a new transaction for each package.. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub:

Re: [Rpm-maint] [rpm-software-management/rpm] file trigger quirks (#1370)

2020-09-30 Thread Ludwig Nussel
s/zypper/zypp/ -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/issues/1370#issuecomment-701263659___ Rpm-maint mailing list

[Rpm-maint] [rpm-software-management/rpm] RFE: script plugin API (#1377)

2020-09-30 Thread Panu Matilainen
We should add support for Lua script plugin API, loosely modeled around our C API. Not everything can be done from Lua, but then not everything needs to be in C either. This would lower the bar to implementing plugins in the right layer (as opposed to eg dnf) greatly and open up all sorts of

[Rpm-maint] [rpm-software-management/rpm] lib/rpmdb.c: include fcntl.h for O_* (#1379)

2020-09-30 Thread maxice8
Fixes compilation on musl, otherwise it fails with undefined references to various O_* symbols as mentioned here: https://www.man7.org/linux/man-pages/man0/fcntl.h.0p.html You can view, comment on, or merge this pull request online at: https://github.com/rpm-software-management/rpm/pull/1379

[Rpm-maint] [rpm-software-management/rpm] Lua rpm.next_file() should not be global (#1378)

2020-09-30 Thread Panu Matilainen
The existing rpm.next_file() Lua API should only be present inside file triggers, not in the global API. Also there shouldn't be need for such a special call at all, it could be handled (maybe with override) using io.read() to be closer to regular scriptlets, but next_file() needs to stay for

Re: [Rpm-maint] [rpm-software-management/rpm] Sqlite backend's prefix match cannot deal with '%' characters (#1018)

2020-09-30 Thread Panu Matilainen
Closed #1018. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/issues/1018#event-3824156523___ Rpm-maint mailing list

Re: [Rpm-maint] [rpm-software-management/rpm] Sqlite backend's prefix match cannot deal with '%' characters (#1018)

2020-09-30 Thread Panu Matilainen
Closing to avoid anybody thinking that %'s can't be handled. Optimizations oare a whole different matter. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub:

Re: [Rpm-maint] [rpm-software-management/rpm] RFE: Add ability to run lua scripts directly (#1273)

2020-09-30 Thread Panu Matilainen
You can execute arbitrary Lua with rpmExpand() or --eval with a %{lua:...} macro as it is. But the actual scriptlet running machinery needs all manner of context that only exists inside transactions. -- You are receiving this because you are subscribed to this thread. Reply to this email

Re: [Rpm-maint] [rpm-software-management/rpm] Fix ambiguous diagnostics output on file triggers (RhBug:1883338) (#1376)

2020-09-30 Thread ニール・ゴンパ
@Conan-Kudo approved this pull request. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/pull/1376#pullrequestreview-499577267___

Re: [Rpm-maint] [rpm-software-management/rpm] lib/rpmdb.c: include fcntl.h for O_* (#1379)

2020-09-30 Thread ニール・ゴンパ
@Conan-Kudo approved this pull request. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/pull/1379#pullrequestreview-499576494___