[PATCH 0/4] bitbake-setup: extra-remotes support for contrib push mirrors

AdrianF <[email protected]>
Newsgroups org.openembedded.lists.bitbake-devel
Message-ID <[email protected]>
From: Adrian Freihofer <[email protected]>

This series contains one small fix and a new feature that may warrant
discussion before merging.

Fix (likely uncontroversial):
  bitbake-setup: update vscode workspace always

  The vscode workspace file is now updated unconditionally so that a
  manually changed build directory is always reflected. Previously it
  was skipped when the registry configuration had not changed.

New feature (may need discussion / could be postponed):
  bitbake-setup: add support for extra-remotes in layer sources
  bitbake-setup: add contrib extra-remotes to default-registry configs
  bitbake-selftest: setup: add test_extra_remotes

  Adds an 'extra-remotes' property to git-remote source definitions so
  that additional git remotes (e.g. SSH push mirrors) can be configured
  in checked-out repositories after checkout, without affecting fetch or
  change detection.

  A new --extra-remotes-filter option controls which remotes are added:
    non-optional (default), all, none, or comma-separated names.

  The default-registry entries for bitbake, openembedded-core, and
  meta-yocto are extended with optional 'contrib' extra-remotes pointing
  to the SSH push mirrors on push.openembedded.org.

  Self-tests cover all filter variants and the re-apply/update behaviour.

Adrian Freihofer (4):
  bitbake-setup: update vscode workspace always
  bitbake-setup: add support for extra-remotes in layer sources
  bitbake-setup: add contrib extra-remotes to default-registry configs
  bitbake-selftest: setup: add test_extra_remotes

 bin/bitbake-setup                             |  87 +++++++++++++-
 .../oe-nodistro-master.conf.json              |  16 ++-
 .../oe-nodistro-whinlatter.conf.json          |  16 ++-
 .../configurations/poky-master.conf.json      |  24 +++-
 .../configurations/poky-whinlatter.conf.json  |  24 +++-
 lib/bb/tests/setup.py                         | 107 ++++++++++++++++++
 setup-schema/layers.schema.json               |  22 ++++
 7 files changed, 280 insertions(+), 16 deletions(-)

-- 
2.53.0
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.