public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: Jason Stubbs <jstubbs@gentoo.org>
To: gentoo-dev@lists.gentoo.org
Subject: Re: [gentoo-dev]  Re: Proposal: pre-emerge advisories
Date: Mon, 25 Jul 2005 20:53:41 +0900	[thread overview]
Message-ID: <200507252053.43553.jstubbs@gentoo.org> (raw)
In-Reply-To: <1122277877.4621.51.camel@lycan.lan>

[-- Attachment #1: Type: text/plain, Size: 1635 bytes --]

On Monday 25 July 2005 16:51, Martin Schlemmer wrote:
> On Sat, 2005-07-23 at 11:18 -0400, Greg KH wrote:
> > On Sat, Jul 23, 2005 at 10:53:15AM -0400, Alec Warner wrote:
> > > Georgi Georgiev wrote:
> > > > Just to make sure I am not missing something.
> > > > 
> > > > Does this cover the
> > > > 
> > > > - If you are upgrading from a version of udev prior to 046 ...
> > > > - If you are upgrading from a version of udev prior to 050 ...
> > > > - If you are upgrading from a version of udev prior to 057 ...
> > > > - If you are upgrading from a version of udev prior to 059 ...
> > > > 
> > > > cases automatically? I.e. *not* showing irrelevant warnings on every
> > > > upgrade/rebuild.
> > > > 
> > > 
> > > The writer of pkg_warn() could do this, it's still in the ebuild and
> > > could use the normal ebuild functions to determine what the user is
> > > running ( has_version() and whatnot ) and then run a case statement on that.
> > 
> > Great, anyone care to send me a patch for the udev ebuild to do this so
> > not everyone sees this message?  It will only get longer over time...
> > 
> 
> Something like this maybe?  (Yes, I know using $T will be frowned upon,
> but not much else you can do.  Also, might use has_version(), but that
> is more difficult to parse, and I figured you normally only want those
> for system udev ...)

Combining the pkg_preinst and pkg_postinst parts (and removing the usage
of $T ;), that pretty much shows exactly what the proposed pkg_warn would
look like. Only difference being that it would be executed before emerging
starts.

-- 
Jason Stubbs

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

  reply	other threads:[~2005-07-25 11:55 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-07-14  5:24 [gentoo-dev] Proposal: pre-emerge advisories Craig Lawson
2005-07-14  7:17 ` Kevin F. Quinn
2005-07-14  7:36   ` Robin H. Johnson
2005-07-14  7:52     ` Georgi Georgiev
2005-07-14 14:22 ` Chris White
2005-07-18  4:32 ` [gentoo-dev] " R Hill
2005-07-23  5:34   ` Alec Warner
2005-07-23  6:04     ` Jason Stubbs
2005-07-23 13:32       ` Georgi Georgiev
2005-07-23 14:53         ` Alec Warner
2005-07-23 15:18           ` Greg KH
2005-07-25  7:51             ` Martin Schlemmer
2005-07-25 11:53               ` Jason Stubbs [this message]
2005-07-25 13:09                 ` Martin Schlemmer
2005-07-25 13:33                   ` Jason Stubbs
2005-07-25 15:26                     ` Martin Schlemmer
2005-07-25 15:27                     ` Georgi Georgiev
2005-07-26 10:31                       ` Jason Stubbs

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200507252053.43553.jstubbs@gentoo.org \
    --to=jstubbs@gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox