From patchwork Sun Jan 5 09:23:22 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Heiko Thiery X-Patchwork-Id: 1217718 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) 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=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="qLBOIYUP"; 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 47rCrD3sP4z9sPJ for ; Sun, 5 Jan 2020 20:23:56 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id C270320475; Sun, 5 Jan 2020 09:23:54 +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 EUVS012UG+k5; Sun, 5 Jan 2020 09:23:54 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id 02C0520432; Sun, 5 Jan 2020 09:23:54 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by ash.osuosl.org (Postfix) with ESMTP id 883711BF285 for ; Sun, 5 Jan 2020 09:23:52 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 8458020432 for ; Sun, 5 Jan 2020 09:23:52 +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 ufWHQWnxmVI0 for ; Sun, 5 Jan 2020 09:23:51 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wr1-f47.google.com (mail-wr1-f47.google.com [209.85.221.47]) by silver.osuosl.org (Postfix) with ESMTPS id 0BEB1203EA for ; Sun, 5 Jan 2020 09:23:51 +0000 (UTC) Received: by mail-wr1-f47.google.com with SMTP id d16so46383574wre.10 for ; Sun, 05 Jan 2020 01:23:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=R7PQPuDet2MOAAdve7AVKjY3FYEe7gk0/6qCiVqlkrM=; b=qLBOIYUPIp3aNb83+pXgrQUvbZayuDxAX4AtCQEUiso3uhnoHuaIz6szUbgw4ChWBE 1NTrIOXVv8iq91uQsrQQLkz9+eOzOL5u99z/0pkMXjRl8SDLWoymXEkp2V9oHGQDvZ8M nEnxwnRu3t+s3XO1/wIbQxXKWHY1ziykLMK59sDQgUImmoXrtLMd6Rwp8cvl4DFiGOEA KS6HGGJhfpuK8JczybU2tzLKG4xuV8ahvG8JOJMyg0QChY0QPezDFbZJbutNU48uWb2G tq4s79PZ+K9wDi2xEYVnRWclPryNUJn8XHuMbacjfsYPzplHkayAJbR3mU+CgP4Ymhbk EfsA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=R7PQPuDet2MOAAdve7AVKjY3FYEe7gk0/6qCiVqlkrM=; b=mE0VDozKcixwUaQWdmc8oTUCCtQFqrwXmi+H5QSHxg0fH5nzvUGg7bLVQBQiYXT1QU 9JLRffDhJEojP8UAYum4y/IV1nu4qRC88WU4yAsuwNTK5leEppP6N94i+0MSQIEbPDQc OddujJZBnIfSciSe+YdFv1Weqf/HIZhuQzE31EVsRRdz9Bjdr29OIgX8ecUJSTEzstar KDOqa+Eyp0GD86HDoOgaGwYHocOvk5kpaFqi3gXztvgieXBmXfIwQStUeV804sByWTTx vWxaIjXwB6sRKmJ526VCUJhEG9hJRm3Hf9jhLV0Tsh8RXh5TOU/KPWrMBgdSTUht2bAa Gm7w== X-Gm-Message-State: APjAAAWc3UL1T9jEt6Y2TcScMRUFMIu8X27p0j7CEkNMhye1RXjOzmoA zmJsZUkTvBSW6DE/mZFUgmj3H2NW X-Google-Smtp-Source: APXvYqxZ/IWmayhg+4MQEhT1MYe+ies0EbkfeQXje/Rsv+qwu9IdY2xkRQQL0Om28e5Wfoe96vFF+A== X-Received: by 2002:a5d:6692:: with SMTP id l18mr103256575wru.382.1578216228609; Sun, 05 Jan 2020 01:23:48 -0800 (PST) Received: from t450s.fritz.box (ip5f589927.dynamic.kabel-deutschland.de. [95.88.153.39]) by smtp.gmail.com with ESMTPSA id r62sm19600729wma.32.2020.01.05.01.23.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 05 Jan 2020 01:23:47 -0800 (PST) From: Heiko Thiery To: buildroot@buildroot.org Date: Sun, 5 Jan 2020 10:23:22 +0100 Message-Id: <20200105092329.6288-1-heiko.thiery@gmail.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Subject: [Buildroot] [PATCH v2 0/8] pkg-stats json output improvements 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: Heiko Thiery , Thomas Petazzoni Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" This patches add several improvements for the json output of the pkg-stats script. - add developers information to the packages - add supported defconfigs to json - add license information to json - add more generic status field to the packages --- v1 -> v2: - cleanup and recreation of patches - remove pkg name from dumping to json - use patch_files instead of combine count and files in dict - include getdevelopers.py to reuse Developers class --- Heiko Thiery (8): support/scripts/pkg-stats: store latest version in a dict support/scripts/pkg-stats: store patch files for the package support/scripts/pkg-stats: set developers info support/scripts/pkg-stats: store licences of package support/scripts/pkg-stats: add package status support/scripts/pkg-stats: add package count to stats support/scripts/pkg-stats: store pkg dir path support/scripts/pkg-stats: add defconfig support support/scripts/pkg-stats | 208 +++++++++++++++++++++++++++----------- 1 file changed, 151 insertions(+), 57 deletions(-)