From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <help-guix-bounces+larch=yhetil.org@gnu.org>
Received: from mp0.migadu.com ([2001:41d0:303:e16b::])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	by ms8.migadu.com with LMTPS
	id kCFkDah5qWXNGgEAqHPOHw:P1
	(envelope-from <help-guix-bounces+larch=yhetil.org@gnu.org>)
	for <larch@yhetil.org>; Thu, 18 Jan 2024 20:19:04 +0100
Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	by mp0.migadu.com with LMTPS
	id kCFkDah5qWXNGgEAqHPOHw
	(envelope-from <help-guix-bounces+larch=yhetil.org@gnu.org>)
	for <larch@yhetil.org>; Thu, 18 Jan 2024 20:19:04 +0100
X-Envelope-To: larch@yhetil.org
Authentication-Results: aspmx1.migadu.com;
	dkim=pass header.d=wolfsden.cz header.s=mail header.b=eg5mJe4F;
	dkim=pass header.d=wolfsden.cz header.s=mail header.b=qGnXwuF6;
	spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org";
	dmarc=pass (policy=none) header.from=wolfsden.cz
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org;
	s=key1; t=1705605544;
	h=from:from:sender:sender:reply-to:subject:subject:date:date:
	 message-id:message-id:to:to:cc:cc:mime-version:mime-version:
	 content-type:content-type:in-reply-to:in-reply-to:
	 references:references:list-id:list-help:list-unsubscribe:
	 list-subscribe:list-post:dkim-signature;
	bh=dePttyQQjZd8hR54qY4lMx7xCXLlya944z5tXSQJpYk=;
	b=XbFwn8MRmwd3yrymAs1r5/VP5DzSWVOGhvvSKa9L7rwGS1RYBfEUaoiJXIrYruMhqvjKbR
	rKHCRsgqYGz2ybIJeEAtJJKL1W5Qj8khqyyR/Ysa+p4AdRsaRBWVkXkBjYRlcNVGYMkWZd
	TwTVBIxLtSt8y+npc151ztPY45LF6QYnBafYjFzepBY4S8vXXm37o+roZduTIuAJNTKy7p
	r7tfyFAiV9+465BExp6SUGZO6UyYDQ8PsrkgDnyqWpTOXAc7S4O92f0PVa+2QdW5U4qrh8
	U7+qc8GAmLe3/HZXOu/UBiTEIYZT34uQGvvGoDI9sKq8ZwJRNzNk+h3/B31WOQ==
ARC-Authentication-Results: i=1;
	aspmx1.migadu.com;
	dkim=pass header.d=wolfsden.cz header.s=mail header.b=eg5mJe4F;
	dkim=pass header.d=wolfsden.cz header.s=mail header.b=qGnXwuF6;
	spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org";
	dmarc=pass (policy=none) header.from=wolfsden.cz
ARC-Seal: i=1; s=key1; d=yhetil.org; t=1705605544; a=rsa-sha256; cv=none;
	b=GoqKg4lDNPvDfzgiIh6a7YUTb8o5Hxk1oOdoJ+I5tKbi6Ia/MNCQ+RhgWcWTIA8BWy1hil
	VbcukLLQQMD+0Cw5HQhAD84F5PVHVpo+5wEMuaBfAhraOKz/nt42phX66rbqBN96A3Fb2H
	2PoEEENf4LGymwqIxLlY9B0ab0SZkP3/X5RZzkaFStmPsy0Mq/R1oidDr/fk2cmMX8WVZm
	9dcRDhkD69eC9ZKcsLqnYcpUFuRFqgLNpBfmoek9v8VADvRxQSV3Dmh29b7LIRKC8SxjDZ
	SBlS+ASmNJ7zxgOQ2XGgG4QnOpZAk/IhmXnHK9qRh9U3tArbK12FG1QLbaLRbQ==
Received: from lists.gnu.org (lists.gnu.org [209.51.188.17])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by aspmx1.migadu.com (Postfix) with ESMTPS id DFD6640932
	for <larch@yhetil.org>; Thu, 18 Jan 2024 20:19:03 +0100 (CET)
Received: from localhost ([::1] helo=lists1p.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.90_1)
	(envelope-from <help-guix-bounces@gnu.org>)
	id 1rQXuT-0002Yh-2y; Thu, 18 Jan 2024 14:18:41 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <~@wolfsden.cz>) id 1rQXuO-0002TM-Hy
 for help-guix@gnu.org; Thu, 18 Jan 2024 14:18:37 -0500
Received: from wolfsden.cz ([37.205.8.62])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <~@wolfsden.cz>) id 1rQXuM-0006YB-B9
 for help-guix@gnu.org; Thu, 18 Jan 2024 14:18:36 -0500
