all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Maxime Devos <maximedevos@telenet.be>
To: muradm <mail@muradm.net>, guix-devel <guix-devel@gnu.org>
Subject: Re: usage of basu as requirement for sd-bus
Date: Tue, 30 Aug 2022 11:12:36 +0200	[thread overview]
Message-ID: <aad4affd-c528-57ad-88cf-dbe81373a512@telenet.be> (raw)
In-Reply-To: <8735dem965.fsf@muradm.net>


[-- Attachment #1.1.1: Type: text/plain, Size: 2432 bytes --]


On 30-08-2022 09:59, muradm wrote:
>
> Hello,
>
> basu is sd-bus library extracted from systemd.
>
> Currently, there are two packages depending on it,
> which are mako and grimshot.
>
> In https://debbugs.gnu.org/cgi/bugreport.cgi?bug=56859,
> I suggest switching xdg-desktop-portal-wlr to basu.
>
> In very same issue, Maxime asks to discuss switching
> _all_ dependents of elogind to basu.
>
> [1] Some elogind dependents, like wireplumber, as per
> code depends on sd-login.h also in module-logind.c.
> While I have wireplumber-without-elogind locally,
> I don't propose switching it basu, because someone
> may want module-logind.c to work.
>
> [2] Currently there are 1461 packages depend on elogind.
> First, all of them should be analyzed if they do use
> sd-bus only, those can be switched to basu. Then
> those using more than sd-bus should be analyzed if
> elogind is missing would their functionality be hurt.
If these problems are like [1], then IIUC these problems would manifest 
as build errors. Checking for build errors is relatively simple by 
pushing to a separate branch first, evaluating it on ci.guix.gnu.org and 
checking for new build failures.
> Because of [1] and [2], I find it not feasible/not
> possible to blindly switch _all_ dependents from
> elogind to basu.
>
> Do I miss anything else here? 

IIUC, everything using basu also works fine with elogind (*), so the 
'status quo' of still using elogind (for old and new) seems harmless to 
me (except for size -- basu is smaller).

As far as I know, the benefit of 'basu' is using less storage (**).  If 
most dependents are switched from elogind to basu, then this benefit can 
be fulfilled. But if we just do a mix of elogind and basu, then we have 
both elogind and basu in the store, _increasing_ the storage footprint 
instead of lowering, which is the opposite of the goal of lowering 
storage usage.

As such, assuming that lowering the storage footprint was your reason 
for switching to basu, I think we should either try switching _all_ 
packages to basu or keep using elogind and add elogind instead of basu 
to new dependents.

Greetings,
Maxime

(*) This is an unverified guess. If disproved, my reasoning becomes a 
lot weaker.
(**) This is just a guess about what your goal was, maybe you had a 
different reason in mind. E.g., basu seems to be more active than elogind.


[-- Attachment #1.1.2: OpenPGP public key --]
[-- Type: application/pgp-keys, Size: 929 bytes --]

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 236 bytes --]

  reply	other threads:[~2022-08-30  9:13 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-30  7:59 usage of basu as requirement for sd-bus muradm
2022-08-30  9:12 ` Maxime Devos [this message]
2022-08-30  9:13   ` Maxime Devos
2022-08-30  9:27   ` muradm
2022-08-30 10:03     ` Maxime Devos

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=aad4affd-c528-57ad-88cf-dbe81373a512@telenet.be \
    --to=maximedevos@telenet.be \
    --cc=guix-devel@gnu.org \
    --cc=mail@muradm.net \
    /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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.