All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/2] Update poky.yaml
@ 2020-11-12  7:52 Nicolas Dechesne
  2020-11-12  7:52 ` [PATCH v2 1/2] poky.yaml: remove unused variables Nicolas Dechesne
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Nicolas Dechesne @ 2020-11-12  7:52 UTC (permalink / raw)
  To: docs; +Cc: Nicolas Dechesne

This file was not updated for 3.2. These 2 changes should go on master
and gatesgarth. Then we can update poky.yaml for master/3.3 later.

Nicolas Dechesne (2):
  poky.yaml: remove unused variables
  poky.yaml: updates for 3.2

 documentation/poky.yaml | 63 ++++++-----------------------------------
 1 file changed, 8 insertions(+), 55 deletions(-)

-- 
2.29.2


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [PATCH v2 1/2] poky.yaml: remove unused variables
  2020-11-12  7:52 [PATCH v2 0/2] Update poky.yaml Nicolas Dechesne
@ 2020-11-12  7:52 ` Nicolas Dechesne
  2020-11-12  9:34   ` [docs] " Quentin Schulz
  2020-11-12  7:52 ` [PATCH v2 2/2] poky.yaml: updates for 3.2 Nicolas Dechesne
  2020-11-12  9:56 ` [docs] [PATCH v2 0/2] Update poky.yaml Quentin Schulz
  2 siblings, 1 reply; 8+ messages in thread
From: Nicolas Dechesne @ 2020-11-12  7:52 UTC (permalink / raw)
  To: docs; +Cc: Nicolas Dechesne

There are plenty of variables in poky.yaml which are not used anywhere
in the docs. So let's remove them. We can always add the one we need
later.

Note ORGEMAIL could be used in boilerplate.rst, however this file is
not parsed but included, and somehow the yocto-vars.py exenstion does
not process this file, so we cannot use a variable there.

Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
---
 documentation/poky.yaml | 47 -----------------------------------------
 1 file changed, 47 deletions(-)

diff --git a/documentation/poky.yaml b/documentation/poky.yaml
index e39c403fe..85f42cf07 100644
--- a/documentation/poky.yaml
+++ b/documentation/poky.yaml
@@ -1,62 +1,15 @@
 DISTRO : "3.1"
-DISTRO_COMPRESSED : "31"
 DISTRO_NAME_NO_CAP : "dunfell"
 DISTRO_NAME : "Dunfell"
 DISTRO_NAME_NO_CAP_MINUS_ONE : "zeus"
-DISTRO_NAME_MINUS_ONE : "Zeus"
 YOCTO_DOC_VERSION : "3.1"
 YOCTO_DOC_VERSION_MINUS_ONE : "3.0.2"
 DISTRO_REL_TAG : "yocto-3.1"
-METAINTELVERSION : "12.0"
-REL_MONTH_YEAR : "April 2020"
-META_INTEL_REL_TAG : "&METAINTELVERSION;-&DISTRO_NAME_NO_CAP;-&YOCTO_DOC_VERSION;"
 POKYVERSION : "23.0.0"
-POKYVERSION_COMPRESSED : "2300"
 YOCTO_POKY : "poky-&DISTRO_NAME_NO_CAP;-&POKYVERSION;"
-COPYRIGHT_YEAR : "2010-2020"
-ORGNAME : "The Yocto Project"
-ORGEMAIL : "docs@lists.yoctoproject.org"
 YOCTO_DL_URL : "https://downloads.yoctoproject.org"
-YOCTO_HOME_URL : "https://www.yoctoproject.org"
-YOCTO_LISTS_URL : "https://lists.yoctoproject.org"
-YOCTO_BUGZILLA_URL : "https://bugzilla.yoctoproject.org"
-YOCTO_WIKI_URL : "https://wiki.yoctoproject.org"
 YOCTO_AB_URL : "https://autobuilder.yoctoproject.org"
-YOCTO_GIT_URL : "https://git.yoctoproject.org"
-YOCTO_ADTREPO_URL : "http://adtrepo.yoctoproject.org"
-OE_HOME_URL : "https://www.openembedded.org"
-OE_LISTS_URL : "https://lists.openembedded.org"
-OE_DOCS_URL : "https://docs.openembedded.org"
-OH_HOME_URL : "http://o-hand.com"
-BITBAKE_HOME_URL : "http://developer.berlios.de/projects/bitbake/"
-YOCTO_DOCS_URL : "&YOCTO_HOME_URL;/docs"
-YOCTO_SOURCES_URL : "&YOCTO_HOME_URL;/sources/"
-YOCTO_AB_PORT_URL : "https://autobuilder.yocto.io/"
-YOCTO_AB_NIGHTLY_URL : "&YOCTO_AB_PORT_URL;/pub/nightly/"
-YOCTO_POKY_URL : "&YOCTO_DL_URL;/releases/poky/"
 YOCTO_RELEASE_DL_URL : "&YOCTO_DL_URL;/releases/yocto/yocto-&DISTRO;"
-YOCTO_TOOLCHAIN_DL_URL : "&YOCTO_RELEASE_DL_URL;/toolchain/"
-YOCTO_ADTINSTALLER_DL_URL : "&YOCTO_RELEASE_DL_URL;/adt-installer"
-YOCTO_POKY_DL_URL : "&YOCTO_RELEASE_DL_URL;/&YOCTO_POKY;.tar.bz2"
-YOCTO_MACHINES_DL_URL : "&YOCTO_RELEASE_DL_URL;/machines"
-YOCTO_QEMU_DL_URL : "&YOCTO_MACHINES_DL_URL;/qemu"
-YOCTO_PYTHON-i686_DL_URL : "&YOCTO_DL_URL;/releases/miscsupport/python-nativesdk-standalone-i686.tar.bz2"
-YOCTO_PYTHON-x86_64_DL_URL : "&YOCTO_DL_URL;/releases/miscsupport/python-nativesdk-standalone-x86_64.tar.bz2"
-YOCTO_DOCS_QS_URL : "&YOCTO_DOCS_URL;/&YOCTO_DOC_VERSION;/yocto-project-qs/yocto-project-qs.html"
-YOCTO_DOCS_REF_URL : "&YOCTO_DOCS_URL;/&YOCTO_DOC_VERSION;/ref-manual/ref-manual.html"
-YOCTO_DOCS_BSP_URL : "&YOCTO_DOCS_URL;/&YOCTO_DOC_VERSION;/bsp-guide/bsp-guide.html"
-YOCTO_DOCS_DEV_URL : "&YOCTO_DOCS_URL;/&YOCTO_DOC_VERSION;/dev-manual/dev-manual.html"
-YOCTO_DOCS_KERNEL_DEV_URL : "&YOCTO_DOCS_URL;/&YOCTO_DOC_VERSION;/kernel-dev/kernel-dev.html"
-YOCTO_DOCS_PROF_URL : "&YOCTO_DOCS_URL;/&YOCTO_DOC_VERSION;/profile-manual/profile-manual.html"
-YOCTO_DOCS_MM_URL : "&YOCTO_DOCS_URL;/&YOCTO_DOC_VERSION;/mega-manual/mega-manual.html"
-YOCTO_DOCS_BB_URL : "&YOCTO_DOCS_URL;/&YOCTO_DOC_VERSION;/bitbake-user-manual/bitbake-user-manual.html"
-YOCTO_DOCS_TOAST_URL : "&YOCTO_DOCS_URL;/&YOCTO_DOC_VERSION;/toaster-manual/toaster-manual.html"
-YOCTO_DOCS_SDK_URL : "&YOCTO_DOCS_URL;/&YOCTO_DOC_VERSION;/sdk-manual/sdk-manual.html"
-YOCTO_DOCS_OM_URL : "&YOCTO_DOCS_URL;/&YOCTO_DOC_VERSION;/overview-manual/overview-manual.html"
-YOCTO_DOCS_BRIEF_URL : "&YOCTO_DOCS_URL;/&YOCTO_DOC_VERSION;/brief-yoctoprojectqs/brief-yoctoprojectqs.html"
-YOCTO_ADTPATH_DIR : "/opt/poky/&DISTRO;"
-YOCTO_POKY_TARBALL : "&YOCTO_POKY;.tar.bz2"
-OE_INIT_PATH : "&YOCTO_POKY;/oe-init-build-env"
 UBUNTU_HOST_PACKAGES_ESSENTIAL : "gawk wget git-core diffstat unzip texinfo gcc-multilib \
      build-essential chrpath socat cpio python3 python3-pip python3-pexpect \
      xz-utils debianutils iputils-ping python3-git python3-jinja2 libegl1-mesa libsdl1.2-dev \
-- 
2.29.2


^ permalink raw reply related	[flat|nested] 8+ messages in thread

* [PATCH v2 2/2] poky.yaml: updates for 3.2
  2020-11-12  7:52 [PATCH v2 0/2] Update poky.yaml Nicolas Dechesne
  2020-11-12  7:52 ` [PATCH v2 1/2] poky.yaml: remove unused variables Nicolas Dechesne
@ 2020-11-12  7:52 ` Nicolas Dechesne
  2020-11-12  9:36   ` [docs] " Quentin Schulz
  2020-11-12  9:56 ` [docs] [PATCH v2 0/2] Update poky.yaml Quentin Schulz
  2 siblings, 1 reply; 8+ messages in thread
From: Nicolas Dechesne @ 2020-11-12  7:52 UTC (permalink / raw)
  To: docs; +Cc: Nicolas Dechesne

Updates global variables for 3.2 / Gategarth release.

Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
---
v2: fix DISTRO_NAME_NO_CAP_MINUS_ONE

 documentation/poky.yaml | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/documentation/poky.yaml b/documentation/poky.yaml
index 85f42cf07..e184fa829 100644
--- a/documentation/poky.yaml
+++ b/documentation/poky.yaml
@@ -1,11 +1,11 @@
-DISTRO : "3.1"
-DISTRO_NAME_NO_CAP : "dunfell"
-DISTRO_NAME : "Dunfell"
-DISTRO_NAME_NO_CAP_MINUS_ONE : "zeus"
-YOCTO_DOC_VERSION : "3.1"
-YOCTO_DOC_VERSION_MINUS_ONE : "3.0.2"
-DISTRO_REL_TAG : "yocto-3.1"
-POKYVERSION : "23.0.0"
+DISTRO : "3.2"
+DISTRO_NAME_NO_CAP : "gatesgarth"
+DISTRO_NAME : "Gatesgarth"
+DISTRO_NAME_NO_CAP_MINUS_ONE : "dunfell"
+YOCTO_DOC_VERSION : "3.2"
+YOCTO_DOC_VERSION_MINUS_ONE : "3.1.3"
+DISTRO_REL_TAG : "yocto-3.2"
+POKYVERSION : "24.0.0"
 YOCTO_POKY : "poky-&DISTRO_NAME_NO_CAP;-&POKYVERSION;"
 YOCTO_DL_URL : "https://downloads.yoctoproject.org"
 YOCTO_AB_URL : "https://autobuilder.yoctoproject.org"
-- 
2.29.2


^ permalink raw reply related	[flat|nested] 8+ messages in thread

* Re: [docs] [PATCH v2 1/2] poky.yaml: remove unused variables
  2020-11-12  7:52 ` [PATCH v2 1/2] poky.yaml: remove unused variables Nicolas Dechesne
