From patchwork Sat Aug 17 17:18:30 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Yann E. MORIN" X-Patchwork-Id: 1148747 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=busybox.net (client-ip=140.211.166.136; helo=silver.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=free.fr Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="RoYWj4RT"; dkim-atps=neutral Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 469n3Y20Ryz9sDQ for ; Sun, 18 Aug 2019 03:19:05 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id B57582156C; Sat, 17 Aug 2019 17:19:03 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id V5w196Luy2vw; Sat, 17 Aug 2019 17:18:57 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id 7A3CD21552; Sat, 17 Aug 2019 17:18:53 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by ash.osuosl.org (Postfix) with ESMTP id 804541BF956 for ; Sat, 17 Aug 2019 17:18:49 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 75362859CF for ; Sat, 17 Aug 2019 17:18:49 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id SQY5LmD90_Tr for ; Sat, 17 Aug 2019 17:18:49 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wr1-f53.google.com (mail-wr1-f53.google.com [209.85.221.53]) by fraxinus.osuosl.org (Postfix) with ESMTPS id A7DC38598E for ; Sat, 17 Aug 2019 17:18:48 +0000 (UTC) Received: by mail-wr1-f53.google.com with SMTP id z1so4530547wru.13 for ; Sat, 17 Aug 2019 10:18:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=2+6KQmud6pTcnlUAcuOshh//HiA7ITo8PclqmkTx67E=; b=RoYWj4RTcCG/8BXUcs4WnYC2FciP0Uh+GJehQBGyv5ASGes00a3qz8P+gAigHvfknC BI/ZRQzJwDKhCC3nJWyz0zxt5arlqs1U/IlrtocnatFEMsoNW17xkiKt1BIAKh8H8LWa HM2zOvqws6hMmgCjh5+7AHe97HxzJIy4+NAVw2b9H7cwUgztAwVia793/y1NUtLJtveG Sr5yobqsA5UCIsCrsSqti3LZAoXYsMZcbncB7penRKeKZeGsoa9BFXojl8l+VSgu6ISF CKKvuvJuF3Z1CfvZ2onnhtwIin3KOfLDZ+loPiA9SAZnsBmgXQb745vkmjQp6BuwTl8u aELw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=2+6KQmud6pTcnlUAcuOshh//HiA7ITo8PclqmkTx67E=; b=DWXpzJHSk6BmU4eWMHGixyvllXuCJXSNl5GTO5+5RUHxmjo/S/xKEFCoF3Bhy1A4yN j6u67xaAtgdJSYGGwg+MG4ZmP3pRSmd7N1eJXxWRyUpGr3w5VUQK4CRG2AR9SPOWvBOv ouoIfVKTmPlxUxlTesgKVSE+CbUjviY28mto5da8eBOyUc94R6nEeKUVgv2fujnCxXOX 0aHqgKWlNiCcq5NWZ3VPgZqke1G36NV7xfV1uwZT/yY/AXjO/sdWEP0mz/4uw0dQv2fx Ak4YeES57r2yOXYmcmwMdUn/cKpObUtdXt85jb5AiJeHyEZS4C5kNsv42bDnEnNdg7Nj c5Ag== X-Gm-Message-State: APjAAAVC/EmbOWm+nFfyDoaPYXaK7E98le2OukN8x2HpA4jd60PDqI46 IykL/YGmDoYG/k8ASDvS6n4QRAJR X-Google-Smtp-Source: APXvYqzFbshRD0lLZQATpi60GUFCeNDr+NBdJ3Xv+CtZUiMZhJES0VcTvVySVZl79fDepKxImNtAnw== X-Received: by 2002:adf:d187:: with SMTP id v7mr6889294wrc.33.1566062326958; Sat, 17 Aug 2019 10:18:46 -0700 (PDT) Received: from localhost.localdomain (ns304657.ip-46-105-103.eu. [46.105.103.66]) by smtp.gmail.com with ESMTPSA id w13sm20864877wre.44.2019.08.17.10.18.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 17 Aug 2019 10:18:46 -0700 (PDT) From: "Yann E. MORIN" To: buildroot@buildroot.org Date: Sat, 17 Aug 2019 19:18:30 +0200 Message-Id: X-Mailer: git-send-email 2.20.1 In-Reply-To: References: MIME-Version: 1.0 Subject: [Buildroot] [PATCH 9/9] support/graph-size: reorder colours assigned to sizes X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: "Yann E. MORIN" , Thomas De Schampheleire Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Now that we can order packages from biggest to smallest, it makes sense to assign the most aggressive colours to the biggest packages. As such, reorder the current colours so that we have, in order: - red-ish - orange-ish - yellow-ish - purple-ish - eggplant-ish (is that even a colour? :-] ) - some-indeterminate-blue-ish - dark-green-ish - light-green-ish For the previous, smallest-first ordering, it does not matter much what the ordering is: the actual colours are still somewhat-unpredictably assigned to packages, depending on the cut-off limit... Signed-off-by: Yann E. MORIN Cc: Thomas De Schampheleire --- support/scripts/size-stats | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/support/scripts/size-stats b/support/scripts/size-stats index f6b8e6644d..9cb8a33118 100755 --- a/support/scripts/size-stats +++ b/support/scripts/size-stats @@ -38,8 +38,8 @@ class Config(): biggest_first = False iec = False size_limit = 0.01 - colors = ['#e60004', '#009836', '#2e1d86', '#ffed00', - '#0068b5', '#f28e00', '#940084', '#97c000'] + colors = ['#e60004', '#f28e00', '#ffed00', '#940084', + '#2e1d86', '#0068b5', '#009836', '#97c000'] #