Skip to contentSkip to conversation

Add a few missed new features for 5.0

PATCH In review Paul Eggleton 2 participants 4 messages Apr 18, 2024 – Apr 19, 2024

lore
Share & tools
lore
#0 lore raw

cover Add a few missed new features for 5.0

Add a few new features in 5.0 that I missed in the previous patchset. Apologies for being last-minute!

The following changes since commit 0cdc0afd3332459d30cfc8f4c2e62bdcc23f5ed5:

release-notes: additional features and one known issue for 5.0 (2024-04-15 17:39:29 +0200)

are available in the Git repository at:

https://git.yoctoproject.org/poky-contrib paule/5.0-extras
https://git.yoctoproject.org/poky-contrib/log/?h=paule/5.0-extras

Paul Eggleton (2):
variables: add USERADD_DEPENDS
release-notes: add a few more new features

 .../migration-guides/release-notes-5.0.rst    | 32 +++++++++++++++++--
 documentation/ref-manual/variables.rst        |  6 ++++
 2 files changed, 36 insertions(+), 2 deletions(-)
Signature · 1 line
2.25.1
#1 lore raw

PATCH 1/2 variables: add USERADD_DEPENDS

New variable in 5.0.

---
 documentation/ref-manual/variables.rst | 6 ++++++
 1 file changed, 6 insertions(+)
documentation/ref-manual/variables.rst +6 -0
index 9cdcc1b61b..3f37f42f21 100644
@@ -9771,6 +9771,12 @@ system and gives an overview of their function and contents.
       ``meta-poky/conf/templates/default/local.conf.sample`` in the
       :term:`Source Directory`.
 
+   :term:`USERADD_DEPENDS`
+      Specifies a list of recipes that create users / groups (via
+      :term:`USERADD_PARAM` / :term:`GROUPADD_PARAM`) which a recipe
+      depends upon. This ensures that those users / groups are available
+      when building a recipe.
+
    :term:`USERADD_ERROR_DYNAMIC`
       If set to ``error``, forces the OpenEmbedded build system to produce
       an error if the user identification (``uid``) and group
Signature · 1 line
2.25.1
#2 lore raw

PATCH 2/2 release-notes: add a few more new features

In reply to Paul Eggleton

Add some features I missed earlier (patchtest, Toaster, hash equivalence enhancements, screenshot-based UI test, USERADD_DEPENDS).

---
 .../migration-guides/release-notes-5.0.rst    | 32 +++++++++++++++++--
 1 file changed, 30 insertions(+), 2 deletions(-)
documentation/migration-guides/release-notes-5.0.rst +30 -2
index 4bd9125d17..f53f5459af 100644
@@ -25,6 +25,10 @@ New Features / Enhancements in 5.0
 
    -  :term:`TARGET_DBGSRC_DIR`: specifies the target path to debug source files
 
+   -  :term:`USERADD_DEPENDS`: provides a way to declare dependencies on the users
+      and/or groups created by other recipes, resolving a long-standing build
+      ordering issue
+
 -  Architecture-specific enhancements:
 
    -  ``genericarm64``: a new :term:`MACHINE` to represent a 64-bit General Arm
@@ -155,6 +159,12 @@ New Features / Enhancements in 5.0
 
 -  Testing:
 
+   -  Move `patchtest` to the core (as ``scripts/patchtest``, test cases under
+      ``meta/lib/patchtest/tests``) and make a number of improvements to enable
+      it to validate patches submitted on the mailing list again. Additionally,
+      make it work with the original upstream version of
+      `Patchwork <http://jk.ozlabs.org/projects/patchwork/>`__.
+
    -  Add an optional ``unimplemented-ptest`` QA warning to detect upstream
       packages with tests, that do not use ptest.
 
@@ -163,6 +173,9 @@ New Features / Enhancements in 5.0
 
    -  ``oeqa``, ``oe-selftest``: add test cases for Maturin (SDK and runtime).
 
+   -  Proof-of-concept of screenshot-based runtime UI test
+      (``meta/lib/oeqa/runtime/cases/login.py``)
+
    -  Enable ptests for ``python3-attrs``, ``python3-pyyaml``, ``xz``
 
 -  Utility script changes:
@@ -191,8 +204,6 @@ New Features / Enhancements in 5.0
       extra tasks if the system load is too high, especially in distributions
       where ``/proc/pressure`` is disabled.
 
-   -  Add garbage collection to remove unused unihashes from the database.
-
    -  ``taskexp_ncurses``: add ncurses version of ``taskexp``, the dependency
       explorer originally implemented with GTK.
 
@@ -208,6 +219,17 @@ New Features / Enhancements in 5.0
    -  ``git-make-shallow`` script: add support for Git's ``safe.bareRepository=explicit``
       configuration setting.
 
+   -  Hash equivalence gained a number of scalability improvements including:
+
+      -  Support for a wide range of database backends through `SQLAlchemy`
+
+      -  Support for hash equivalence server and client to communicate over websockets
+
+      -  Support for per-user permissions in the hashserver, and on the client side
+         specifying credentials via the environment or .netrc
+
+      -  Add garbage collection to remove unused unihashes from the database.
+
 -  devtool improvements:
 
    -  Introduce a new ``ide-sdk`` plugin to generate a configuration to use
@@ -255,6 +277,12 @@ New Features / Enhancements in 5.0
       incremental update can be configured with :term:`CVE_DB_INCR_UPDATE_AGE_THRES`
       variable.
 
+-  Toaster Web UI improvements:
+
+   - Numerous bugfixes, and additional input validation
+
+   - Add `pytest` support and add/update test cases
+
 -  Prominent documentation updates:
 
    -  Documentation for using the new ``devtool ide-sdk`` command and features.
Signature · 1 line
2.25.1
#3 lore raw
In reply to Paul Eggleton

Hi Paul

Quoted 13 lines · Paul Eggleton

Add a few new features in 5.0 that I missed in the previous patchset. Apologies for being last-minute!

The following changes since commit 0cdc0afd3332459d30cfc8f4c2e62bdcc23f5ed5:

   release-notes: additional features and one known issue for 5.0 (2024-04-15 17:39:29 +0200)

are available in the Git repository at:

https://git.yoctoproject.org/poky-contrib paule/5.0-extras
https://git.yoctoproject.org/poky-contrib/log/?h=paule/5.0-extras

Quoted 7 lines

Paul Eggleton (2):
variables: add USERADD_DEPENDS
release-notes: add a few more new features

  .../migration-guides/release-notes-5.0.rst    | 32 +++++++++++++++++--
  documentation/ref-manual/variables.rst        |  6 ++++
  2 files changed, 36 insertions(+), 2 deletions(-)

That wasn't too late, many thanks for everything!
Cheers
Michael.

Signature · 3 lines
Michael Opdenacker, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com