Re: [Rpm-maint] [rpm-software-management/rpm] Dynamic Build Dependencies (#593)

2019-05-23 Thread Florian Festi
Found one more issue: --quiet also makes the BuildRequires disappear as the output of all build scripts is piped to /dev/null. OK, when exactly are those macro expanded...? -- 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] Implement a database cookie API for determining whether rpmdb has cha… (#712)

2019-05-23 Thread Panu Matilainen
Pushed an update which hashes the package offsets per each key as is necessary for correct operation in various cases - add test for that too. -- 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] Implement a database cookie API for determining whether rpmdb has cha… (#712)

2019-05-23 Thread Panu Matilainen
We can always have an optional per-db cookie implementation if it becomes necessary. It's not like the cookie needs to be consistent across different implementations, it's merely handy if it can be implemented that way. In the meanwhile, I realized this version is quite flawed as it just hashes

Re: [Rpm-maint] [rpm-software-management/rpm] Implement a database cookie API for determining whether rpmdb has cha… (#712)

2019-05-23 Thread Michael Schroeder
This assumes that the iterator always returns the entries in the same order, which might not be true for some db implementations (randomization as a security feature). But feel free to ignore this for now ;) -- You are receiving this because you are subscribed to this thread. Reply to this

Re: [Rpm-maint] [rpm-software-management/rpm] Add an API for libsolv, libdnf, et al to use to check if rpmdb has changed and trivially get path to rpmdb (#388)

2019-05-23 Thread Panu Matilainen
A simple cookie API implemented in PR #712 , comments welcome. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub:

[Rpm-maint] [rpm-software-management/rpm] Implement a database cookie API for determining whether rpmdb has cha… (#712)

2019-05-23 Thread Panu Matilainen
…nged Add rpmdbCookie() public function and matching python bindings. The returned value is an opaque string which changes any time the rpmdb is changed (eg packages added or removed, rebuild changes things etc). A key point is that this is entirely database backend agnostic. The actual

Re: [Rpm-maint] [rpm-software-management/rpm] Implement %elif (#710)

2019-05-23 Thread pavlinamv
Corrected the commit message of the first commit. -- 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/710#issuecomment-495102226___

Re: [Rpm-maint] [rpm-software-management/rpm] Create binary rpm packages in parallel? (better multiple CPU core utilization) (#211)

2019-05-23 Thread Panu Matilainen
Forgot there's a also a ticket for this in addition to the PR. This is now solved as of commit 18c92e6fe76df334fed8d5f04b5f40b776daba8c, thanks for your efforts to drive this! -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on

Re: [Rpm-maint] [rpm-software-management/rpm] Create binary rpm packages in parallel? (better multiple CPU core utilization) (#211)

2019-05-23 Thread Panu Matilainen
Closed #211. -- 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/211#event-2361403405___ Rpm-maint mailing list