From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.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 eGVHFwsXs2XkGgEA62LTzQ:P1 (envelope-from ) for ; Fri, 26 Jan 2024 03:20:59 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id eGVHFwsXs2XkGgEA62LTzQ (envelope-from ) for ; Fri, 26 Jan 2024 03:20:59 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=kyleam.com header.s=key1 header.b=eCKnkXVV; dmarc=none; 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1706235659; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=DA9wOGpVM5aVQy5GgiXIG2L0E61kNoaVyAlFtKLMG5Y=; b=KWJcEbQSKeG6AncJWgr3rV7YDgQ/fVK6XDd+A6fnMXrkK6qL/L6Foc/fkEjsBX37ZzCO/8 ZwqK3YF1bhGQR0QDMiHn/WeCVsPQi7nSGtY8fCVkZ3EKj9tgcOBpWkRzuszd+K4OiQUe3o mvy6x/+QkpycFxpTBxwC1T3kcniJtD6W8kbswBeP7Zy2vbS33N5K5sZNyTXmurd8iIqbpK CJF9a6nL5qcpOlWkOrlt+hIitiLhmmICOlWjwRFnx6KDR1XjHBU1uIHqiOQTN7DJ6wX+sn RlR/OrkLnQh1LU0qyJoTwlnOvSe2sTJX4/KhCRguZqMddmsodqx3T0+yO7KONA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=kyleam.com header.s=key1 header.b=eCKnkXVV; dmarc=none; 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" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1706235659; a=rsa-sha256; cv=none; b=emyvOukBPjQP5apbtCqCSDXOycCg9N0lyDp68p1xP6ia/60pUZLqzvqzeyZx7GLUAKxqCa MlYJpwhBxI59dR1LmezW8RNX8RRjQPA44hRi29sfj7k5jkAKkPRxByd6tWFV34OF8+hbWs rFZ4pQ3ExzC8yCJHEWDjP7TKZDpHSNn1C+9LeX3QucSd4OYaFleaTTH+89NE6Dqcglowix pOOrVWEXItAMMdxI6vQET0V0mw4zrv6+fL+Zu1ClDkrCNMtPfMjJMTFHnXgLMHzxgRlC3O vByrYPWYZAd4CejkjBabs0nhoS5kUBl4LwCovaZ/MvCiOv7ZA61UVBNVJHpT0A== 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 503446364B for ; Fri, 26 Jan 2024 03:20:58 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rTBpY-0008OC-Sw; Thu, 25 Jan 2024 21:20:32 -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 ) id 1rTBpX-0008NN-Br for guix-devel@gnu.org; Thu, 25 Jan 2024 21:20:31 -0500 Received: from out-177.mta0.migadu.com ([2001:41d0:1004:224b::b1]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rTBpV-0003JH-4u for guix-devel@gnu.org; Thu, 25 Jan 2024 21:20:31 -0500 X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kyleam.com; s=key1; t=1706235621; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=DA9wOGpVM5aVQy5GgiXIG2L0E61kNoaVyAlFtKLMG5Y=; b=eCKnkXVVNSXrSZPHfOeJXVxDxzX+4v/RuKwP9Ny2VPIegidXu6mfaZspQl6RqZz03bmDn+ I5hWipBaBKkun+4Gp/MqdQquPXDbhoB4h8YPR+e7Agb+VFneVU1nTqGxo5F4EBdwE8/wND UCvmkVdnMpAhst1ytV+uMLD+RsFMyT/QAXVy/u1zQ+WkJ9rQRqYwDGf71EcPlUf4z45TEg l8jogtHg6/YOpNFC0cu6ezO/HE0R6E9idYDAA9RyWeBZtZ+UV6gQTpFS0JJq29yzZN6sqj SLwP6MZ6iKgx7mz9Suv5fPpkpBTIA0NfBEnMc8ngAeNsJtjnM4TbvWQWF0wTpA== From: Kyle Meyer To: Simon Tournier Cc: Ludovic =?utf-8?Q?Court=C3=A8s?= , guix-sysadmin , guix-devel@gnu.org Subject: Re: Git-LFS or Git Annex? In-Reply-To: <87frylpd3k.fsf@gmail.com> References: <87mssuu57m.fsf@inria.fr> <87frylpd3k.fsf@gmail.com> Date: Thu, 25 Jan 2024 21:20:17 -0500 Message-ID: <87plxosun2.fsf@kyleam.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2001:41d0:1004:224b::b1; envelope-from=kyle@kyleam.com; helo=out-177.mta0.migadu.com 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_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=unavailable 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-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -7.82 X-Spam-Score: -7.82 X-Migadu-Queue-Id: 503446364B X-Migadu-Scanner: mx12.migadu.com X-TUID: QgHGkTHRdB1N Simon Tournier writes: > As we see, since =E2=80=99origin=E2=80=99 is unreachable, it fetches dire= ctly from the > web. Well, on machine-B running: > > git annex sync && git annex get -A > > allows to first update the keys and then to fetch all the new content > from =E2=80=99origin=E2=80=99. It eases the maintenance of backups, IMHO. One sync wrinkle to consider: by default 'git annex sync' does things like commit staged changes and sync the checked out branch. That's useful in some scenarios, but, in the context of these repos, I'm guessing people would prefer to continue to manually manage the primary Git history. You can tack on an --only-annex to that 'git annex sync' to tell git-annex to just sync its git-annex branch. > Well, if some motivated Haskeller would find fun to implement NAR as > backend, it would allow transparent substitution; from my understanding, > if the key contains NAR hash then it would be possible to bridge with > Guix content-addressed system. :-) Fwiw I think someone could do that outside Haskell, if they preferred, via a custom backend: https://git-annex.branchable.com/design/external_backend_protocol/ Special remotes can also be written in other languages: https://git-annex.branchable.com/design/external_special_remote_protocol/