Re: how to have yum prefer one dependency over others

2011-09-17 Thread Michael Schroeder
dency solver you should probably use libsolv directly. (It also contains python bindings and a simple python demo program which uses a single rpm transaction to do the work.) Url: https://github.com/opensuse/libsolv Cheers, Michael. -- Michael Schroeder m.

Re: how to have yum prefer one dependency over others

2011-09-19 Thread Michael Schroeder
k3b-extras-freeworld > build break because of this very issue.) I guess users installing KDE with > RPM Fusion Free enabled will also get the VLC backend by default, which is > not what we want. Sounds like you want weak dependencies (i.e. "Suggests" et al). Cheers, Michael.

Re: how to have yum prefer one dependency over others

2011-09-19 Thread Michael Schroeder
vide some dependency, the suggested one is chosen. Cheers, Michael. -- Michael Schroeder m...@suse.de SUSE LINUX Products GmbH, GF Jeff Hawn, HRB 16746 AG Nuernberg main(_){while(_=~getchar())putchar(~_-1/(~(_|32)/13*2-11)*13);} -- devel mailing list

Re: yum / dist-upgrade / memory

2011-05-26 Thread Michael Schroeder
print. So I doubt that it's the culprit here. Cheers, Michael. -- Michael Schroeder m...@suse.de SUSE LINUX Products GmbH, GF Jeff Hawn, HRB 16746 AG Nuernberg main(_){while(_=~getchar())putchar(~_-1/(~(_|32)/13*2-11)*13);} -- devel ma

Re: yum / dist-upgrade / memory

2011-05-27 Thread Michael Schroeder
to verify > the sequence. Hmm, to me the traceback looks like the fork() system call in yum failed, so applydeltarpm isn't even running. Cheers, Michael. -- Michael Schroeder m...@suse.de SUSE LINUX Products GmbH, GF Jeff Hawn, HRB 16746 AG Nu

Re: Worthless updates

2010-03-03 Thread Michael Schroeder
ou don't know. Thanks, Michael. -- Michael Schroeder m...@suse.de SUSE LINUX Products GmbH, GF Markus Rex, HRB 16746 AG Nuernberg main(_){while(_=~getchar())putchar(~_-1/(~(_|32)/13*2-11)*13);} -- devel mailing list devel@lists.fedoraproject.org https://ad

Re: /usrmove?

2012-02-10 Thread Michael Schroeder
USE we're currently doing it in a "lightweight" fashion, i.e. no movement of directories (until rpm learns do deal with those) and no big /bin -> /usr/bin symlink. (We're mostly doing it because to provide some kind of Fedora compatibility for 3rd parties.) Cheers,

Re: /usrmove?

2012-02-13 Thread Michael Schroeder
change. Cheers, Michael. -- Michael Schroeder m...@suse.de SUSE LINUX Products GmbH, GF Jeff Hawn, HRB 16746 AG Nuernberg main(_){while(_=~getchar())putchar(~_-1/(~(_|32)/13*2-11)*13);} -- devel mailing list devel@lists.fedoraproject.org https://admin.f

Re: /usrmove?

2012-02-13 Thread Michael Schroeder
On Mon, Feb 13, 2012 at 12:25:08PM +0100, drago01 wrote: > On Mon, Feb 13, 2012 at 12:13 PM, Michael Schroeder wrote: > > On Fri, Feb 10, 2012 at 08:09:41PM +0100, Lennart Poettering wrote: > >> Hmm, you are aware that you reach the biggest compat by just symlinking >

Re: RPM: signing uncompressed data instead of signed data?

2010-11-11 Thread Michael Schroeder
ontain exploitable bugs, so checking the signature of a rpm might be already a dangerous operation. (But most repositories nowadays already contain checksums over the complete rpm, and most people trust repositories, not individual rpms.) Cheers, Michael. -- Michael Schroeder

Re: rpm's treatment of unversioned provides

2011-02-21 Thread Michael Schroeder
it's more flexible the way that it is. (Yes, Debian is different in that regard: versioned requires never match unversioned provides for them. But they also don't support an "any release" matcher.) Cheers, Michael. -- Michael Schroeder m.

