From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id MAUEOo3St15SbQAA0tVLHw (envelope-from ) for ; Sun, 10 May 2020 10:08:13 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id SA4qG5vSt17ENQAAB5/wlQ (envelope-from ) for ; Sun, 10 May 2020 10:08:27 +0000 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 F0D8794017B for ; Sun, 10 May 2020 10:08:24 +0000 (UTC) Received: from localhost ([::1]:36378 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jXisj-0005Ky-KI for larch@yhetil.org; Sun, 10 May 2020 06:08:25 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:48594) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jXisb-0005Ka-Pr for guix-devel@gnu.org; Sun, 10 May 2020 06:08:17 -0400 Received: from mail-wr1-x436.google.com ([2a00:1450:4864:20::436]:44949) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jXisa-0006MO-Tv for guix-devel@gnu.org; Sun, 10 May 2020 06:08:17 -0400 Received: by mail-wr1-x436.google.com with SMTP id 50so6555012wrc.11 for ; Sun, 10 May 2020 03:08:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-language:content-transfer-encoding; bh=iA3uFMscWJ8xtWLoXyCBUPHjNjhJmuDgBY+yEQw9sQU=; b=u6VOxQhogvPEJcnG6UXEO4/s46PHECZ0Znc845G85T+xyAjP+lrM8RBBvui6QGR7so wB0Gul1VRI542BPyFlqCHHd+bCYmuhXiM/I4flCQxhG2RWofsptNxlTDeSLGgJJdeCWz Gw7SlJt9d4XIb4GdZbyR19+BSvelgnN1rybFspti0MHovTeEiZBlVwc6u5sazHxZB2AR 0rs+2jqkZ6On0mhRvQElIKPTK7rAhSCjtUk8q0Mm32kAwPPy117QeDGZZNgyjKaLQpia liiUaFJ3Q+S3UxjPTWLG+DFPXMHqVFGeA3C+8wuYxD+gPsNCkxz0qCjQkifwu0we8TY2 WCJg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=iA3uFMscWJ8xtWLoXyCBUPHjNjhJmuDgBY+yEQw9sQU=; b=X8X0LBt4lzrhBYKjwv5RrIbQYSS1PpT5zENSFP5imeTaD7NRsb8kWRfT7pRDALan4A lNetDJdy9Et3Ry5Z4LXNYnYRa9FyAeIet5pQgthfKRKcINT9vfMI0q2oXSgZKiAcekTB y3XyVj38TNQPpM8gK7GgMRAj8Peo9kpKPmdUrEvPOq9uviGfVlklNRmsh4IqwnhdwoAg bk/I1ChW7qXZcQJjyZkU431cFLJpJR4lhkbJc4y/dYRpCs4s9xvSOKdcZ0A8za6qJ39e 5RYug7Dn56GDncyHosDTVURXDwxj5CnozPPCyjrUARYZSBPD/MdcTai3JOCFybzwsPVD qpKQ== X-Gm-Message-State: AGi0PuZ/dZ9jmYOtPtsxS+8vfc69wJSsQEd3OgAn7JjdzEsjhahplQne xvK0UHRVxuVp/5EzxdBwS6QxAn7z X-Google-Smtp-Source: APiQypL85jpLA6pk9XDT3HqntLqbmCw2+IoGL9oUX9flVAdCtwEu2PXuQlrg7KHoxfBhoDqpg4x8jg== X-Received: by 2002:a5d:66c9:: with SMTP id k9mr10656568wrw.307.1589105294970; Sun, 10 May 2020 03:08:14 -0700 (PDT) Received: from [10.0.0.2] (se167-1-82-242-148-1.fbx.proxad.net. [82.242.148.1]) by smtp.gmail.com with ESMTPSA id p190sm21469143wmp.38.2020.05.10.03.08.14 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 10 May 2020 03:08:14 -0700 (PDT) Subject: Re: Should guix track package aliases? To: Josh Marshall , guix-devel References: From: Vincent Legoll Message-ID: Date: Sun, 10 May 2020 12:08:12 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.7.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Received-SPF: pass client-ip=2a00:1450:4864:20::436; envelope-from=vincent.legoll@gmail.com; helo=mail-wr1-x436.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.23 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" X-Scanner: scn0 X-Spam-Score: -0.71 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=u6VOxQho; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Scan-Result: default: False [-0.71 / 13.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; GENERIC_REPUTATION(0.00)[-0.53905174222063]; DWL_DNSWL_FAIL(0.00)[gmail.com:server fail,209.51.188.17:server fail]; R_SPF_ALLOW(-0.20)[+ip4:209.51.188.0/24:c]; FREEMAIL_FROM(0.00)[gmail.com]; IP_REPUTATION_HAM(0.00)[asn: 22989(0.08), country: US(-0.00), ip: 209.51.188.17(-0.54)]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; MX_GOOD(-0.50)[cached: eggs.gnu.org]; MAILLIST(-0.20)[mailman]; FREEMAIL_TO(0.00)[gmail.com,gnu.org]; RCVD_IN_DNSWL_FAIL(0.00)[209.51.188.17:server fail]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:22989, ipnet:209.51.188.0/24, country:US]; MID_RHS_MATCH_FROM(0.00)[]; TAGGED_FROM(0.00)[larch=yhetil.org]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; RCVD_COUNT_FIVE(0.00)[6]; FROM_HAS_DN(0.00)[]; FROM_NEQ_ENVFROM(0.00)[vincentlegoll@gmail.com,guix-devel-bounces@gnu.org]; TAGGED_RCPT(0.00)[]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[guix-devel@gnu.org]; HAS_LIST_UNSUB(-0.01)[]; FORGED_RECIPIENTS_MAILLIST(0.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; RWL_MAILSPIKE_POSSIBLE(0.00)[209.51.188.17:from]; FORGED_SENDER_MAILLIST(0.00)[] X-TUID: KIWlZxhIGkHn On 09/05/2020 22:18, Josh Marshall wrote: > This appears that it could be low effort, not interfere with any > commands, not really change the interface, and make life easier. > Anybody have any thoughts as to whether this would be a good idea or not? What about the following: ------------>8-----------------------8<-------------------------------- # default to list guix things without --all $ guix rosetta [--package|-p] truc-bidule machin-chose (guix) # Show available translations with --all $ guix rosetta --package|-p [--all|-a] truc-bidule bidule-chouette (ubuntu) bouzin (freebsd) machin-chose (guix) truc-bidule (debian) <- this one being also added by --all trucmuche (centos) truc-machin (fedora, rhel) # default to list guix things without --all $ guix rosetta [--service|-s|--daemon] systemctl restart THING herd restart THING # Show available translations with --all $ guix rosetta [--service|-s|--daemon] [--all|-a] herd status THING systemctl status THING (systemd) rcctl check THING (4.4BSD rc) /etc/init.d/THING status (sysv-init) # default to list guix things without --all $ guix rosetta [--command|-c] yum search THING guix search THING # Show available translations with --all $ guix rosetta [--command|-c] [--all|-a] yum install guix package -i (guix official) guix install (guix alias) apt-get install (debian official) apt install (debian alias) yum install (centos) dnf install (fedora, rhel) $ guix rosetta [--help|-h] guix rosetta [--help|-h] [--package|-p] [--command|-c] [--all|-a] THING* Rosetta stone to help translation of various things between unix dialects. The default mode is to only show translation targeting guix. --help|-h Show this help --all|-a Show all available translations for THING --command|-c Show package manager command translations --service|-s|--daemon Show service, daemon manager translations --package|-p Show package names translations This tool is only giving fuzzy answers that may not be fully accurate. ------------>8-----------------------8<-------------------------------- This would go lovely along the guix foreign distro installer. I'm only (but still only) half-joking, this is a tool I'd have loved to have on multiple occasions, often not on guix. Used googl often being used to approximate it, crudely but effectively. I'm not starting to work on it though, but I'd gladly help anyone who do. -- Vincent Legoll