@ 2020-11-12  9:34   ` Quentin Schulz
  2020-11-12  9:50     ` Nicolas Dechesne
  0 siblings, 1 reply; 8+ messages in thread
From: Quentin Schulz @ 2020-11-12  9:34 UTC (permalink / raw)
  To: Nicolas Dechesne; +Cc: docs

Hi Nicolas,

On Thu, Nov 12, 2020 at 08:52:05AM +0100, Nicolas Dechesne wrote:
> There are plenty of variables in poky.yaml which are not used anywhere
> in the docs. So let's remove them. We can always add the one we need
> later.
> 
> Note ORGEMAIL could be used in boilerplate.rst, however this file is
> not parsed but included, and somehow the yocto-vars.py exenstion does
> not process this file, so we cannot use a variable there.
> 
> Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
> ---
>  documentation/poky.yaml | 47 -----------------------------------------
>  1 file changed, 47 deletions(-)
> 
> diff --git a/documentation/poky.yaml b/documentation/poky.yaml
> index e39c403fe..85f42cf07 100644
> --- a/documentation/poky.yaml
> +++ b/documentation/poky.yaml
> @@ -1,62 +1,15 @@
>  DISTRO : "3.1"
> -DISTRO_COMPRESSED : "31"
>  DISTRO_NAME_NO_CAP : "dunfell"
>  DISTRO_NAME : "Dunfell"
>  DISTRO_NAME_NO_CAP_MINUS_ONE : "zeus"
> -DISTRO_NAME_MINUS_ONE : "Zeus"
>  YOCTO_DOC_VERSION : "3.1"
>  YOCTO_DOC_VERSION_MINUS_ONE : "3.0.2"
>  DISTRO_REL_TAG : "yocto-3.1"
> -METAINTELVERSION : "12.0"
> -REL_MONTH_YEAR : "April 2020"
> -META_INTEL_REL_TAG : "&METAINTELVERSION;-&DISTRO_NAME_NO_CAP;-&YOCTO_DOC_VERSION;"
>  POKYVERSION : "23.0.0"
> -POKYVERSION_COMPRESSED : "2300"
>  YOCTO_POKY : "poky-&DISTRO_NAME_NO_CAP;-&POKYVERSION;"
> -COPYRIGHT_YEAR : "2010-2020"
> -ORGNAME : "The Yocto Project"
> -ORGEMAIL : "docs@lists.yoctoproject.org"
>  YOCTO_DL_URL : "https://downloads.yoctoproject.org"
> -YOCTO_HOME_URL : "https://www.yoctoproject.org"
> -YOCTO_LISTS_URL : "https://lists.yoctoproject.org"
> -YOCTO_BUGZILLA_URL : "https://bugzilla.yoctoproject.org"
> -YOCTO_WIKI_URL : "https://wiki.yoctoproject.org"
>  YOCTO_AB_URL : "https://autobuilder.yoctoproject.org"
> -YOCTO_GIT_URL : "https://git.yoctoproject.org"
> -YOCTO_ADTREPO_URL : "http://adtrepo.yoctoproject.org"
> -OE_HOME_URL : "https://www.openembedded.org"
> -OE_LISTS_URL : "https://lists.openembedded.org"
> -OE_DOCS_URL : "https://docs.openembedded.org"
> -OH_HOME_URL : "http://o-hand.com"
> -BITBAKE_HOME_URL : "http://developer.berlios.de/projects/bitbake/"
> -YOCTO_DOCS_URL : "&YOCTO_HOME_URL;/docs"
> -YOCTO_SOURCES_URL : "&YOCTO_HOME_URL;/sources/"
> -YOCTO_AB_PORT_URL : "https://autobuilder.yocto.io/"
> -YOCTO_AB_NIGHTLY_URL : "&YOCTO_AB_PORT_URL;/pub/nightly/"
> -YOCTO_POKY_URL : "&YOCTO_DL_URL;/releases/poky/"
>  YOCTO_RELEASE_DL_URL : "&YOCTO_DL_URL;/releases/yocto/yocto-&DISTRO;"
> -YOCTO_TOOLCHAIN_DL_URL : "&YOCTO_RELEASE_DL_URL;/toolchain/"
> -YOCTO_ADTINSTALLER_DL_URL : "&YOCTO_RELEASE_DL_URL;/adt-installer"
> -YOCTO_POKY_DL_URL : "&YOCTO_RELEASE_DL_URL;/&YOCTO_POKY;.tar.bz2"
> -YOCTO_MACHINES_DL_URL : "&YOCTO_RELEASE_DL_URL;/machines"
> -YOCTO_QEMU_DL_URL : "&YOCTO_MACHINES_DL_URL;/qemu"
> -YOCTO_PYTHON-i686_DL_URL : "&YOCTO_DL_URL;/releases/miscsupport/python-nativesdk-standalone-i686.tar.bz2"
> -YOCTO_PYTHON-x86_64_DL_URL : "&YOCTO_DL_URL;/releases/miscsupport/python-nativesdk-standalone-x86_64.tar.bz2"
> -YOCTO_DOCS_QS_URL : "&YOCTO_DOCS_URL;/&YOCTO_DOC_VERSION;/yocto-project-qs/yocto-project-qs.html"
> -YOCTO_DOCS_REF_URL : "&YOCTO_DOCS_URL;/&YOCTO_DOC_VERSION;/ref-manual/ref-manual.html"
> -YOCTO_DOCS_BSP_URL : "&YOCTO_DOCS_URL;/&YOCTO_DOC_VERSION;/bsp-guide/bsp-guide.html"
> -YOCTO_DOCS_DEV_URL : "&YOCTO_DOCS_URL;/&YOCTO_DOC_VERSION;/dev-manual/dev-manual.html"
> -YOCTO_DOCS_KERNEL_DEV_URL : "&YOCTO_DOCS_URL;/&YOCTO_DOC_VERSION;/kernel-dev/kernel-dev.html"
> -YOCTO_DOCS_PROF_URL : "&YOCTO_DOCS_URL;/&YOCTO_DOC_VERSION;/profile-manual/profile-manual.html"
> -YOCTO_DOCS_MM_URL : "&YOCTO_DOCS_URL;/&YOCTO_DOC_VERSION;/mega-manual/mega-manual.html"
> -YOCTO_DOCS_BB_URL : "&YOCTO_DOCS_URL;/&YOCTO_DOC_VERSION;/bitbake-user-manual/bitbake-user-manual.html"
> -YOCTO_DOCS_TOAST_URL : "&YOCTO_DOCS_URL;/&YOCTO_DOC_VERSION;/toaster-manual/toaster-manual.html"
> -YOCTO_DOCS_SDK_URL : "&YOCTO_DOCS_URL;/&YOCTO_DOC_VERSION;/sdk-manual/sdk-manual.html"
> -YOCTO_DOCS_OM_URL : "&YOCTO_DOCS_URL;/&YOCTO_DOC_VERSION;/overview-manual/overview-manual.html"
> -YOCTO_DOCS_BRIEF_URL : "&YOCTO_DOCS_URL;/&YOCTO_DOC_VERSION;/brief-yoctoprojectqs/brief-yoctoprojectqs.html"
> -YOCTO_ADTPATH_DIR : "/opt/poky/&DISTRO;"
> -YOCTO_POKY_TARBALL : "&YOCTO_POKY;.tar.bz2"
> -OE_INIT_PATH : "&YOCTO_POKY;/oe-init-build-env"