Re: Hey Presto!

2010-06-14 Thread Michael Schroeder
max size with the down side that the end of the "target" rpm cannot match the start of the "source" rpm anymore. This shouldn't do much harm in the real world. I've already looked at the code, it shouldn't be much work to implement. I'll try to do it this or n

Re: Hey Presto!

2010-06-14 Thread Michael Schroeder
ee > cfile.[ch] for the pseudo-file structure). > > I don't know if that's clear enough, feel free to ask if it's not. Uh, my plan was to just change makedeltarpm.c and delta.c, what do you want to change in cfile.c? Cheers, Michael. -- Michael Schroeder

Re: Hey Presto!

2010-07-08 Thread Michael Schroeder
On Mon, Jun 14, 2010 at 10:24:13AM +0200, Michael Schroeder wrote: > It's not that hard to fix, there's no need to keep the "target" > rpm in memory at all. The "source" rpm can be limited to some > max size with the down side that the end of the "

Re: [HEADS UP] rpm-4.12.90 in rawhide

2015-07-28 Thread Michael Schroeder
? I allowed '|' and '&' to be somewhat compatible to Debian, which already uses '|' in the dependencies. And there's IF and THEN/ELSE. IF is a postfix op, like in perl and ruby: Requires: a IF b THEN/ELSE is the infix one: Requires: b THEN

Re: [HEADS UP] rpm-4.12.90 in rawhide

