Re: [Rpm-ecosystem] Rich deps syntax finalization

2015-09-01 Thread Michael Schroeder
solver, I'll have to implement this feature... Cheers, Michael. -- Michael Schroeder m...@suse.de SUSE LINUX GmbH, GF Jeff Hawn, HRB 16746 AG Nuernberg main(_){while(_=~getchar())putchar(~_-1/(~(_|32)/13*2-11)*13);} _

Re: [Rpm-ecosystem] Requires based on destination hardware

2015-12-18 Thread Michael Schroeder
nism is implemented with libsolv's namespace callback. libzypp also supports locale() and filesystem() supplements. Cheers, Michael. -- Michael Schroeder m...@suse.de SUSE LINUX GmbH, GF Jeff Hawn, HRB 16746 AG Nuernberg main(_){while(_=~getchar()

Re: [Rpm-ecosystem] rpm -q --whatrequires and rich deps

2016-04-11 Thread Michael Schroeder
-q --whatrequires H" return richdep if richdep contains Requires: (G if H else I) The H package is on the "if" side, so it is not required. Either G or I is required. Putting H in the requires index (that's what you propose) will just mess up rpm's dependency solving.

Re: [Rpm-ecosystem] rpm -q --whatrequires and rich deps

2016-04-07 Thread Michael Schroeder
hatrequires F rpm -q --whatrequires G return "richdep". I think that's the correct behaviour, but I'm biased as I implemented it ;) (I think that "--whatrequires '(G if H else I)'" also gives you an answer, but it does an exact string match.) Cheers, Michael. -- Michael Schroe

Re: [Rpm-ecosystem] Using rpm db to track unneeded packages

2016-04-01 Thread Michael Schroeder
always in sync. Independent of the database implementation I would very much like to have a commin interface in librpm, so that different software management stacks all use the same mechansim. Cheers, Michael. -- Michael Schroeder m...@suse.de SUSE LINUX GmbH,

Re: [Rpm-ecosystem] A proof-of-concept for delta'ing repodata

2018-02-13 Thread Michael Schroeder
g it (without versions), then lowest Id is picked up (not > going into details of this). No, this is not correct. Libsolv doesn't use the Id to pick a package, exactly to be independent on the package order of the repository. Cheers, Michael. -- Michael Schroeder

Re: [Rpm-ecosystem] Some points about zchunk

2018-07-06 Thread Michael Schroeder
ation purposes. As you said, it doesn't need to be cryptographically sound, we don't have to make sure it withstands an attacker. Just use the first 8 bytes of the sha256 sum instead (or sha512, as it's a bit faster than sha256 IIRC). Cheers, Michael. -- Michael Schroeder

Re: [Rpm-ecosystem] Some points about zchunk

2018-07-10 Thread Michael Schroeder
ther > than leaving the decision in librepo. But doesn't it in the top-level tools? How can librepo decide that it's ok to use zchunk if the top-level tool can't deal with it? IMHO the top-level tool has to tell librepo what compression/format it understands. Cheers, Michael.

Re: [Rpm-ecosystem] Some points about zchunk

2018-07-11 Thread Michael Schroeder
sion. Actually dnf/libdnf sould ask libsolv if it supports the compression (by calling solv_xfopen_iscompressed()) and not blindly assume that it will magically work. Cheers, Michael. -- Michael Schroeder m...@suse.de SUSE LINUX GmbH, GF Jeff

Re: [Rpm-ecosystem] Some points about zchunk

2018-07-11 Thread Michael Schroeder
urn the "primary@zchunk" entry instead of "primary". Cheers, Michael. -- Michael Schroeder m...@suse.de main(_){while(_=~getchar())putchar(~_-1/(~(_|32)/13*2-11)*13);} ___ Rpm-ecosystem mailing list

Re: [Rpm-ecosystem] Some points about zchunk

2018-07-09 Thread Michael Schroeder
On Sun, Jul 08, 2018 at 07:45:36PM +0100, Jonathan Dieter wrote: > On Fri, 2018-07-06 at 11:48 +0000, Michael Schroeder wrote: > > On Thu, Jul 05, 2018 at 08:07:58PM +0300, Jonathan Dieter wrote: > > > My proposal is here: > > > https://www.jdieter.net/

Re: [Rpm-ecosystem] Proposed zchunk file format

2018-02-26 Thread Michael Schroeder
On Fri, Feb 23, 2018 at 11:15:40PM +0200, Jonathan Dieter wrote: > On Fri, 2018-02-23 at 14:14 +0000, Michael Schroeder wrote: > > Hi Jonathan! > > > > On Fri, Feb 16, 2018 at 08:52:23PM +0200, Jonathan Dieter wrote: > > > So here's my proposed file format for the zc

Re: [Rpm-ecosystem] Proposed zchunk file format

2018-02-26 Thread Michael Schroeder
On Fri, Feb 23, 2018 at 03:23:00PM -0500, Colin Walters wrote: > > > On Fri, Feb 23, 2018, at 9:14 AM, Michael Schroeder wrote: > > > This may be an unfair question, but how does it compare to the > > 'gzip --rsyncable' + zsync approach that we (openSUSE) are > >

Re: [Rpm-ecosystem] Proposed zchunk file format

2018-03-02 Thread Michael Schroeder
sing the Fedora metadata but reorder the entries with the buildtime as sort key? Cheers, Michael. -- Michael Schroeder m...@suse.de SUSE LINUX GmbH, GF Jeff Hawn, HRB 16746 AG Nuernberg main(_){while(_=~getchar())putchar(~_-1/(~(_|