From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id CHaBKFg/N2Tx6wAASxT56A (envelope-from ) for ; Thu, 13 Apr 2023 01:31:36 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id kN1zKFg/N2SYNwAA9RJhRA (envelope-from ) for ; Thu, 13 Apr 2023 01:31:36 +0200 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 226743FE2F for ; Thu, 13 Apr 2023 01:31:36 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pmjWU-0006jv-Ih; Wed, 12 Apr 2023 19:05:06 -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 1pmjWS-0006jg-Kk for help-guix@gnu.org; Wed, 12 Apr 2023 19:05:04 -0400 Received: from mail-vs1-xe36.google.com ([2607:f8b0:4864:20::e36]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pmjWQ-0006f2-HX for help-guix@gnu.org; Wed, 12 Apr 2023 19:05:04 -0400 Received: by mail-vs1-xe36.google.com with SMTP id f10so170508vsv.13 for ; Wed, 12 Apr 2023 16:05:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1681340700; x=1683932700; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=enxB+2h8/90r2W4KwV8CFHO8hOM92CyuR7PDPYrYZP8=; b=hokOejxiOycJTEnXEOwcRVY5fhovC6W8d/NTMDfklCiDeAoM/1jE2FW7wmJdtB1ueC KcJXoaid9LUfna6gTJrbrxUQ+l5cL+HlGsWkkVGwq09HXhA8nxKpFXz7MBbctI/n0Gbo auW3m+1XwAxEg2Wpo3UVlP2N0SMzrFjS0z2MHZgdyjFESdXynujJn7DdooD8yfi4ODhE SLklQis3TPoOUvH7XKm+GV5Li0QHG7GioGOzSygCuyKRWIXIC7AW0hAL+e5nl0my6AcB HS8ZB+wZDTbnHnPOiLm3Bzv0+DBgpVCaUScW429oLk1VEHE17d2dNVESEMUhqzXhBiDd BhAw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1681340701; x=1683932701; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=enxB+2h8/90r2W4KwV8CFHO8hOM92CyuR7PDPYrYZP8=; b=gNf+Jj9lv9XrQbcGSm3uSJp0qExUm2dtNNipckmgqbpUiixVeFORN8bBMMmWgKfsZ+ IRBupveWBDU8el+xy0rhfnwbKl7f1VceO0fFgTudQi7oSxCFAONWq5SlDnx0VhxI+KLi FwgZ7hc0F/eQgYqG1bDS8pz7EULalIpcPY0VpYqL5AToish/qc7vlzNTQUJighxFUeNS yF1+RlU1iRr1rlvbu4q83KDkm848or2HUhk7SsHQ2uV7CBAHHhAdBF49QmeXd1EoIID8 5T/vLp5loyHTLN31KsFehj97LDe3UbrnYua+RBGeh76lDJOWZh7oJ7mTbTIoe/OgjuM1 a0iA== X-Gm-Message-State: AAQBX9eFl0JkyWn9F5MS63irFBi3fq+i7ELo2mSRqlpjaADKR0sOyPqK k1pawdIo7IWeyiHL4LNpv4WZ/8E49HTCeQiIIOyc2Azbn88= X-Google-Smtp-Source: AKy350bVGaTu1zmfhrV6MeVLIoeXy+C7GKgmWuOMPD4MmmITboUJlifOvq/bo2JMLFOewHonBvhx4iDTin+9jyx9NgY= X-Received: by 2002:a67:d71c:0:b0:422:1654:7737 with SMTP id p28-20020a67d71c000000b0042216547737mr119510vsj.3.1681340700556; Wed, 12 Apr 2023 16:05:00 -0700 (PDT) MIME-Version: 1.0 From: Rodrigo Morales Date: Wed, 12 Apr 2023 23:04:44 +0000 Message-ID: Subject: Most used and least used build-system in Guix packages To: help-guix@gnu.org Received-SPF: pass client-ip=2607:f8b0:4864:20::e36; envelope-from=moralesrodrigo1100@gmail.com; helo=mail-vs1-xe36.google.com X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 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_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, HTML_MESSAGE=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 Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: help-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Seal: i=1; s=key1; d=yhetil.org; t=1681342296; a=rsa-sha256; cv=none; b=KwOgnQhs+BFJpWDYZyCOjn10Vm998DilMITVkOGyCh65bK5ytIUyKYpsvblsUT5XJoK/Th dEbfedtUvb2sOJOONwU9Aa2EIPZ9N8Sebj0PBET+qr1QHWOr0sZ6gUZ3XJ+OxxCX09lJ1W JMR+R01bMATKq6MF+iFqEi3lxWlGZ2xqnVjALzrrbHkQM2K4wSojSFTKvJ4sY0+e6rE3RT wT7e9Xxs/6cx1sLcqAmaEAmug7+oHS/nDgKWMg/Oo7r0Xb1FbP3oCaNavsKE6iK72+ubAq G5oAe+L7Lw39E4I24JqqPsrZ3Dx9raxGjD1kqU19X3WdKdIcNtnVvVYrAsX6PA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=gmail.com header.s=20221208 header.b=hokOejxi; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1681342296; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=k4sDNzqStXv+XWO9eLEhGfqumXABFe/zu4+NCXNOtzc=; b=DNkRNn2RBYBGMdvSMYQmWmOSbZJsuhQefe2UTqGNRQiM8V47fLpzazYMkVrVoSTHySikMQ b/lBiwT6WvdE6I5v/COxKe6bRx5nMfCRVbi6w85IGBu0rqswnISCinnrpRWzo/IZjLgvq0 8FT+LH19RByPhCILldEN91i7399vYbRLbDmbIKam80a0UwWI5fa+yz8C20DbF9Qh5YMlIQ eEun5hDBJlsl4miWysfmTevD0lDjg5iEP9SibA/3i0ihHk878KvDm1OyQGbWIC21metJkc y6OmvpvADkR2tXEFVFM4KOWegBM+SXIyG8YYAtvAXoe0/kgxzAAX3/rXpOhxYw== X-Migadu-Queue-Id: 226743FE2F Authentication-Results: aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=gmail.com header.s=20221208 header.b=hokOejxi; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) X-Migadu-Scanner: scn0.migadu.com X-Migadu-Spam-Score: 7.18 X-Spam-Score: 7.18 X-TUID: gIqEPbVfAyGh Table of Contents _________________ 1. TL; DR 2. My findings 3. The question 1 TL; DR ======== Today, I was wondering what the most used build system and the least one are. The most used build system is `gnu-build-system'. The least used build system is `dub-build-system'. Here's how I found that out. 2 My findings ============= ,---- | (car %load-path) `---- ,---- | /gnu/store/zc7dzsd10dd3pw60hircphz4vh1wlki0-guix-module-union/share/guile/site/3.0 `---- ,---- | dir="/gnu/store/zc7dzsd10dd3pw60hircphz4vh1wlki0-guix-module-union/share/guile/site/3.0" | path="$dir/gnu/packages" | grep -hREo '[a-zo-]+-build-system' $path | sort | uniq -c | sort -nr `---- ,---- | 3893 gnu-build-system | 2717 python-build-system | 2359 r-build-system | 2188 cargo-build-system | 1328 emacs-build-system | 1176 cmake-build-system | 841 perl-build-system | 783 asdf-build-system | 776 haskell-build-system | 568 ruby-build-system | 536 go-build-system | 488 meson-build-system | 361 ant-build-system | 313 qt-build-system | 299 julia-build-system | 198 glib-or-gtk-build-system | 198 dune-build-system | 192 trivial-build-system | 158 pyproject-build-system | 154 copy-build-system | 81 font-build-system | 78 guile-build-system | 75 texlive-build-system | 52 ocaml-build-system | 49 node-build-system | 29 elm-build-system | 21 rebar-build-system | 21 rakudo-build-system | 21 minetest-mod-build-system | 20 waf-build-system | 19 linux-module-build-system | 15 minify-build-system | 14 clojure-build-system | 13 scons-build-system | 12 android-ndk-build-system | 9 patch-build-system | 9 chicken-build-system | 3 fix-build-system | 3 channel-build-system | 2 maven-build-system | 1 tree-sitter-build-system | 1 renpy-build-system | 1 package-build-system | 1 dub-build-system `---- 3 The question ============== Does anyone know if there's a more accurate way of finding out this information? I'm asking because my method also counts build systems that are mentioned in comments. For example, if a file contains comments that mention build systems, they are also counted. ,---- | (... more sentences that mention dub-build-system...) | ;; One sentence that mentions dub-build-system | ;; Another sentence that mentions dub-build-system | (... more sentences that mention dub-build-system...) `----