2015-07-29 Thread Michael Schroeder
t also has the advantage that the parser knows when the dependency ends and the next one starts. Cheers, Michael. -- Michael Schroeder m...@suse.de SUSE LINUX GmbH, GF Jeff Hawn, HRB 16746 AG Nuernberg main(_){while(_=~getchar())putchar(~_-1/(~(_|32)/1

Re: rpm 4.12 and weak dependencies

2014-10-09 Thread Michael Schroeder
If not, we > shouldn???t be using these tags I guess. DNF does not do anything with Suggests/Enhances. Libsolv uses them to tiebreak decisions if multiple packages provide something. Cheers, Michael. -- Michael Schroeder m...@suse.de SUSE LINUX Products G

Re: Status of weak dependencies support in Fedora 21+

2014-11-09 Thread Michael Schroeder
cause you're using Suggests, not Recommends. For Recommends, dnf will also install bar if you install foo. It will also remove bar again if you deinstall foo and clean_requirements_on_remove is set to true. Cheers, Michael. -- Michael Schroeder m...@

Re: While we're talking about RPM dependencies ...

2012-04-12 Thread Michael Schroeder
gt; metadata. > Can our SAT-solvers handle this increase at all? The solving itself isn't really affected by this, because the SAT rules only contain package<->package relationships, thus no dependencies. The rule creation will be the part that's slow

Re: %post RPM scriptlets and dependencies

2015-12-10 Thread Michael Schroeder
then B" is incorrect because "A Requires B" may mean that B must by 100% installed (with postinstall scriptlets) for A to work, thus A may still not work in B's post script. Cheers, Michael. -- Michael Schroeder m...@suse.de

Re: dnf dependency information for koji builds

2016-01-25 Thread Michael Schroeder
eeded data, it's dnf/hawkey that only displays the top level. Regarding the pulled in dependencies, libsolv also provides that, but hawkey doesn't have an API for it (yet?). Cheers, Michael. -- Michael Schroeder m...@suse.de SUSE LINUX GmbH,

Re: Alternative to Debian origins?

2013-10-15 Thread Michael Schroeder
t to _do_ with it though, > even having read the debian bugs. What do _you_ want to do with it? IMHO it's about selecting different features at package build time. As rpm supports macros, you would test some macro, e.g. %fedora_version or %_vendor. Cheers, Michael. -- Michael Schroeder

Re: Software Management call for RFEs

2013-05-31 Thread Michael Schroeder
t is a little package manager on top of libsolv. Cheers, Michael. -- Michael Schroeder m...@suse.de SUSE LINUX Products GmbH, GF Jeff Hawn, HRB 16746 AG Nuernberg main(_){while(_=~getchar())putchar(~_-1/(~(_|32)/13*2-11)*13);} -- devel mailing list devel@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/devel

Re: Proposed F19 Feature: Cinnamon as Default Desktop

2013-02-05 Thread Michael Schroeder
ut two years ago, though, I don't know if Fedora made a giant leap in the meantime.) > To the point where they've since been sold > two times and have never really recovered. Please don't claim things you don't know anything about. Cheers,

Re: DNF as default package manager

2015-01-23 Thread Michael Schroeder
ers" error if there are different providers of some dependency and the config does not specify which package to prefer. Cheers, Michael. -- Michael Schroeder m...@suse.de SUSE LINUX GmbH, GF Jeff Hawn, HRB 16746 AG Nuernberg main(_){while(_=~ge

Re: Using ndb in RPM

2017-07-11 Thread Michael Schroeder
intain. So, suggesting different databases is fine and all, but they have to be integrated and well tested. We re-added support for multiple database just for that, so that we can test things and decide what to do. Cheers, Michael. -- Michael Schroeder m...@suse.

Re: Using ndb in RPM

2017-07-13 Thread Michael Schroeder
On Thu, Jul 13, 2017 at 09:11:42AM +0100, Richard W.M. Jones wrote: > On Tue, Jul 11, 2017 at 06:53:40AM -0700, stan wrote: > > On Tue, 11 Jul 2017 13:52:32 +0200 > > Michael Schroeder wrote: > > > > > So, suggesting different databases is fine and all, but they h

Re: dnf versus yum

2014-01-07 Thread Michael Schroeder
om the hawkey library. Cheers, Michael. -- Michael Schroeder m...@suse.de SUSE LINUX Products GmbH, GF Jeff Hawn, HRB 16746 AG Nuernberg main(_){while(_=~getchar())putchar(~_-1/(~(_|32)/13*2-11)*13);} -- devel mailing list devel@lists.fedoraproject.org h

Re: RPM %changelog?

2016-10-25 Thread Michael Schroeder
On Tue, Oct 25, 2016 at 11:35:46AM +0100, Richard W.M. Jones wrote: > SUSE deleted all their RPM changelogs a very long time ago, we should > do the same. AFAIK the SUSE .changes files predate the switch to rpm. So we somewhat never used rpm style changelogs. ;) Cheers, Michael. -- M

Re: RPM %changelog?

2016-10-25 Thread Michael Schroeder
r above. I think this > makes sense. The full spec changelog is then kept in dist-git and just > trimmed as part of the build process. No loss and it's uniform. FWIW, SUSE has a patch in rpm that trims only the changelog of binary rpms and leaves the full changelog in

Re: Modularity vs. libgit

2019-06-17 Thread Michael Schroeder
ge name. 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);} ___ devel maili

Re: lazy loading of filelists.xml to speed up dnf

2018-08-07 Thread Michael Schroeder
o be discussed: what should happen if the filelists.xml download fails? This can happen because the metadata has been rewritten in the meantime. How should the error be propagated back to the user? Cheers, Michael. -- Michael Schroeder m...@suse.de SUSE LINUX G

Re: Proposal: Faster composes by eliminating deltarpms and using zchunked rpms instead

2018-11-20 Thread Michael Schroeder
d signatures is just a couple of lines of code. 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: Removal of BuildRoot

2018-02-16 Thread Michael Schroeder
ew rpm versions, but I guess the time has come to bury it > for good. Please do not code packaging policies into rpm, that's what tools like rpmlint are for. Thanks, Michael. -- Michael Schroeder m...@suse.de SUSE LINUX GmbH, GF Jeff Hawn, HRB

Re: deltarpm usefulness?

2021-11-08 Thread Michael Schroeder
;t respect FIPS, so even > when the user has *explicitly* configured their system to not use md5 for > anything security-relevant, libdeltarpm won't know or care. They are used as a consistency check, it might as well use crc32. So I don't see why FIPS is a concern for you. C