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 sAW9D5LUXF/eBgAA0tVLHw (envelope-from ) for ; Sat, 12 Sep 2020 14:00:50 +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 MEEgCpLUXF/IYgAAB5/wlQ (envelope-from ) for ; Sat, 12 Sep 2020 14:00:50 +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 9AC1D9408DC for ; Sat, 12 Sep 2020 14:00:49 +0000 (UTC) Received: from localhost ([::1]:56194 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kH65A-0001rs-JN for larch@yhetil.org; Sat, 12 Sep 2020 10:00:48 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56698) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kH64w-0001q4-Jf for guix-devel@gnu.org; Sat, 12 Sep 2020 10:00:34 -0400 Received: from mail-qk1-x735.google.com ([2607:f8b0:4864:20::735]:45169) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kH64u-0001ax-Kh for guix-devel@gnu.org; Sat, 12 Sep 2020 10:00:34 -0400 Received: by mail-qk1-x735.google.com with SMTP id o5so12691281qke.12 for ; Sat, 12 Sep 2020 07:00:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=ZtTCubxFop/AQZneiHYcm4GweCh0PD9aSVy4N85QC7g=; b=Rm4LCAtq/fVaM0Pzx/LQHGpeoCJp+v9D8tBLcTT8fUMB7gI+26mSGulFBZZJrw3EXx z/j0PfS+ka10VZgFGKuXiwXRdeXY6WhvtipyntL/MbH9OFDWHTthlXlUk80SWClSavkN FhpDa7DamkXnSxcu2WPMeZflJdehNY9xjHnyeDQWNox9Tz5SDBxoz4ZG3VUri7K8g0Cs xLKsso4OvnXaLheLfrXTvzSnylLYIPCN6sihY/zkWl/GkTs73fOWQZ/xBhSJHDEeneWm iOJ8xwseN0A1SjG0LumEgRbwFFKNrbuYKO0Dc3i7mTgJUU7HqxHHknwxXE7L27W1X9rx Eb0w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=ZtTCubxFop/AQZneiHYcm4GweCh0PD9aSVy4N85QC7g=; b=V0voJrsyyMEtpfRdR89bUaGbwSgv6A0jcFJzubSGBBvy9eNtlpriXC4SKVdBt6qCGu LSFG5qS5M+FQfr9J5RfWRcQooSwFnpQjrXXUpnYzLqG+iJ+tovO9Av+DtzqWStmZj54B PRJCnYWXIKBDrf6zcmBUnpzLjiCI/cZH8u9xKfnmsODvpuQm0T00Htc0E0kYZRrvDd2Y ipf4AmPSG+JmMGCG+2XWuoJ1835VNm6GZUYJYVi5J4zctyJOGkKkJn6BzzmSykdM4OCE vCM1jp/FdQlCUVCZWA9snlT4/HytaF8WzKpqKUy/lGXmkA4qVf9GdWchqB3RWsSANvOV xXPg== X-Gm-Message-State: AOAM531eWBPfF4ZvNyLA13fnVkR8TiG2Y6OlQasO9Jui8W0kPisTOD87 JmIuXkUS6uRIud/AiQl3kfc7qsF82hEvwx4QcIk= X-Google-Smtp-Source: ABdhPJzjQJle8BDFsl3+Fvk+34qrdfO1Te/fmQAZtmjiK3lhhEYuhtymzXwUCepOBUSxRNW6hH6sRHuN457jCHOAFGo= X-Received: by 2002:a05:620a:53a:: with SMTP id h26mr5811223qkh.232.1599919231325; Sat, 12 Sep 2020 07:00:31 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: zimoun Date: Sat, 12 Sep 2020 16:00:20 +0200 Message-ID: Subject: [OUTREACHY] toward a proposal? To: =?UTF-8?Q?G=C3=A1bor_Boskovits?= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2607:f8b0:4864:20::735; envelope-from=zimon.toutoune@gmail.com; helo=mail-qk1-x735.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_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no 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: , Cc: Guix-devel Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=Rm4LCAtq; 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-Spam-Score: -0.71 X-TUID: yGtZiFpiczlR Dear, The command =E2=80=9Cguix time-machine=E2=80=9D is really cool but today it= is not easy to find the commit corresponding to one specific version. For example, try to install the version 1.6.8 of the package =E2=80=99msmtp=E2=80=99. A concrete example is described here [1]. And when reproducing scientific papers, the versions are not always provided but instead the dates are. How to install the same =E2=80=99msmtp=E2=80=99 as in 2018-12-0= 8? The Guix Data Service helps for such situation: https://data.guix.gnu.org/repository/1/branch/master/package/msmtp/output-h= istory but its database starts on 2019-01-01 (if I have correct). It is an external service and will never collect data from all specifics channels (guix-past, your-name-it, etc.). Well, it is a good complement and all the JSON files are under used, for example, to know if the package builds or not. Another story. Today, the 2 previous use-cases are usually solved by cloning the repository from Savannah and then by invoking Git commands. It is not fully satisfactory since this repository is already checked out, by default: ~/.cache/guix/checkouts/pjmkglp4t7znuugeurpurzikxq3tnlaywmisyr27shj7apsnalw= q/ Let this path affected to the environment variable $SRC. Then, to find the 2 commits, the user can run: --8<---------------cut here---------------start------------->8--- $ git -C $SRC --date=3Dshort --format=3D"%h %cd %s" | grep msmtp 5d2b9b0749 2020-08-26 gnu: msmtp: Update to 1.8.12. 56e1cc0c34 2020-06-10 gnu: msmtp: Update to 1.8.11. 70ebab5aa7 2020-05-09 gnu: msmtp: Update to 1.8.10. b93b7b2585 2020-03-29 gnu: msmtp: Don't rely on netcat to send queued messages. a4fd9423b0 2019-12-30 gnu: msmtp: Update to 1.8.7. 58da4b0a84 2019-10-02 gnu: msmtp: Update to 1.8.6. 214cbec2cf 2019-07-16 gnu: msmtp: Update to 1.8.5. 34e549d813 2019-07-11 gnu: msmtp: Install additional files. 06c86f166d 2019-04-29 gnu: msmtp: Update to 1.8.4. ce53048fb8 2019-02-14 gnu: msmtp: Update to 1.8.3. b8c0b9c1a3 2019-01-31 gnu: msmtp: Update to 1.8.2. 1460e77abf 2018-12-10 gnu: msmtp: Update to 1.8.1. 91b3a6d4db 2018-09-09 gnu: msmtp: Remove unneeded input. 37f9cfae43 2018-09-09 gnu: msmtp: Update to 1.8.0. 1a80f1a9e3 2018-07-11 gnu: msmtp: Update to 1.6.8. 899358d18a 2016-12-20 gnu: msmtp: Update to 1.6.6. d23d1ddf6e 2016-07-21 gnu: msmtp: Update to 1.6.5. 70dced54ed 2016-05-06 gnu: msmtp: Update to 1.6.4. 823e2ed4b3 2016-02-28 gnu: msmtp: Install msmtpq. 72d8b5baf4 2015-12-21 gnu: msmtp: Update to 1.6.3. 4c60ce4a6b 2015-11-06 gnu: msmtp: Update to 1.6.2. 0704788109 2015-03-19 gnu: msmtp: Use mirror:// URI. d6e941bc95 2014-12-09 gnu: add msmtp --8<---------------cut here---------------end--------------->8--- The proposal is to implement the same result hiding all the plumbing details, i.e., guix git log --oneline | grep msmtp Well, naming is hard. :-) Therefore, the subcommand could have another name (bikeshedding, bikeshedding :-)). The next steps could be: - take in account the channels, and maybe sort all the commits by dates - have an --format option - have an --grep option - etc. depending on the progress of the student. IMHO, there are small actionable steps that fit how Outreachy program works (at least how I understand it works). Does it make sense? If yes, I volunteer to co-mentor, even if I am not sure to be enough qualified to do so. BTW, co-mentoring is good. What do you think? [1] https://lists.gnu.org/archive/html/help-guix/2019-06/msg00098.html All the best, simon