public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: Rich Freeman <rich0@gentoo.org>
To: gentoo-dev@lists.gentoo.org
Cc: ssuominen@gentoo.org
Subject: Re: [gentoo-dev] [RFC] systemd.eclass: Patch for new function systemd_get_udevdir()
Date: Mon, 6 Aug 2012 07:44:00 -0400	[thread overview]
Message-ID: <CAGfcS_=MvQYQr7BApiyd8QUpWErSisC-w6gRBvb-rSWwpb=Tfw@mail.gmail.com> (raw)
In-Reply-To: <20120806122025.27faf285@pomiocik.lan>

On Mon, Aug 6, 2012 at 6:20 AM, Michał Górny <mgorny@gentoo.org> wrote:
> Most importantly, this allows us to easily find out which packages
> install such files and perform global operations on them. For example,
> if a particular user had systemd locations in INSTALL_MASK and changed
> his mind, he can easily update his system by rebuilding all packages
> inheriting systemd.eclass.
>
> If all packages installing udev rules start inheriting it, the above
> will no longer be correct. Also, the opposite way -- rebuilding
> packages installing udev rules -- won't be that easy.

This seems like a bit of overloading.  Right now we really lack a good
way to figure out what packages COULD install files in a given place -
we can only figure out which ones have installed files in that
location on our own systems.

If we really want that capability then I think the solution is to
design it thoughtfully.  Sure, some detective work with eclass
inheritance might give us clues, but I wouldn't let it be a big driver
behind how we use and design eclasses.  That said, there might be
other valid reasons for keeping udev and systemd separate
eclass-wise...

Rich


      parent reply	other threads:[~2012-08-06 11:44 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-06 10:00 [gentoo-dev] [RFC] systemd.eclass: Patch for new function systemd_get_udevdir() Samuli Suominen
2012-08-06 10:20 ` Michał Górny
2012-08-06 10:37   ` Samuli Suominen
2012-08-06 10:42     ` Fabian Groffen
2012-08-06 11:02       ` Samuli Suominen
2012-08-06 11:20         ` Fabian Groffen
2012-08-06 11:49       ` Rich Freeman
2012-08-06 11:56         ` Fabian Groffen
2012-08-06 12:05           ` Rich Freeman
2012-08-06 12:15             ` Michał Górny
2012-08-06 18:16           ` Olivier Crête
2012-08-06 18:28             ` Fabian Groffen
2012-08-06 18:40               ` Olivier Crête
2012-08-06 18:44                 ` Fabian Groffen
2012-08-06 12:10         ` Michał Górny
2012-08-06 11:10   ` Samuli Suominen
2012-08-06 11:44   ` Rich Freeman [this message]

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='CAGfcS_=MvQYQr7BApiyd8QUpWErSisC-w6gRBvb-rSWwpb=Tfw@mail.gmail.com' \
    --to=rich0@gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    --cc=ssuominen@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