From patchwork Wed Mar 15 12:47:56 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicolas Graves X-Patchwork-Id: 1353 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 29FAE16CAB; Wed, 15 Mar 2023 12:49:24 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.0 required=5.0 tests=MAILING_LIST_MULTI, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 44FD016961 for ; Wed, 15 Mar 2023 12:49:23 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pcQZ6-00031j-73; Wed, 15 Mar 2023 08:49:12 -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 ) id 1pcQYz-00031Q-85 for guix-patches@gnu.org; Wed, 15 Mar 2023 08:49:05 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pcQYw-0002QX-2n for guix-patches@gnu.org; Wed, 15 Mar 2023 08:49:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pcQYv-0001RF-OK for guix-patches@gnu.org; Wed, 15 Mar 2023 08:49:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#62202] [PATCH 0/21] Juliahub import script. Resent-From: Nicolas Graves Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 15 Mar 2023 12:49:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 62202 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 62202@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16788844895393 (code B ref -1); Wed, 15 Mar 2023 12:49:01 +0000 Received: (at submit) by debbugs.gnu.org; 15 Mar 2023 12:48:09 +0000 Received: from localhost ([127.0.0.1]:39284 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pcQY5-0001Ot-Da for submit@debbugs.gnu.org; Wed, 15 Mar 2023 08:48:09 -0400 Received: from lists.gnu.org ([209.51.188.17]:38598) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pcQY4-0001Of-Bh for submit@debbugs.gnu.org; Wed, 15 Mar 2023 08:48:08 -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 ) id 1pcQY3-0002y4-CE for guix-patches@gnu.org; Wed, 15 Mar 2023 08:48:08 -0400 Received: from 14.mo581.mail-out.ovh.net ([178.33.251.19]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pcQXz-0002DF-J1 for guix-patches@gnu.org; Wed, 15 Mar 2023 08:48:06 -0400 Received: from director1.ghost.mail-out.ovh.net (unknown [10.108.20.52]) by mo581.mail-out.ovh.net (Postfix) with ESMTP id B5C9B23398 for ; Wed, 15 Mar 2023 12:47:58 +0000 (UTC) Received: from ghost-submission-6684bf9d7b-8fdxs (unknown [10.110.171.163]) by director1.ghost.mail-out.ovh.net (Postfix) with ESMTPS id 4D80E1FE63 for ; Wed, 15 Mar 2023 12:47:57 +0000 (UTC) Received: from ngraves.fr ([37.59.142.102]) by ghost-submission-6684bf9d7b-8fdxs with ESMTPSA id R81WF32+EWTamC4AHYa+Aw (envelope-from ) for ; Wed, 15 Mar 2023 12:47:57 +0000 Authentication-Results: garm.ovh; auth=pass (GARM-102R00448963981-de49-47c0-9c47-555e4e9c91f5, F74D9BBE9ED44B45FF66447495DD0B0753EB5D4A) smtp.auth=ngraves@ngraves.fr X-OVh-ClientIp: 81.67.140.142 Date: Wed, 15 Mar 2023 13:47:56 +0100 Message-ID: <871qlq89kz.fsf@ngraves.fr> MIME-Version: 1.0 X-Ovh-Tracer-Id: 13726408716885222138 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedvhedrvddvkedggeefucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucenucfjughrpefhvffufffkgggtsehttdertddttddtnecuhfhrohhmpefpihgtohhlrghsucfirhgrvhgvshcuoehnghhrrghvvghssehnghhrrghvvghsrdhfrheqnecuggftrfgrthhtvghrnhepueejleeileejfffhleetjedtleejheevudffleevgfdufeekhefgvddvveegveefnecukfhppeduvdejrddtrddtrddupdefjedrheelrddugedvrddutddvnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepuddvjedrtddrtddruddpmhgrihhlfhhrohhmpeeonhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrqedpnhgspghrtghpthhtohepuddprhgtphhtthhopehguhhigidqphgrthgthhgvshesghhnuhdrohhrghdpoffvtefjohhsthepmhhoheekuddpmhhouggvpehsmhhtphhouhht Received-SPF: pass client-ip=178.33.251.19; envelope-from=ngraves@ngraves.fr; helo=14.mo581.mail-out.ovh.net X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: Nicolas Graves X-ACL-Warn: , Nicolas Graves via Guix-patches X-Patchwork-Original-From: Nicolas Graves via Guix-patches via From: Nicolas Graves Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches Hi guix! Took me quite more time than I would've liked, but I have a usable juliahub scheme import script! It seems there's still one edge case that isn't covered and revolves around when Julia packagers don't properly tag their git repos (I've only seen the case with SnoopPrecompile). There's the possibility to rely on tree commit hashes from the General repository (since this is a valid way to identify/store a git repo), but that needs some major changes in the way latest-repository-commit works. Otherwise, it needs to be done by hand. It might also not work for subpackages in directories that are up-to-date on juliahub but not yet on github, I haven't met this case yet. I'm sending a patch series in the coming minutes. It's detailed since I haven't swauased all commits, for readability, but I can squash it further if necessary.