That's a lot of variables removed... Are you sure they are never used?
(compile with and without this change, and diff the html).

Just to be sure I didn't misunderstood the usecase for those variables:
it is so we can have "dynamic" values in litteral blocks (:: and maybe
others?), because those in yocto-vars.py don't work IIRC (they are not
"translated", i.e. :yocto_git:`/` will be put as isin the litteral block).

Quentin

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [docs] [PATCH v2 2/2] poky.yaml: updates for 3.2
  2020-11-12  7:52 ` [PATCH v2 2/2] poky.yaml: updates for 3.2 Nicolas Dechesne
@ 2020-11-12  9:36   ` Quentin Schulz
  2020-11-12  9:53     ` Nicolas Dechesne
  0 siblings, 1 reply; 8+ messages in thread
From: Quentin Schulz @ 2020-11-12  9:36 UTC (permalink / raw)
  To: Nicolas Dechesne; +Cc: docs

Hi Nicolas,

On Thu, Nov 12, 2020 at 08:52:06AM +0100, Nicolas Dechesne wrote:
> Updates global variables for 3.2 / Gategarth release.
> 
> Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
> ---
> v2: fix DISTRO_NAME_NO_CAP_MINUS_ONE
> 
>  documentation/poky.yaml | 16 ++++++++--------
>  1 file changed, 8 insertions(+), 8 deletions(-)
> 
> diff --git a/documentation/poky.yaml b/documentation/poky.yaml
> index 85f42cf07..e184fa829 100644
> --- a/documentation/poky.yaml
> +++ b/documentation/poky.yaml
> @@ -1,11 +1,11 @@
> -DISTRO : "3.1"
> -DISTRO_NAME_NO_CAP : "dunfell"
> -DISTRO_NAME : "Dunfell"
> -DISTRO_NAME_NO_CAP_MINUS_ONE : "zeus"
> -YOCTO_DOC_VERSION : "3.1"
> -YOCTO_DOC_VERSION_MINUS_ONE : "3.0.2"
> -DISTRO_REL_TAG : "yocto-3.1"
> -POKYVERSION : "23.0.0"
> +DISTRO : "3.2"
> +DISTRO_NAME_NO_CAP : "gatesgarth"
> +DISTRO_NAME : "Gatesgarth"
> +DISTRO_NAME_NO_CAP_MINUS_ONE : "dunfell"
> +YOCTO_DOC_VERSION : "3.2"
> +YOCTO_DOC_VERSION_MINUS_ONE : "3.1.3"
> +DISTRO_REL_TAG : "yocto-3.2"

DISTRO_REL_TAG : "yocto-&DISTRO;"
?

Provided DISTRO is bumped for dot releases too?

Thanks,
Quentin

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [docs] [PATCH v2 1/2] poky.yaml: remove unused variables
  2020-11-12  9:34   ` [docs] " Quentin Schulz
