migration-guides: preliminary description for 3.5
A message that is not in the archive (sent off-list or not yet received): [email protected]
Greetings,
The changes below are quick descriptions. Your careful reviews will be useful to double check, correct and complete the content!
Quoted 12 lines · Michael Opdenacker via lists.yoctoproject.org
From: Michael Opdenacker <[email protected]>
Signed-off-by Michael Opdenacker <[email protected]>--- .../migration-guides/migration-3.5.rst | 54 ++++++++++++++++++- 1 file changed, 53 insertions(+), 1 deletion(-)documentation/migration-guides/migration-3.5.rst +0
-0
documentation/migration-guides/migration-3.5.rst Recipe changes · line 72
Quoted 9 lines
documentation/migration-guides/migration-3.5.rst +6
-0@@ -64,10 +64,17 @@ Recipe changes - :ref:`allarch <ref-classes-allarch>` packagegroups can no longer depend on packages which use :term:`PKG` renaming such as :ref:`ref-classes-debian`. +- :term:`LICENSE` definitions now have to use `SPDX identifiers <https://spdx.org/licenses/>`__. + A :oe_git:`convert-spdx-licenses.py </openembedded-core/tree/scripts/contrib/convert-spdx-licenses.py>` + script can be used to update your recipes. + +- :term:`SRC_URI`: a new :ref:`bitbake:bitbake-user-manual/bitbake-user-manual-fetching:crate fetcher (\`\`crate://\`\`)` + is available for Rust packages.
This part may be part of the release notes instead (?)
Quoted 10 lines
documentation/migration-guides/migration-3.5.rst +2
-1+ Class changes ------------- -- The `distutils*.bbclasses` have been moved to `meta-python`. The classes and +- The ``distutils*.bbclasses`` have been moved to ``meta-python``. The classes and `DISTUTILS*` variables have been removed from the documentation. - ``blacklist.bbclass`` is removed and the functionality moved to the
documentation/migration-guides/migration-3.5.rst Class changes · line 91
Quoted 9 lines
documentation/migration-guides/migration-3.5.rst +6
-0@@ -76,3 +83,48 @@ Class changes function. The usage will remain the same:: SKIP_RECIPE[my-recipe] = "Reason for skipping recipe" + +- The Python package build process based on `wheels <https://pythonwheels.com/>`__. + Here are the new Python packaging classes that should be used: + :ref:`python-flit_core <ref-classes-python_flit_core>`, + :ref:`setuptools_python-build_meta <ref-classes-python_setuptools_build_meta>` + and :ref:`python_poetry_core <ref-classes-python_poetry_core>`.
Here, this was a very quick description based on existing classes. For sure, this need improving, and probably correcting.
Quoted 17 lines
documentation/migration-guides/migration-3.5.rst +17
-0+ +- ``image-prelink.bbclass`` class is removed. + +- New :ref:`overlayfs <ref-classes-overlayfs>` and + :ref:`overlayfs-etc <ref-classes-overlayfs-etc>` classes are available + to make it easier to overlay read-only filesystems (for example) + with `OverlayFS <https://en.wikipedia.org/wiki/OverlayFS>`__. + +Configuration changes +--------------------- + +- The Yocto Project now allows to reuse Shared State from its autobuilder. + If the network connection between our server and your machine is faster + than you would build recipes, you can try to speed up your builds + by using such Share State and Hash Equivalence by setting:: + + BB_SIGNATURE_HANDLER = "OEEquivHash"
documentation/migration-guides/migration-3.5.rst Class changes · line 118
Quoted 10 lines
documentation/migration-guides/migration-3.5.rst +10
-0+ BB_HASHSERVE = "auto" + BB_HASHSERVE_UPSTREAM = "typhoon.yocto.io:8687" + SSTATE_MIRRORS ?= "file://.* https://sstate.yoctoproject.org/&YOCTO_DOC_VERSION;/PATH;downloadfilename=PATH" + +Supported host distribution changes +----------------------------------- + +- New support for `AlmaLinux <https://en.wikipedia.org/wiki/AlmaLinux>`__ + hosts replacing `CentOS <https://en.wikipedia.org/wiki/CentOS>`__. + The following distribution versions were dropped: CentOS 8, Ubuntu 16.04 and Fedora 30, 31 and 32.
Not sure this should be in migration notes.
documentation/migration-guides/migration-3.5.rst Class changes · line 129
Quoted 11 lines
documentation/migration-guides/migration-3.5.rst +11
-0+ +Changes for release notes +------------------------- + +- Share State cache: now using `ZStandard (zstd) <https://en.wikipedia.org/wiki/Zstd>`__ + instead of Gzip compression, for better performance. + +- BitBake has an improved ``setscene`` task display. + +- This release fixes the reproducibility issues with ``rust-llvm`` and ``golang``. + Recipes in OpenEmbedded-Core are now fully reproducible.
Same here. These should probably go in release notes. Don't hesitate to propose to remove them after they made it to the release notes.
How are the release notes drafted by the way? I'm talking about the "New features / Enhancements" part. Is there a public review?
Thanks in advance for your help. I can take raw comments and take care of updating the .rst document accordingly.
Cheers
Michael.
Signature · 3 lines
Michael Opdenacker, Bootlin Embedded Linux and Kernel engineering https://bootlin.com