Re: [Rpm-maint] rpm feature

2010-06-21 Thread Greg_Swift
While, not always getting package names, I've always just done something like this with just rpm: rpm -e --test package Yum will give you the package names I believe: yum remove package But, tell it no if it asks. -greg Greg Swift Sent with mobile device, please pardon errors.

Re: [Rpm-maint] [PATCH] Allow '--short-circuit' for '-bb'

2010-06-21 Thread Michal Schmidt
On Mon, 21 Jun 2010 16:10:49 +0300 (EEST) Panu Matilainen wrote: I would consider applying a -bb/-bs --short-circuit enabling patch if the patch causes the resulting package to be poisoned, requiring some extra switch to be installable. The developer in case 1) who knows what [s]he's doing

Re: [Rpm-maint] [PATCH] Allow '--short-circuit' for '-bb'

2010-06-21 Thread Panu Matilainen
On Mon, 21 Jun 2010, Michal Schmidt wrote: On Mon, 21 Jun 2010 16:10:49 +0300 (EEST) Panu Matilainen wrote: I would consider applying a -bb/-bs --short-circuit enabling patch if the patch causes the resulting package to be poisoned, requiring some extra switch to be installable. The developer

[Rpm-maint] [PATCH v2] Allow '--short-circuit' for '-bb'

2010-06-21 Thread Michal Schmidt
This patch allows short-circuiting of building binary packages. To prevent accidental use of short-circuited rpms, they are marked with an unsatisfiable dependency rpmlib(ShortCircuited). A developer using this feature for local development and testing will use --nodeps. Should such a rpm leak

Re: [Rpm-maint] [PATCH 5/5] Add a generic plugin for use by simple Collections

2010-06-21 Thread Steve Lawrence
On Mon, 2010-06-21 at 15:15 +0300, Panu Matilainen wrote: On Fri, 18 Jun 2010, Panu Matilainen wrote: +rpmRC COLLHOOK_POST_ANY_FUNC(rpmts ts, const char * collname, const char * options) +{ + int rc = RPMRC_FAIL; + + if (rpmChrootSet(rpmtsRootDir(ts)) || rpmChrootIn()) {

Re: [Rpm-maint] [PATCH 5/5] Add a generic plugin for use by simple Collections

2010-06-21 Thread Steve Lawrence
On Fri, 2010-06-18 at 17:00 +0300, Panu Matilainen wrote: On Thu, 17 Jun 2010, Steve Lawrence wrote: This patch adds a generic plugin, exec.so, that should be sufficient for the majority of Collection actions. After all packages in a Collection have been installed/removed, this plugin

[Rpm-maint] [PATCH v2 0/5] Add Collection Support

2010-06-21 Thread Steve Lawrence
This is an updated version of the previous collection patchset [1]. Changes to the patchset include the following: - Move rpmteRunCollection into rpmte.c in the rpmteProcess function - Make the collection list functions part of the internal rpm API where possible - Fix incorrect chroot usage in

[Rpm-maint] [PATCH v2 3/5] Add common Collection requirements

2010-06-21 Thread Steve Lawrence
This patch adds the install-time feature that if a package requires a package in a collection, then it also requires all other packages in that collection. This has the effect that collections will be roughly grouped together during a transaction. Although this is not absolutely necessary for the

[Rpm-maint] [PATCH v2 1/5] Add new Collections preamble tag

2010-06-21 Thread Steve Lawrence
This adds a new Collections preamble tag, which contains a space separated list of collection names that the package belongs to. --- build/parsePreamble.c |4 lib/rpmtag.h |1 + tests/rpmgeneral.at |1 + 3 files changed, 6 insertions(+), 0 deletions(-) diff --git

[Rpm-maint] [PATCH v2 4/5] Add plugin calling support

2010-06-21 Thread Steve Lawrence
This patch adds a simple plugin system that makes simple problems easy to solve, and difficult problems, such as SELinux, possible. When the transaction gets to the point where a collection action should occur, it expands a macro of the form %__collection_collection name to get the path to a

[Rpm-maint] Keep my name out of your discussions

2010-06-21 Thread Jeff Johnson
Re: BTW, Jeff J. must have changed his mind at some point, because rpm5 allows short-circuiting of -bb. You have no right to discuss the state of my mind. In fact, you haven't a clue. Keep my name out of your gossipy garbage. 73 de Jeff ___