Received: by wolfsden.cz (Postfix, from userid 104)
 id 268A427143A; Thu, 18 Jan 2024 19:18:29 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=wolfsden.cz; s=mail;
 t=1705605509; bh=Rm2Rg0XiZkOr1rYK2oxZlPXOPM+/a9NA6O/sE2coQMY=;
 h=Date:From:To:Cc:Subject:References:In-Reply-To;
 b=eg5mJe4FR769yC4H8jRsuSMxRMWynZZ6uTZhLA21sU4q1V2GB7rXSFR4N9RH4Meap
 o61mfKNTa+YYHqPrlEPqz4WNJXYsBGtUkxCD+R0LEvbfoYlBUiJwQzgJVygq0v2YQA
 t0Vo/SUduX7RtsJUXQmM8q9MgkAf6nIOm19OVlFOx753AumqJw0XlvqfZ/R79/r3u3
 fUacMxYm9GF6CS1Vyd06YtppG4ziGkSRg7eWjasj8+M5pbIxAAOXZ1JwzVIpkH64oO
 c1EEFt272Qqt9OxglKQ7l4sUfBv1M2MNLKblQHULbiUa/sBsLQnqBBg+DbzVg86tQU
 aoekuN/QhhFqYycopeieADzNq+TukamXo3I9ira2ceMgKCr5MAhe+uoJpVLKMwAz2w
 gU5ycRyiSwddCOory0SM7uEkXyfBbS3kCBQJdPeHdXzTwdks4kVPOCV2gg2AjvFDgD
 pOpOVQ7GJDihbY+9dIULHhdOkHOG06Lr9eCMWHLsKoYqvSFQxi6xIuu1G210DglaUi
 qDOPEMfqLvnYhGYReveTzfZ27kCbqtSkx6OjXU6IzjOsWSPVcXyZx5v/IOMkpmYA4T
 UQgeCR92gqyVinWgu9wCaQ4uIBz0pK1cDTGoDz+SPjAOw7FxtCjQw6rCSWGmpmGRlT
 LadXGg62OwYEPWFkMWPGUTxQ=
Received: from localhost (unknown [193.32.127.144])
 by wolfsden.cz (Postfix) with ESMTPSA id B1815257DCF;
 Thu, 18 Jan 2024 19:18:28 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=wolfsden.cz; s=mail;
 t=1705605508; bh=Rm2Rg0XiZkOr1rYK2oxZlPXOPM+/a9NA6O/sE2coQMY=;
 h=Date:From:To:Cc:Subject:References:In-Reply-To;
 b=qGnXwuF6TuQ8poU52VYaKsQq2j4VTVzK7Y3QvgpixACAH6jknkg2EgITB96vk7r/f
 +CvUdAHVM1iNPfD/Vdq1wTw3L5Tz/ylIWMX7xMbS3E3QMHEUOzXgUQTqSrCBWYsae1
 r0beYJGIOQqg0kP54quePw+JbzJXIxNHyuHM1E44BtvaWJ3ChkMFPjTF6CluPVMN6r
 TZ66pv+cqUVZlPDnpnjDI04qOX3qwu8ek+xcCccjho1tuIXcgYp5h1sObrgPcd1rWR
 jG9KbYzKigJWvOT+pffxaw7CBaXX96VN1WUteSVNDlgo7BkgSlVk7Smp+j8gydIOrH
 CKeMCZhruzb+EyCmbEXTaWtxWrjCmkroVK5R/Ts9sANVu/YPmpUvdXx45dquMhyFdX
 ZMQWUDhozYuqsxF+GU3KYJphO2FXRTakD6Cc5aBF8A7eIK7Lq0F9Vl+UbPaxGPNznJ
 nuytb0PGQMmmQNEcrN1RNYzac3VS/CPBBSIPVP8OplOyHUAeOP0YjQwtklgcZJWwWG
 apICp/tF42x9JViRB5RvRqgVpmd8AidNmACxf2UAzgOGZ2flt/pxg2wYpCN3q7DDiy
 p/VINeODpNrIB1nEDXoGzwNlTSGvJzBX0+APOr3M3B+f48BibbzPsog5zd/A4jQy8I
 PEIWbkzEwnhyVvj8cirKccSQ=
Date: Thu, 18 Jan 2024 20:18:27 +0100
From: Tomas Volf <~@wolfsden.cz>
To: Fredrik Salomonsson <plattfot@posteo.net>
Cc: Simon Tournier <zimon.toutoune@gmail.com>,
 Felix Lechner <felix.lechner@lease-up.com>, help-guix <help-guix@gnu.org>
Subject: Re: Best practice when dealing with a broken package for guix home?
Message-ID: <Zal5g7uhT-PBgsuJ@ws>
Mail-Followup-To: Fredrik Salomonsson <plattfot@posteo.net>,
 Simon Tournier <zimon.toutoune@gmail.com>,
 Felix Lechner <felix.lechner@lease-up.com>,
 help-guix <help-guix@gnu.org>
References: <87h6jfzf14.fsf@posteo.net> <87y1cr2xyj.fsf@lease-up.com>
 <87sf2x2mmu.fsf@d2.com> <87r0ig1y2b.fsf@lease-up.com>
 <87cytyj2xb.fsf@gmail.com> <875xzq4j5w.fsf@d2.com>
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha512;
 protocol="application/pgp-signature"; boundary="qB8ZafMZwhCk4bHO"