@ 2020-11-12  9:50     ` Nicolas Dechesne
  0 siblings, 0 replies; 8+ messages in thread
From: Nicolas Dechesne @ 2020-11-12  9:50 UTC (permalink / raw)
  To: Quentin Schulz; +Cc: YP docs mailing list

On Thu, Nov 12, 2020 at 10:34 AM Quentin Schulz
<quentin.schulz@streamunlimited.com> wrote:
>
> Hi Nicolas,
>
> On Thu, Nov 12, 2020 at 08:52:05AM +0100, Nicolas Dechesne wrote:
> > There are plenty of variables in poky.yaml which are not used anywhere
> > in the docs. So let's remove them. We can always add the one we need
> > later.
> >
> > Note ORGEMAIL could be used in boilerplate.rst, however this file is
> > not parsed but included, and somehow the yocto-vars.py exenstion does
> > not process this file, so we cannot use a variable there.
> >
> > Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
> > ---
> >  documentation/poky.yaml | 47 -----------------------------------------
> >  1 file changed, 47 deletions(-)
> >
> > diff --git a/documentation/poky.yaml b/documentation/poky.yaml
> > index e39c403fe..85f42cf07 100644
> > --- a/documentation/poky.yaml
> > +++ b/documentation/poky.yaml
> > @@ -1,62 +1,15 @@
> >  DISTRO : "3.1"
> > -DISTRO_COMPRESSED : "31"
> >  DISTRO_NAME_NO_CAP : "dunfell"
> >  DISTRO_NAME : "Dunfell"
> >  DISTRO_NAME_NO_CAP_MINUS_ONE : "zeus"
> > -DISTRO_NAME_MINUS_ONE : "Zeus"
> >  YOCTO_DOC_VERSION : "3.1"
> >  YOCTO_DOC_VERSION_MINUS_ONE : "3.0.2"
> >  DISTRO_REL_TAG : "yocto-3.1"
> > -METAINTELVERSION : "12.0"
> > -REL_MONTH_YEAR : "April 2020"
> > -META_INTEL_REL_TAG : "&METAINTELVERSION;-&DISTRO_NAME_NO_CAP;-&YOCTO_DOC_VERSION;"
> >  POKYVERSION : "23.0.0"
> > -POKYVERSION_COMPRESSED : "2300"
> >  YOCTO_POKY : "poky-&DISTRO_NAME_NO_CAP;-&POKYVERSION;"
> > -COPYRIGHT_YEAR : "2010-2020"
> > -ORGNAME : "The Yocto Project"
> > -ORGEMAIL : "docs@lists.yoctoproject.org"
> >  YOCTO_DL_URL : "https://downloads.yoctoproject.org"
> > -YOCTO_HOME_URL : "https://www.yoctoproject.org"
> > -YOCTO_LISTS_URL : "https://lists.yoctoproject.org"
> > -YOCTO_BUGZILLA_URL : "https://bugzilla.yoctoproject.org"
> > -YOCTO_WIKI_URL : "https://wiki.yoctoproject.org"
> >  YOCTO_AB_URL : "https://autobuilder.yoctoproject.org"
> > -YOCTO_GIT_URL : "https://git.yoctoproject.org"
> > -YOCTO_ADTREPO_URL : "http://adtrepo.yoctoproject.org"
> > -OE_HOME_URL : "https://www.openembedded.org"
> > -OE_LISTS_URL : "https://lists.openembedded.org"
> > -OE_DOCS_URL : "https://docs.openembedded.org"
> > -OH_HOME_URL : "http://o-hand.com"
> > -BITBAKE_HOME_URL : "http://developer.berlios.de/projects/bitbake/"
> > -YOCTO_DOCS_URL : "&YOCTO_HOME_URL;/docs"
> > -YOCTO_SOURCES_URL : "&YOCTO_HOME_URL;/sources/"
> > -YOCTO_AB_PORT_URL : "https://autobuilder.yocto.io/"
> > -YOCTO_AB_NIGHTLY_URL : "&YOCTO_AB_PORT_URL;/pub/nightly/"
> > -YOCTO_POKY_URL : "&YOCTO_DL_URL;/releases/poky/"
> >  YOCTO_RELEASE_DL_URL : "&YOCTO_DL_URL;/releases/yocto/yocto-&DISTRO;"
> > -YOCTO_TOOLCHAIN_DL_URL : "&YOCTO_RELEASE_DL_URL;/toolchain/"
> > -YOCTO_ADTINSTALLER_DL_URL : "&YOCTO_RELEASE_DL_URL;/adt-installer"
> > -YOCTO_POKY_DL_URL : "&YOCTO_RELEASE_DL_URL;/&YOCTO_POKY;.tar.bz2"
> > -YOCTO_MACHINES_DL_URL : "&YOCTO_RELEASE_DL_URL;/machines"
> > -YOCTO_QEMU_DL_URL : "&YOCTO_MACHINES_DL_URL;/qemu"
> > -YOCTO_PYTHON-i686_DL_URL : "&YOCTO_DL_URL;/releases/miscsupport/python-nativesdk-standalone-i686.tar.bz2"
> > -YOCTO_PYTHON-x86_64_DL_URL : "&YOCTO_DL_URL;/releases/miscsupport/python-nativesdk-standalone-x86_64.tar.bz2"
> > -YOCTO_DOCS_QS_URL : "&YOCTO_DOCS_URL;/&YOCTO_DOC_VERSION;/yocto-project-qs/yocto-project-qs.html"
> > -YOCTO_DOCS_REF_URL : "&YOCTO_DOCS_URL;/&YOCTO_DOC_VERSION;/ref-manual/ref-manual.html"
> > -YOCTO_DOCS_BSP_URL : "&YOCTO_DOCS_URL;/&YOCTO_DOC_VERSION;/bsp-guide/bsp-guide.html"
> > -YOCTO_DOCS_DEV_URL : "&YOCTO_DOCS_URL;/&YOCTO_DOC_VERSION;/dev-manual/dev-manual.html"
> > -YOCTO_DOCS_KERNEL_DEV_URL : "&YOCTO_DOCS_URL;/&YOCTO_DOC_VERSION;/kernel-dev/kernel-dev.html"
> > -YOCTO_DOCS_PROF_URL : "&YOCTO_DOCS_URL;/&YOCTO_DOC_VERSION;/profile-manual/profile-manual.html"
> > -YOCTO_DOCS_MM_URL : "&YOCTO_DOCS_URL;/&YOCTO_DOC_VERSION;/mega-manual/mega-manual.html"
> > -YOCTO_DOCS_BB_URL : "&YOCTO_DOCS_URL;/&YOCTO_DOC_VERSION;/bitbake-user-manual/bitbake-user-manual.html"
> > -YOCTO_DOCS_TOAST_URL : "&YOCTO_DOCS_URL;/&YOCTO_DOC_VERSION;/toaster-manual/toaster-manual.html"
> > -YOCTO_DOCS_SDK_URL : "&YOCTO_DOCS_URL;/&YOCTO_DOC_VERSION;/sdk-manual/sdk-manual.html"
> > -YOCTO_DOCS_OM_URL : "&YOCTO_DOCS_URL;/&YOCTO_DOC_VERSION;/overview-manual/overview-manual.html"
> > -YOCTO_DOCS_BRIEF_URL : "&YOCTO_DOCS_URL;/&YOCTO_DOC_VERSION;/brief-yoctoprojectqs/brief-yoctoprojectqs.html"
> > -YOCTO_ADTPATH_DIR : "/opt/poky/&DISTRO;"
> > -YOCTO_POKY_TARBALL : "&YOCTO_POKY;.tar.bz2"
> > -OE_INIT_PATH : "&YOCTO_POKY;/oe-init-build-env"
>
> That's a lot of variables removed... Are you sure they are never used?
> (compile with and without this change, and diff the html).

yes ;)

I think a lot of them where used in the docbook files for cross
references between 'manuals', which we do with :ref: now, and extlinks
as well. But as far as I can (and I did diff'd the html) this change
is a no-op.

>
> Just to be sure I didn't misunderstood the usecase for those variables:
> it is so we can have "dynamic" values in litteral blocks (:: and maybe
> others?), because those in yocto-vars.py don't work IIRC (they are not
> "translated", i.e. :yocto_git:`/` will be put as isin the litteral block).

Right. you are correct. In litteral blocks, you cannot 'nest' roles. I
tried to get rid of them initially, and use the built-in substitutions
mechanisms, but not being to use them in literal blocks was really a
blocker. At least we get rid of many of them by using new Sphinx
mechanisms (ref and extlinks).

>
> Quentin

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [docs] [PATCH v2 2/2] poky.yaml: updates for 3.2
  2020-11-12  9:36   ` [docs] " Quentin Schulz
