Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id A64BCE0049D; Wed, 9 Nov 2016 09:30:57 -0800 (PST) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no * trust * [209.85.213.67 listed in list.dnswl.org] * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily * valid * -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature Received: from mail-vk0-f67.google.com (mail-vk0-f67.google.com [209.85.213.67]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 3351FE0034A for ; Wed, 9 Nov 2016 09:30:53 -0800 (PST) Received: by mail-vk0-f67.google.com with SMTP id w194so9741323vkw.3 for ; Wed, 09 Nov 2016 09:30:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ossystems-com-br.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:organization; bh=bE21sE1vle3q+zST4JRcURH2K7ErCVHkRzo4enRL9nE=; b=nDLbEpKvjxZYduC8nFiXd7chmIZuk3g0rXEYBQNJWZVbYmJltr0su6xVh/Rs/aGh00 9j3MMFwO1cML20HKGf5xIdkZSlggCeQjploG3QBCPhpZLAKIKdrt4urpKabWWpDZntML 9iXEDmCFKotTlXpE++/ancWEbnhAdsEMhHK3usUQ++C7IWl8G6RyhUcGPTrALQeAjZBH G/6Jb8w6+kRkr7uBiDQPqMUKX8JuLZkFVkVhd3L6D7YucRUalxWOlnfaHCJIvxZj72B3 6zyK8VZWPGjPf7kiBFVFU8D7CnIBP15ndfBI2RXRxxcMeMdESBvJa+nw9nbKQMVoHJa3 LbuA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:organization; bh=bE21sE1vle3q+zST4JRcURH2K7ErCVHkRzo4enRL9nE=; b=cr2u+8m5l1RG/5+YFyN5Ivg7BJRwm76e35Yr+jdw/G+yayohGu4SgXaMvOkt8EXR26 RCJ2uEbBpC2afwdMW5YUUmarv4nKcewnj+diP+/mn41TG3wwifkA1R8IUiKG6QLPIA4g nALY3bnAw2+azuWANgsIN/h57TGq2QgvZAJkWgcv98dwQe6HqRXNG7NIi1nmy4s5Ve3v z2TA4xfcWZv+aZU/7ebuomsBkybvDToDzLRPOFdSd+j2Gq4rhoLnYhhoVVSXJwUo/kbO MyNsHOtPJ1uadRw1oQKfoi8NhwOaZV2vKCCOQSouWtkzy3CwT1IQn/uZMrLlDqfyCJLp OqLg== X-Gm-Message-State: ABUngvcKpv6AaETOkrDW+8dSHUgT/M5HM2ZOhrr34szMfAnQYsLGgMMgDcgutySNxlJb6w== X-Received: by 10.31.159.143 with SMTP id i137mr437228vke.130.1478712652885; Wed, 09 Nov 2016 09:30:52 -0800 (PST) Received: from monster.lab.ossystems.com.br ([187.23.155.148]) by smtp.gmail.com with ESMTPSA id 95sm149757uar.4.2016.11.09.09.30.50 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 09 Nov 2016 09:30:51 -0800 (PST) From: Fabio Berton To: meta-freescale@yoctoproject.org Date: Wed, 9 Nov 2016 15:30:21 -0200 Message-Id: <1478712625-29101-1-git-send-email-fabio.berton@ossystems.com.br> X-Mailer: git-send-email 2.1.4 Organization: O.S. Systems Software LTDA. Subject: [Documentation][PATCH 1/5] scripts: Update to version 2.2 (Morty) X-BeenThere: meta-freescale@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Usage and development list for the meta-fsl-* layers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Nov 2016 17:30:57 -0000 - Update FSL layers names - Add DISTRO and MACHINE to run setup-environment - Update Yocto Project Bugzilla url address Signed-off-by: Fabio Berton --- scripts/bitbake-metadata2doc.py | 18 +++++++++--------- scripts/bitbake-metadata2doc.sh | 6 +++--- scripts/generate-bugs-table.py | 6 +++--- scripts/output-machine-list | 2 +- scripts/test-sheet-parser.py | 2 +- 5 files changed, 17 insertions(+), 17 deletions(-) diff --git a/scripts/bitbake-metadata2doc.py b/scripts/bitbake-metadata2doc.py index 98af3f8..001d59d 100644 --- a/scripts/bitbake-metadata2doc.py +++ b/scripts/bitbake-metadata2doc.py @@ -112,8 +112,8 @@ def write_fsl_community_bsp_supported_kernels(data, out_dir): kernel = board_data['recipes']['virtual/kernel'] recipe = kernel['recipe'] recipe_file = kernel['file'] - if (('/sources/meta-fsl-arm/' in recipe_file) or \ - ('/sources/meta-fsl-arm-extra/' in recipe_file)) and \ + if (('/sources/meta-freescale/' in recipe_file) or \ + ('/sources/meta-freescale-3rdparty/' in recipe_file)) and \ recipe not in kernel_recipes: kernels += [[recipe, kernel['description']]] kernel_recipes.append(recipe) @@ -128,8 +128,8 @@ def write_fsl_community_bsp_supported_bootloaders_descr(data, out_dir): bootloader = board_data['recipes'][bootloader_software] recipe = bootloader['recipe'] recipe_file = bootloader['file'] - if (('/sources/meta-fsl-arm/' in recipe_file) or \ - ('/sources/meta-fsl-arm-extra/' in recipe_file)) and \ + if (('/sources/meta-freescale/' in recipe_file) or \ + ('/sources/meta-freescale-3rdparty/' in recipe_file)) and \ recipe not in bootloader_recipes: bootloaders += [[recipe, bootloader['description']]] bootloader_recipes.append(recipe) @@ -305,14 +305,14 @@ def write_soc_pkg(data, out_dir): def write_maintainers_tables(data, out_dir, bsp_dir): - meta_fsl_arm_machines_dir = os.path.join(bsp_dir, 'sources', 'meta-fsl-arm', 'conf', 'machine') - meta_fsl_arm_extra_machines_dir = os.path.join(bsp_dir, 'sources', 'meta-fsl-arm-extra', 'conf', 'machine') - get_maintainer_script = os.path.join(bsp_dir, 'sources', 'meta-fsl-arm', 'scripts', 'get-maintainer') + meta_freescale_machines_dir = os.path.join(bsp_dir, 'sources', 'meta-freescale', 'conf', 'machine') + meta_freescale_3rdparty_machines_dir = os.path.join(bsp_dir, 'sources', 'meta-freescale-3rdparty', 'conf', 'machine') + get_maintainer_script = os.path.join(bsp_dir, 'sources', 'meta-freescale', 'scripts', 'get-maintainer') try: get_maintainer_pipe = subprocess.Popen([get_maintainer_script, '--dump', - meta_fsl_arm_machines_dir, - meta_fsl_arm_extra_machines_dir], + meta_freescale_machines_dir, + meta_freescale_3rdparty_machines_dir], stdout=subprocess.PIPE) except OSError: error('Could not run the get-maintainer script (attempted %s)' % (get_maintainer_script,)) diff --git a/scripts/bitbake-metadata2doc.sh b/scripts/bitbake-metadata2doc.sh index 3616fe1..775e26d 100755 --- a/scripts/bitbake-metadata2doc.sh +++ b/scripts/bitbake-metadata2doc.sh @@ -46,7 +46,7 @@ gitdm_dir="$2" start_commit="$3" end_commit="$4" anchor="`pwd`" -fsl_layers="meta-fsl-arm meta-fsl-arm-extra meta-fsl-demos" +fsl_layers="meta-freescale meta-freescale-3rdparty meta-freescale-distro" machines= if [ -n "$MACHINES" ]; then @@ -80,9 +80,9 @@ build_dir=`mktemp -d --tmpdir=$yocto_dir` for machine in $machines; do cd $yocto_dir echo "Using $build_dir as build directory" - MACHINE=$machine . ./setup-environment `basename $build_dir` + MACHINE=$machine DISTRO=fslc-framebuffer . ./setup-environment `basename $build_dir` - MACHINE=$machine python3 $anchor/extract-bitbake-metadata.py \ + MACHINE=$machine DISTRO=fslc-framebuffer python3 $anchor/extract-bitbake-metadata.py \ $anchor/$marshalled_data_file \ apptrk \ barebox \ diff --git a/scripts/generate-bugs-table.py b/scripts/generate-bugs-table.py index 13390a3..dc9bba0 100755 --- a/scripts/generate-bugs-table.py +++ b/scripts/generate-bugs-table.py @@ -13,10 +13,10 @@ from doc_utils import tabularize BASE_DIRECTORY = os.path.dirname(os.path.realpath(__file__ + "/../")) -CLOSED_BUGS_URL = "https://bugzilla.yoctoproject.org/buglist.cgi?v4=meta-fsl-arm&o5=substring&f1=OP&o3=substring&v6=meta-fsl-arm&o7=matches&f0=OP&f8=CP&v3=meta-fsl-arm&o2=substring&o6=substring&v7=%22meta-fsl-arm%22&f9=CP&f4=alias&chfieldto=Now&v5=meta-fsl-arm&chfield=bug_status&query_format=advanced&j1=OR&f3=component&chfieldfrom=<>&f2=product&o4=substring&bug_status=RESOLVED&bug_status=VERIFIED&bug_status=CLOSED&f5=short_desc&f6=status_whiteboard&v2=meta-fsl-arm&f7=content&ctype=csv" +CLOSED_BUGS_URL = "https://bugzilla.yoctoproject.org/buglist.cgi?v4=meta-freescale&o5=substring&f1=OP&o3=substring&v6=meta-freescale&o7=matches&f0=OP&f8=CP&v3=meta-freescale&o2=substring&o6=substring&v7=%22meta-freescale%22&f9=CP&f4=alias&chfieldto=Now&v5=meta-freescale&chfield=bug_status&query_format=advanced&j1=OR&f3=component&chfieldfrom=<>&f2=product&o4=substring&bug_status=RESOLVED&bug_status=VERIFIED&bug_status=CLOSED&f5=short_desc&f6=status_whiteboard&v2=meta-freescale&f7=content&ctype=csv" CLOSED_BUGS_OUTPUT_FILE_PATH = BASE_DIRECTORY + "/release-notes/source/closed_bugs.inc" -OPEN_BUGS_URL = "https://bugzilla.yoctoproject.org/buglist.cgi?quicksearch=meta-fsl-arm&chfieldfrom=<>&ctype=csv" +OPEN_BUGS_URL = "https://bugzilla.yoctoproject.org/buglist.cgi?quicksearch=meta-freescale&chfieldfrom=<>&ctype=csv" OPEN_BUGS_OUTPUT_FILE_PATH = BASE_DIRECTORY + "/release-notes/source/open_bugs.inc" def request_bug_list(url): @@ -62,7 +62,7 @@ def generate_bugs_file(url, output_file_path, columns_to_keep): write_to_file(output_file_path, table) def process_arguments(): - desc = ('Generates a ReST table of the meta-fsl-arm bugs present on the ' + + desc = ('Generates a ReST table of the meta-freescale bugs present on the ' + 'Bugzilla bug list of the Yocto Project.') parser = argparse.ArgumentParser(description=desc) group = parser.add_mutually_exclusive_group() diff --git a/scripts/output-machine-list b/scripts/output-machine-list index 0f3e5de..c3ffb2c 100755 --- a/scripts/output-machine-list +++ b/scripts/output-machine-list @@ -36,7 +36,7 @@ REPO=$1 COMMAND=$2 TMP=`mktemp` -MACHINE_LAYERS="meta-fsl-arm meta-fsl-arm-extra" +MACHINE_LAYERS="meta-freescale meta-freescale-3rdparty" list_machine_files() { for l in $MACHINE_LAYERS; do diff --git a/scripts/test-sheet-parser.py b/scripts/test-sheet-parser.py index 967f476..ecf6ea0 100755 --- a/scripts/test-sheet-parser.py +++ b/scripts/test-sheet-parser.py @@ -11,7 +11,7 @@ def usage(exit_code=None): is the CSV file with the for responses. is the directory under which the Freescale -repositories (meta-fsl-arm and meta-fsl-arm-extra) can be found. +repositories (meta-freescale and meta-freescale-3rdparty) can be found. ''' % os.path.basename(sys.argv[0]) if exit_code is not None and exit_code != 0: sys.stderr.write(msg) -- 2.1.4