From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id IDw3IQ4r9mWtggAAe85BDQ:P1 (envelope-from ) for ; Sun, 17 Mar 2024 00:28:14 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id IDw3IQ4r9mWtggAAe85BDQ (envelope-from ) for ; Sun, 17 Mar 2024 00:28:14 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=wolfsden.cz header.s=mail header.b=VbDNEvNP; dkim=pass header.d=wolfsden.cz header.s=mail header.b=lQ6gfRu8; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-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=1710631694; 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=0nKgCwOC2yB9kJKPyEd48E5ZdWciEc5f/7zgrk01vBk=; b=fUksb56KPwjPAWml7XukU70Q3Y2FrPUXOW/gzMonsm/jkNHVpl+kcENB+PQbe4nkHtR+UL fqMtiUHEEiQHFkAIlAMyc/lFQ41oNsVZ548K7XzxS3pUEHMQROjSbv3DJA8TYaY34bLoZ2 UVTK6TPM0CpcNoSm4PbCAX9NmJX6isnqJc3rZcsyiAm1s/x8+0nMWf/2HtQeV5LYsukNqk grGEHlWp0hRDF4nh81KkEQEZ8S9OM1cLjWPmVfPvqNK9JgN1rr/PRi9nR4AHioF0MONXNP sPrDrjdiClnmipSWfnjC6+XTH8MJ6DRRqHKtHAu8tLoJhzwE/ESRPa2KRebdeg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=wolfsden.cz header.s=mail header.b=VbDNEvNP; dkim=pass header.d=wolfsden.cz header.s=mail header.b=lQ6gfRu8; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=wolfsden.cz ARC-Seal: i=1; s=key1; d=yhetil.org; t=1710631694; a=rsa-sha256; cv=none; b=ojtQPoEixuLusWFb7BTu1r60t2ehonv+Vu7KgTwda4AjK8j9jFLsQyY2kWALPHD6bkVSwJ c72nC9sD+rTt/Us9F8Exx9G7vizK5CYzZOjOPGO8I9tSVq9O/5AOuV/07/S40iBD0T/DHY cCM4jlUGb9f6wPq9A4Pgyg/KN4TrUutsZERT6wkk8Oo0/EnFx31+h2hD+NB3IFnqKN7Dgc QhvqKxGG+oOYvSHinxTv0Rf8gTQZS1zT5mNGufvTD6W6XKZYLx2yNwKpZINyt168/1SdnO z73ZUmuq4fLoazxMuS5YyL2t3uESARd+gTDxjmucGY3vTVrjMDPoeXCB4SOM1w== 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 63EEC1BE3D for ; Sun, 17 Mar 2024 00:28:14 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rldRB-00037O-UO; Sat, 16 Mar 2024 19:27:38 -0400 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 1rldR7-00037B-0h for guix-devel@gnu.org; Sat, 16 Mar 2024 19:27:33 -0400 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 1rldR3-0003lZ-VY for guix-devel@gnu.org; Sat, 16 Mar 2024 19:27:32 -0400 Received: by wolfsden.cz (Postfix, from userid 104) id 13004290FDB; Sat, 16 Mar 2024 23:27:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=wolfsden.cz; s=mail; t=1710631647; bh=ZJHo0AysDYGdIAcvzkMRFuKK9HcRcliWomh5NqWu1cc=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=VbDNEvNPLnkeAyaqXEeV+JEADNoqZoMd463CBFJKnlxCA8lUtuV5JeHhwYGTV2yp+ LZ9456QAePCl7m2SJOiNhazqMSsDide/TmEmuP51W7lKCvykqAAnADNp3iRgc4dOkE FCHCFv0xxxD8StjW1YAc2tVzHRxbahBPrBSt8hb+4gjSOWgwO7+9QGP9UIvSNKHHKW pRyOcch9uiP54DyUHnGDvTAky29hR10rC+gbbYXyALbkR6zea7Oep1qaHZOpxBOw56 KZMbdEXQ9ZXnpALFyTJcDElGx/bqSBLIDWn+PP0jcFbB5L7dAHRspJeMi4YHgvEerE KbELv1NthZNxYs9DHgkH7vvG40I4xHN3UzR//4EcfwzUiFnOpJVDObPMgqoIF6DTCy H/TTi/SBxtBGkQm+U1PbQZQpp9KzcqA8bpKFDyw/zzxDjZaXkWuVFSckdOziemE/kG DngA1VY0bfR6CvEluUN0oEvXZf0ZEKcJSbxzmRete99+L7fFQtlqj/0FKaL6qNWK8y DFwzWpOuLYiB6XE6CG7lOuFh+vwWTJ0jk81XP6RxA6z4nmTA3r3BGyYM/KPaExF0pG X3XDiNot3hn7fZwhJeDayJa8ZU+3vprFIDavbH7i/VHf28tYcHB1Ei0H4KAmYtvJge bfALAovPcfWG8tIq+e/x7nqc= Received: from localhost (unknown [81.17.16.68]) by wolfsden.cz (Postfix) with ESMTPSA id 4A16C2902CC; Sat, 16 Mar 2024 23:27:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=wolfsden.cz; s=mail; t=1710631646; bh=ZJHo0AysDYGdIAcvzkMRFuKK9HcRcliWomh5NqWu1cc=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=lQ6gfRu8zBfBIIAgc1xnWMoA8P51X+ea+DX/OkYaxwE8n0/woR7RLvESvLpXTfL4v 3F23nMlUXJEKukSyc8T5n7DL0KYhehTYGfKPEbd0yufGOtPOL1IOAWGkrk1Lb29umn XmuQHC4xoMZlBiQrKrlm/qxvt3CGN+tHNQXeZ+ZiWXC6U/TNq7uz7/Cr2AP5wCiTm4 Caa6x9BWJdQCgW9mmwLLGkci/PmKoz5Gl/OVT5pvSOnscepVkmlDmPTHW05PQlk48v dt6wjSm0eLnYi8wYO+migmYViU5rzSVrL9kJZrkM+je9gJ6kSM9GCgPX1wlu6/sPjh eflCJN4ZQJSxmjKNsVHlw8MZTFAE5cxP58Ds6uSoiUXmwkomjmPNnDFfwrUtTexV3e oXrTOsgcAlsNJSg2d7bAnoqXT1Q/PI6T5p5j2lt7hhiQCIXro3qu6YBnmHqe0hKcsC xoZ0uGa+GJGSMVPDUzEh8QRI4qYzsCLKU4jsOdz9EHZ8ws0/uZuXYnYG2iCjljtqof ht4i+wPhradGHAzwYkQF2tWsC74f7LkKkWS9XC+dJ5AZ5bWpsI3HE/ia0yG8Sjdrly MlTe4CGEX1oc1YiyXwPzvEvnppWbV25hVZwkpTcAmGGJQgFwGKwmedBE0ep+yfzTqk YddpzMmTPA+eIluZ1jlMZ+28= Date: Sun, 17 Mar 2024 00:27:25 +0100 From: Tomas Volf <~@wolfsden.cz> To: Vivien Kraus Cc: Christopher Baines , Ian Eure , guix-devel@gnu.org Subject: Re: Concerns/questions around Software Heritage Archive Message-ID: Mail-Followup-To: Vivien Kraus , Christopher Baines , Ian Eure , guix-devel@gnu.org References: <87il1mupco.fsf@meson> <87cyruqcfe.fsf@cbaines.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="J7LgBalDxvygxq4H" Content-Disposition: inline In-Reply-To: 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: guix-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: guix-devel-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: -11.49 X-Spam-Score: -11.49 X-Migadu-Queue-Id: 63EEC1BE3D X-TUID: MLkkIJm6rc7f --J7LgBalDxvygxq4H Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2024-03-17 00:16:26 +0100, Vivien Kraus wrote: > Hello! > > Le samedi 16 mars 2024 =C3=A0 17:50 +0000, Christopher Baines a =C3=A9cri= t=C2=A0: > > This is probably worth thinking about as Guix is in a similar > > situation > > regarding publishing source code, and people potentially wanting to > > change historical source code both in things Guix packages and Guix > > itself. > > I see two problems: > > 1. providing packages; > 2. developing Guix itself. > > I am sure that 1. is not a real problem, we could just ask the > developer to release a new version incrementing the patch number, > upgrade it on our side, and forget the old version. Garbage collection > would ultimately get rid of the old tarballs. How would that approach interact with `guix time-machine'? If developer ta= kes the approach of the package mentioned here (rewrite the history), would tha= t not cause the previous version to be no longer buildable, since the commit woul= d no longer exist? I am not sure what the developer would do for old tarballs in this situatio= n. Re-release them from the re-written history or just drop them? Either woul= d be a problem. Or would they not care about dead name in the tarballs? Currently SWH protects against the first (git commit), not sure if there is= any protection against the second currently (does SWH injects tarballs as well?= ). Either I am missing something, or this would actually be a problem for the time-machine use case. > 2. is more difficult, because Guix contributors sometimes change their > names too, and a commit reading =E2=80=9Cupdate my name=E2=80=9D is not t= he best > solution. If I understand correctly, rewriting the history would be > understood as a =E2=80=9Cdowngrade attack=E2=80=9D, contrary to the ftfy = case where the > developer could rewrite the history without such consequences. Is my > understanding correct? For my use case using .mailmap was enough, but that was not a dead name situation. However it is a solution that works today, and changes the name visible in most git operations (afaict) without modifying the history. So something to consider. Tomas -- There are only two hard things in Computer Science: cache invalidation, naming things and off-by-one errors. --J7LgBalDxvygxq4H Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIyBAEBCgAdFiEEt4NJs4wUfTYpiGikL7/ufbZ/wakFAmX2Kt0ACgkQL7/ufbZ/ walXYg/4lGTYvZjQHFrTda6ZqxGp0cNJ2yxsnLxmgj2gREnWXpe5U4ld7zR+2jPx 5UF2Im13smAfVE6Ynz0v7UA9b5m0gDMh+n+aVTK8xWtUS7C4I5TYf0+57LxoA72v 5Xai6g8CF9IU61fB6BS5wIAMgajwyrPlu4aTrKkPpaLeBf9uMfXgjfSm/YZ/nNjt 4sY92w/M9vVB8HWkMDSQbsgfMGB9Zu32bb9OPNNXtbWpkTS2GK+NBETP2TenNrJX TM5QHGHw0sao00LAIs9A9fmAXLqXqC3UqzPdG4kIj2BlM9IP9HhogpuB76jU/rca XjF1fj5YebJi7nwJX9ytrNL8dCDupOtBg0GZE4bPyoNftWCpvXijH0kjNDS3NXlu OdPmJB//r8MY71URwDaoFI/7E8KbdMuEsd6qeZhAAIFLL0le2z2dUh9zXVIjD1z5 3FO/S4hRATbBB0Lur+VAM4ko3/3cc1RLrfYipzU5pduR5+gCBolw+n19N0ghz6gJ K60mpXWeh6Qn7Yeh761eU9TIVu3FXoSGFZ08HXAnjIO27ZapRpz89bqbm2W+spt2 GcFa2W37oRDmB8Z6IRm7WIZgZZl+Pd8pzvBxYob6TVXZhwSKu2lo4fWIYrLfyZ+A aUeOG9KvP3Wkw1d8fY/bvdeayXgTc5klvcjxcFpFrX0K7LH45w== =yPRg -----END PGP SIGNATURE----- --J7LgBalDxvygxq4H--