From abb36e3231a23193131e0e29718f2143ec1d5053 Mon Sep 17 00:00:00 2001 From: Scott Rifenbark Date: Thu, 23 May 2019 12:54:35 -0700 Subject: dev-manual, ref-manual: removed "distrodata" class Ousted these since it was noted in the migration section that the class had been removed. Modified all references to the removed class as needed. (From yocto-docs rev: ab63a38340fbbcffb8e02b0cb925c637615f884c) Signed-off-by: Scott Rifenbark Signed-off-by: Richard Purdie --- .../dev-manual/dev-manual-common-tasks.xml | 6 ---- documentation/ref-manual/migration.xml | 4 +-- documentation/ref-manual/ref-classes.xml | 33 ------------------- documentation/ref-manual/ref-tasks.xml | 38 +++++----------------- documentation/ref-manual/ref-variables.xml | 26 ++++++--------- 5 files changed, 20 insertions(+), 87 deletions(-) (limited to 'documentation') diff --git a/documentation/dev-manual/dev-manual-common-tasks.xml b/documentation/dev-manual/dev-manual-common-tasks.xml index 0fcb7b7064..7476fbea67 100644 --- a/documentation/dev-manual/dev-manual-common-tasks.xml +++ b/documentation/dev-manual/dev-manual-common-tasks.xml @@ -4318,12 +4318,6 @@ directory you just created for AUH. Make these following configurations: - - Enable "distrodata" as follows: - - INHERIT =+ "distrodata" - - If you want to enable Build History, diff --git a/documentation/ref-manual/migration.xml b/documentation/ref-manual/migration.xml index 4f57c1e1d3..a4d72dd6b7 100644 --- a/documentation/ref-manual/migration.xml +++ b/documentation/ref-manual/migration.xml @@ -2566,9 +2566,7 @@ OE-Core. The change includes package_regex.inc and distro_alias.inc, which are typically enabled - when using the - distrodata - class. + when using the distrodata class. Additionally, the contents of upstream_tracking.inc has now been split out to the relevant recipes. diff --git a/documentation/ref-manual/ref-classes.xml b/documentation/ref-manual/ref-classes.xml index d602851c54..f5d09dcd73 100644 --- a/documentation/ref-manual/ref-classes.xml +++ b/documentation/ref-manual/ref-classes.xml @@ -714,39 +714,6 @@ -
- <filename>distrodata.bbclass</filename> - - - The distrodata class - provides for automatic checking for upstream recipe updates. - The class creates a comma-separated value (CSV) spreadsheet that - contains information about the recipes. - The information provides the - do_distrodata - and - do_distro_check tasks, which do upstream checking - and also verify if a package is used in multiple major distributions. - - - - The class is not included by default. - To use it, you must set the - INHERIT - variable: - - INHERIT+= "distrodata" - - - - - The distrodata class also provides the - do_checkpkg - task, which can be used against a simple recipe or against an - image to get all its recipe information. - -
-
<filename>distutils*.bbclass</filename> diff --git a/documentation/ref-manual/ref-tasks.xml b/documentation/ref-manual/ref-tasks.xml index 8f3ff26d24..c7e83cf735 100644 --- a/documentation/ref-manual/ref-tasks.xml +++ b/documentation/ref-manual/ref-tasks.xml @@ -158,32 +158,6 @@
-
- <filename>do_distrodata</filename> - - - Provides information about the recipe. - - - - The distrodata task is included as part of the - distrodata - class. - - - - To build the distrodata task, use the - bitbake command with the "-c" option and - task name: - - $ bitbake core-image-minimal -c distrodata - - By default, the results are stored in - $LOG_DIR - (e.g. $BUILD_DIR/tmp/log). - -
-
<filename>do_fetch</filename> @@ -635,9 +609,15 @@ - The checkpkg task is included as part of the - distrodata - class. + To check the upstream version and status of a recipe, use the + following devtool commands: + + $ devtool latest-version + $ devtool check-upgrade-status + + See the + "devtool Quick Reference" + chapter for more information on devtool. diff --git a/documentation/ref-manual/ref-variables.xml b/documentation/ref-manual/ref-variables.xml index dc5c44ecaf..1e3f282a53 100644 --- a/documentation/ref-manual/ref-variables.xml +++ b/documentation/ref-manual/ref-variables.xml @@ -16626,16 +16626,16 @@ - When the - distrodata - class is enabled globally, you can perform a per-recipe - check for what the latest upstream source code version is - by calling + You can perform a per-recipe check for what the latest + upstream source code version is by calling bitbake -c checkpkg recipe. If the recipe source code is provided from Git repositories, the OpenEmbedded build system determines the latest upstream version by picking the latest tag from the list of all repository tags. + + + You can use the UPSTREAM_CHECK_GITTAGREGEX variable to provide a regular expression to filter only the @@ -16655,11 +16655,8 @@ - When the - distrodata - class is enabled globally, use the - UPSTREAM_CHECK_REGEX variable to - specify a different regular expression instead of the + Use the UPSTREAM_CHECK_REGEX variable + to specify a different regular expression instead of the default one when the package checking system is parsing the page found using UPSTREAM_CHECK_URI. @@ -16677,12 +16674,9 @@ - When the - distrodata - class is enabled globally, you can perform a per-recipe - check for what the latest upstream source code version is - by calling bitbake -c checkpkg - recipe. + You can perform a per-recipe check for what the latest + upstream source code version is by calling + bitbake -c checkpkg recipe. If the source code is provided from tarballs, the latest version is determined by fetching the directory listing where the tarball is and attempting to find a later tarball. -- cgit v1.2.3-54-g00ecf