<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/poky.git/bitbake/doc/bitbake-user-manual/bitbake-user-manual-hello.rst, branch yocto-4.2.2</title>
<subtitle>Mirror of git.yoctoproject.org/poky</subtitle>
<id>https://git.enea.com/cgit/linux/poky.git/atom?h=yocto-4.2.2</id>
<link rel='self' href='https://git.enea.com/cgit/linux/poky.git/atom?h=yocto-4.2.2'/>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/'/>
<updated>2023-03-07T21:24:44+00:00</updated>
<entry>
<title>bitbake: bitbake-user-manual: update Hello World example</title>
<updated>2023-03-07T21:24:44+00:00</updated>
<author>
<name>Fawzi KHABER</name>
<email>fawzi.khaber@smile.fr</email>
</author>
<published>2023-03-02T16:14:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=e0a6ba834eb1d985ce2726b746ed7014e9f19489'/>
<id>urn:sha1:e0a6ba834eb1d985ce2726b746ed7014e9f19489</id>
<content type='text'>
Fix broken link "Obtaining bitbake".
Update documentation for the bitbake hello world example, the output was
outdated.
Fix LAYERSERIES_COMPAT warning by adding dunfell as default compatible release.
Add proper formating for base.bbclass command.

Reviewed-by: Michael Opdenacker &lt;michael.opdenacker@bootlin.com&gt;
Reviewed-by: Ever ATILANO &lt;ever.atilano@smile.fr&gt;
Reviewed-by: Yoann CONGAL &lt;yoann.congal@smile.fr&gt;
(Bitbake rev: e859ce61a7422425960342a47785468cef49caa1)

Signed-off-by: Fawzi KHABER &lt;fawzi.khaber@smile.fr&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>bitbake: bitbake: replace http with https for URLs</title>
<updated>2021-10-08T16:04:59+00:00</updated>
<author>
<name>Jon Mason</name>
<email>jdmason@kudzu.us</email>
</author>
<published>2021-10-07T15:06:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=2e78ec95bee9c5d776a68bfd926ba9f0a501eb40'/>
<id>urn:sha1:2e78ec95bee9c5d776a68bfd926ba9f0a501eb40</id>
<content type='text'>
https has been the preferred way to access websites for many years now.
Change all of the URLs with a _working_ https server/certificate to use
that URL.

(Bitbake rev: da543cdaf88a387675e25d3555765f1146e4105e)

Signed-off-by: Jon Mason &lt;jdmason@kudzu.us&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>bitbake: bitbake.conf: fix vars_from_file() call</title>
<updated>2021-09-14T22:16:42+00:00</updated>
<author>
<name>Martin Jansa</name>
<email>Martin.Jansa@gmail.com</email>
</author>
<published>2021-09-14T11:41:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=f3961107e29bf854ea85dbba41f400c7e5dfc81c'/>
<id>urn:sha1:f3961107e29bf854ea85dbba41f400c7e5dfc81c</id>
<content type='text'>
The reference to this function was dropped from BBHandler.py in:
https://git.openembedded.org/bitbake/commit/?id=aaa5292ef96ea27f505bc5c5a4b1eb4f497ed061

(Bitbake rev: b4fe8507079b6464287549f3eac1f1fc8d0d9be2)

Signed-off-by: Martin Jansa &lt;Martin.Jansa@gmail.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>bitbake: doc: bitbake-user-manual: replace ``FOO`` by :term:`FOO` where possible</title>
<updated>2021-07-26T22:05:05+00:00</updated>
<author>
<name>Quentin Schulz</name>
<email>quentin.schulz@theobroma-systems.com</email>
</author>
<published>2021-07-26T15:33:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=7ade8346b3a09983257589d22aaada47e0eec010'/>
<id>urn:sha1:7ade8346b3a09983257589d22aaada47e0eec010</id>
<content type='text'>
If a variable has a glossary entry and some rST files write about those
variables, it's better to point to the glossary entry instead of just
highlighting it by surrounding it with two tick quotes.

The script that is used to do the replacement of ``FOO`` by :term:`FOO`
is the following Python code:

import re
from pathlib import Path
from runpy import run_module
import contextlib
import io
import sys

re_term = re.compile(r'variables.html#term-([a-zA-Z_0-9]*)')
terms = []
new_terms = set()

with contextlib.redirect_stdout(io.StringIO()) as f:
    run_module('sphinx.ext.intersphinx', run_name='__main__')

objects = f.getvalue()

match = re_term.search(objects)
while match:
    if match.group(1):
        terms.append(match.group(1))
    match = re_term.search(objects, match.end())

for rst in Path('.').rglob('*.rst'):
    with open(rst, 'r') as f:
        content = "".join(f.readlines())
    for term in terms:
        content = re.sub(r'``({})``(?!.*\s+[~=-]{{{:d},}})'.format(term, len(term)), r':term:`\1`', content)

    with open(rst, 'w') as f:
        f.write(content)

This script takes one argument as input: an objects.inv which can be
gotten from doc/_build/html/objetcs.inv after running `make html`.

Note that this excludes from replacement terms that appear in section
titles as it requires refs to be changed too. This can be automated too
if need be but right now it looks a bit confusing to have an anchor link
(for sections) also have a term/reference link in it. I am not sure this
is desired today.

(Bitbake rev: aba88f40c47133ed9bc999e0298aca3bc8490912)

Signed-off-by: Quentin Schulz &lt;quentin.schulz@theobroma-systems.com&gt;
Signed-off-by: Quentin Schulz &lt;foss@0leil.net&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>bitbake: doc: bitbake-user-manual: fix typo left over from Sphinx migration</title>
<updated>2021-04-26T14:26:14+00:00</updated>
<author>
<name>Nicolas Dechesne</name>
<email>nicolas.dechesne@linaro.org</email>
</author>
<published>2021-04-22T07:54:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=b3426e89f567488416fac0230bb5b5240a900a70'/>
<id>urn:sha1:b3426e89f567488416fac0230bb5b5240a900a70</id>
<content type='text'>
Fixes d99760cc687c (sphinx: last manual round of fixes/improvements)

Reported-by: Michal Piechowski &lt;m.z.piechowski@gmail.com&gt;
(Bitbake rev: 00ce48919de720639eda2b6f7065a82b641e5167)

Signed-off-by: Nicolas Dechesne &lt;nicolas.dechesne@linaro.org&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>bitbake: doc: bitbake-user-manual: simplify colon usage</title>
<updated>2021-04-26T14:26:14+00:00</updated>
<author>
<name>Michael Opdenacker</name>
<email>michael.opdenacker@bootlin.com</email>
</author>
<published>2021-04-23T16:06:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=91aacf4ed312a6bbb07a3ccabf76618575b0e637'/>
<id>urn:sha1:91aacf4ed312a6bbb07a3ccabf76618575b0e637</id>
<content type='text'>
- This replaces instances of ": ::" by "::", which
  generates identical HTML output

(Bitbake rev: fd8ce4dcaff3aae395f9945fb0a3be54905e1727)

Signed-off-by: Michael Opdenacker &lt;michael.opdenacker@bootlin.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>bitbake: sphinx: last manual round of fixes/improvements</title>
<updated>2020-09-16T17:14:08+00:00</updated>
<author>
<name>Nicolas Dechesne</name>
<email>nicolas.dechesne@linaro.org</email>
</author>
<published>2020-07-31T08:00:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=e3b76c8fc370833a623791cec6e805158d35e9d1'/>
<id>urn:sha1:e3b76c8fc370833a623791cec6e805158d35e9d1</id>
<content type='text'>
Review all pages, and fix up for formatting which was not covered by
pandoc, such as some links and code block sections.

(Bitbake rev: d99760cc687cc9c24d6d9a1c49fa094574476e0c)

Signed-off-by: Nicolas Dechesne &lt;nicolas.dechesne@linaro.org&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>bitbake: sphinx: add SPDX headers</title>
<updated>2020-09-16T17:14:08+00:00</updated>
<author>
<name>Nicolas Dechesne</name>
<email>nicolas.dechesne@linaro.org</email>
</author>
<published>2020-09-08T14:50:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=7419e83f3c2fd0e5c0d0993436e247126d3224a7'/>
<id>urn:sha1:7419e83f3c2fd0e5c0d0993436e247126d3224a7</id>
<content type='text'>
(Bitbake rev: 4e461224c1825ebba6024fb8d962e726598da153)

Signed-off-by: Nicolas Dechesne &lt;nicolas.dechesne@linaro.org&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>bitbake: sphinx: fixes all remaining warnings</title>
<updated>2020-09-16T17:14:07+00:00</updated>
<author>
<name>Nicolas Dechesne</name>
<email>nicolas.dechesne@linaro.org</email>
</author>
<published>2020-07-30T16:19:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=9dfd6e1aa11886e16b63d9418e1de7c7faf00132'/>
<id>urn:sha1:9dfd6e1aa11886e16b63d9418e1de7c7faf00132</id>
<content type='text'>
This patch fixes a handful of remaining warnings reported by Sphinx.

(Bitbake rev: 35fdc18549607e195d424f554e8d4b74e87fd245)

Signed-off-by: Nicolas Dechesne &lt;nicolas.dechesne@linaro.org&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>bitbake: sphinx: fix links inside notes</title>
<updated>2020-09-16T17:14:07+00:00</updated>
<author>
<name>Nicolas Dechesne</name>
<email>nicolas.dechesne@linaro.org</email>
</author>
<published>2020-07-30T16:05:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=b232a4b50411344ee0e41e0d35ad596cfe81308c'/>
<id>urn:sha1:b232a4b50411344ee0e41e0d35ad596cfe81308c</id>
<content type='text'>
For some notes with links, the links were lost during the pandoc
conversion.

(Bitbake rev: e11d2dd1adbcb35b45d6d0f3a47f8d06caab0b49)

Signed-off-by: Nicolas Dechesne &lt;nicolas.dechesne@linaro.org&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
</feed>
