Re: [bitbake-devel] [PATCH 1/4] bitbake-setup: update vscode workspace always

Alexander Kanavin <[email protected]>
Newsgroups org.openembedded.lists.bitbake-devel
Message-ID <CANNYZj-K5KWN9Z9CDZnQyU34bVT+8rkH0uEcfg=FXeOWfm9XHw@mail.gmail.com>
On Mon, 6 Apr 2026 at 22:24, Adrian Freihofer via
lists.openembedded.org
<[email protected]> wrote:
>      logger.plain("\nConfiguration in {} has not changed.".format(setupdir))
> +    if update:
> +        workspace_file = os.path.join(setupdir, "bitbake.code-workspace")
> +        if os.path.exists(workspace_file):
> +            bitbake_builddir = os.path.join(setupdir, "build")
> +            configure_vscode(setupdir, layerdir, bitbake_builddir, os.path.join(bitbake_builddir, "init-build-env"))

Will this do the update quietly or inform the user that vscode
workspace is being synced with local changes even though no
configuration updates have been detected?

Perhaps this should be its own command rather, something like
'update-vscode-workspace' ?

Alex
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.