@ 2020-11-12  9:53     ` Nicolas Dechesne
  0 siblings, 0 replies; 8+ messages in thread
From: Nicolas Dechesne @ 2020-11-12  9:53 UTC (permalink / raw)
  To: Quentin Schulz; +Cc: YP docs mailing list

On Thu, Nov 12, 2020 at 10:36 AM Quentin Schulz
<quentin.schulz@streamunlimited.com> wrote:
>
> Hi Nicolas,
>
> On Thu, Nov 12, 2020 at 08:52:06AM +0100, Nicolas Dechesne wrote:
> > Updates global variables for 3.2 / Gategarth release.
> >
> > Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
> > ---
> > v2: fix DISTRO_NAME_NO_CAP_MINUS_ONE
> >
> >  documentation/poky.yaml | 16 ++++++++--------
> >  1 file changed, 8 insertions(+), 8 deletions(-)
> >
> > diff --git a/documentation/poky.yaml b/documentation/poky.yaml
> > index 85f42cf07..e184fa829 100644
> > --- a/documentation/poky.yaml
> > +++ b/documentation/poky.yaml
> > @@ -1,11 +1,11 @@
> > -DISTRO : "3.1"
> > -DISTRO_NAME_NO_CAP : "dunfell"
> > -DISTRO_NAME : "Dunfell"
> > -DISTRO_NAME_NO_CAP_MINUS_ONE : "zeus"
> > -YOCTO_DOC_VERSION : "3.1"
> > -YOCTO_DOC_VERSION_MINUS_ONE : "3.0.2"
> > -DISTRO_REL_TAG : "yocto-3.1"
> > -POKYVERSION : "23.0.0"
> > +DISTRO : "3.2"
> > +DISTRO_NAME_NO_CAP : "gatesgarth"
> > +DISTRO_NAME : "Gatesgarth"
> > +DISTRO_NAME_NO_CAP_MINUS_ONE : "dunfell"
> > +YOCTO_DOC_VERSION : "3.2"
> > +YOCTO_DOC_VERSION_MINUS_ONE : "3.1.3"
> > +DISTRO_REL_TAG : "yocto-3.2"
>
> DISTRO_REL_TAG : "yocto-&DISTRO;"
> ?
>
> Provided DISTRO is bumped for dot releases too?

yes. perhaps. But to me this is another patch. e.g. a generic
enhancement, this patch is about 'fixing' the versions for the current
release.
I think we should look where we use each of these vars, for ex, I
don't think YOCTO_DOC_VERSION is needed as well. So perhaps another
series to fix them later instead.

>
> Thanks,
> Quentin

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [docs] [PATCH v2 0/2] Update poky.yaml
  2020-11-12  7:52 [PATCH v2 0/2] Update poky.yaml Nicolas Dechesne
  2020-11-12  7:52 ` [PATCH v2 1/2] poky.yaml: remove unused variables Nicolas Dechesne
  2020-11-12  7:52 ` [PATCH v2 2/2] poky.yaml: updates for 3.2 Nicolas Dechesne
@ 2020-11-12  9:56 ` Quentin Schulz
  2 siblings, 0 replies; 8+ messages in thread