Content-Disposition: inline
In-Reply-To: <875xzq4j5w.fsf@d2.com>
Received-SPF: pass client-ip=37.205.8.62; envelope-from=~@wolfsden.cz;
 helo=wolfsden.cz
X-Spam_score_int: -20
X-Spam_score: -2.1
X-Spam_bar: --
X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_PASS=-0.001,
 SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-BeenThere: help-guix@gnu.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: <help-guix.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/help-guix>,
 <mailto:help-guix-request@gnu.org?subject=unsubscribe>
List-Archive: <https://lists.gnu.org/archive/html/help-guix>
List-Post: <mailto:help-guix@gnu.org>
List-Help: <mailto:help-guix-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/help-guix>,
 <mailto:help-guix-request@gnu.org?subject=subscribe>
Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org
Sender: help-guix-bounces+larch=yhetil.org@gnu.org
X-Migadu-Flow: FLOW_IN
X-Migadu-Country: US
X-Migadu-Spam-Score: -9.36
X-Migadu-Scanner: mx13.migadu.com
X-Spam-Score: -9.36
X-Migadu-Queue-Id: DFD6640932
X-TUID: AzEy+a3JNfQh


--qB8ZafMZwhCk4bHO
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On 2024-01-18 17:59:23 +0000, Fredrik Salomonsson wrote:
> Hi,
>=20
> Simon Tournier <zimon.toutoune@gmail.com> writes:
>=20
> > Hi,
> >
> > On mar., 16 janv. 2024 at 18:41, Felix Lechner via <help-guix@gnu.org> =
wrote:
> >> On Tue, Jan 16 2024, Fredrik Salomonsson wrote:
> >>
> >>>  Or how do you deal with cases when they happen?
> >>
> >> I maintain a custom Guix with patches on top, plus my own channel.
> >
> > Well, for what it is worth, I think the good practise is to send
> > contributions when something broken on master is fixed and not keep the
> > fix in your own patched Guix version.
>=20
> Agreed.  I should have probably worded my initial question a bit better.
> I assumed that the package has already been reported by either myself or
> someone else and that patches for it to be fixed was already submitted.
> What prompted me to ask this question was [mpv-mpris][0].  Since it's
> been broken since at least Dec 26 2023 and is the one that is holding up
> my upgrade.  And I'm not trying to single anyone out, I totally
> understand things take time especially during holidays.  I just got
> thinking if there is a good practice to workaround it while I wait for
> it to be fixed.  As doing any of my usual workarounds would require a
> bit of work as it was mpv that changed and broke mpv-mpris.
>=20
> [0] https://issues.guix.gnu.org/68044

Especially for cases like this, just having your fork into which you
periodically merge from upstream works fairly well.  You can apply the patch
directly to the fork without waiting for upstream to act, and git is smart
enough to handle the merge well.

Creating the fork is bit involved, since guix git authenticated is designed=
 in a
way to make authenticated forks pretty much impossible (assuming you want t=
o git
merge), but after the initial setup (for which scripting exists) there real=
ly is
not much work required to maintain it (just occasionally merging the upstre=
am).

So that seems like your best option (and what I do).

Have a nice day,
Tomas Volf

--=20
There are only two hard things in Computer Science:
cache invalidation, naming things and off-by-one errors.

--qB8ZafMZwhCk4bHO
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEt4NJs4wUfTYpiGikL7/ufbZ/wakFAmWpeYMACgkQL7/ufbZ/
wanW0RAAmrY1cOfgm0VTBbT/r3rIwFhW50XdtBxcdJmIK/IAMgqZRjHl9mB0vnt2
uJsL4vYA0k69PcwmBefHLUOk7+gMix/IZk5HEwfVA3t2m52QIPGQHGycn344yaRU
m0yh0KU14vdvQvVHrg0LFNGqmVaVu/C7Fb8SeWyHzeqgSMSHIFVB+whYLAIcROdj
Gwc7BAiDTAXxrCITBzxOh39k1Co0HvnGGt18tT04R9L62YsKE7v7cxiKiRTuE3Zq
BtSXKGVkpEkPQ2SoFKJLOsRUrpzNSTGmLS/HI95KjO2J1pMwbwxkmZFxIkFuj0JH
cXRPZe9SgXpRT24fQ8u8z2KcQc4nKnVoG9NkPN6/7shcSFkDsG04Vu01KjheKums
9rY4O/r+8/X43uK4rqgamcRWsJHK/fGKkkDLUdxmDjCB2az3uKQyujN51m3Qnw9Y
/RdFUAAOnEuH8EKXp7UGnrquKxc+pem71TFvvgGQHl9+eHOS3zrb0DcLCCCV+IYx
HGGR06D64Hd1OxsM5jfrDUR+IwcsJ+X/yJv4l0b7ybO6O4uIc4COUiMUAI3brBtp
4YRuHaKiiVRV90hBgjMd8RbikDk+8iDzK8CWbXM6DmeErtnGZ1VOxsUSfTvL+cpO
wKEIdWTIFvIHvQjOlwpnacX+Y9v4YyjIzq+pBvDGVGiDPkT/f50=
=4bl1
-----END PGP SIGNATURE-----

--qB8ZafMZwhCk4bHO--