From: Quentin Schulz @ 2020-11-12  9:56 UTC (permalink / raw)
  To: Nicolas Dechesne; +Cc: docs

Hi Nicolas,

On Thu, Nov 12, 2020 at 08:52:04AM +0100, Nicolas Dechesne wrote:
> This file was not updated for 3.2. These 2 changes should go on master
> and gatesgarth. Then we can update poky.yaml for master/3.3 later.
> 
> Nicolas Dechesne (2):
>   poky.yaml: remove unused variables
>   poky.yaml: updates for 3.2
> 

For both:

Reviewed-by: Quentin Schulz <quentin.schulz@streamunlimited.com>

Thanks!
Quentin

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2020-11-12  9:56 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-12  7:52 [PATCH v2 0/2] Update poky.yaml Nicolas Dechesne
2020-11-12  7:52 ` [PATCH v2 1/2] poky.yaml: remove unused variables Nicolas Dechesne
2020-11-12  9:34   ` [docs] " Quentin Schulz
2020-11-12  9:50     ` Nicolas Dechesne
2020-11-12  7:52 ` [PATCH v2 2/2] poky.yaml: updates for 3.2 Nicolas Dechesne
2020-11-12  9:36   ` [docs] " Quentin Schulz
2020-11-12  9:53     ` Nicolas Dechesne
2020-11-12  9:56 ` [docs] [PATCH v2 0/2] Update poky.yaml Quentin Schulz

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.