We’re happy to announce the release of v2.7.0, which includes a few new features as well as bug fixes. Check out the summarized changelog below:
Add bitbake environment scan for global variables
Add skipped recipes to the tree view with skip reason
Add support for latest Yocto devtool status output
Add sanity check for the working directory
Fix a bug where buildConfigurations specific settings were not applied
Update task_deps parser for latest Yocto output
Bump dependencies
Fix NPM publishing
Auto-update SPDX references
Please check out the full release notes to see all the changes made in this release.
Global environment files scan
So far we provided a “Recipe Scan” feature that allowed you to see:
Variables values on hover
Variables definitions and local references
This feature was restricted for recipe files (.bb,.bbappend,.inc). In the default configuration, as long as you configured your bitbake environment, the “Parse on Save” setting would automatically refresh this scan whenever you saved such files.
We have extended the support for environment scans to global configuration files (.conf). You can now also have access to variables values and definitions inside these files. Similarly, if “Parse on Save” is active, this new command will automatically be run. Otherwise, you may manually trigger these scans by using the “Bitbake: Scan global env” command that will take place of the “Recipe scan” command depending on the file context.
Skipped recipes
Some bitbake recipes will only be available to be built if some DISTRO_FEATURES are enabled. bitbake-layers show-recipes will report them with a “skip” reason. So far, we excluded such recipes from our project environments. As suggested by Github user Paullgk, sometimes we might want to build those recipes so it would be useful to bring them into our various views, along with the skip reason. This will allow understanding why they are not available and fix it.
As illustrated above, these recipes are now brought into scope of the recipes explorer, and all bitbake commands. Although if you try to build them right away, of course you will get an error message explaining that the recipe is currently skipped (and why!). We already report the skip reason in the UI so you probably will already have a good idea of what’s wrong. If multiple .bb definitions exist in your workspace, we only report the one that is considered as the version to be built by Bitbake. The other recipe files are dismissed but actually reported by bitbake-layers. If the need arises, we could add those less prioritized files as well with a warning sign too.
What’s next?
Our current feature goals for the future is to improve the initial user experience when opening new workspaces. We are considering to implement the latest `setup-layers` fetcher that officially hit The Yocto Project master branch recently. We also have a few edge cases bugs under our radar.
If you have any ideas for new features or bugs to fix, we are very much looking for your suggestions! Make sure to contact us on our GitHub page!
Links and resources
Install the extension from the VS Code extension marketplace
What’s new? We’re happy to announce the release of v2.6.0, which includes which a few new features, improvements to user experience, and minor bug fixes. Check out the summarized changelog below: Handle completion on bash simple variable expansion Handle keywords import, require and inherit in Bash/Python context Add SPDX license suggestions Show license description on […]
What’s new? We’re happy to announce the release of v2.5.0, which includes a few new features as well as quality-of-life improvements and minor bug fixes. Here is the change log: Add Yocto variables renaming across a recipe file Add code suggestions for SRC_URI local files Add code suggestions for recipe names in variables (DEPENDS, RDEPENDS, […]
Nuremberg, April 9th, 2024 – In an era where cybersecurity threats are increasingly sophisticated and pervasive, Savoir-faire Linux, a leading provider in open-source technological innovation and software engineering for embedded systems across North America and Europe, is proud to announce the launch of its Cybersecurity professional services tailored specifically for product engineering and embedded systems. […]
Savoir-faire Linux is happy to introduce the v2.4.0 release of the official Yocto Project extension for VS Code. These developments were carried out as part of the investment provided by the Sovereign Tech Fund to the Yocto Project to improves the long-term sustainability of the project by attracting a new generation of developers. The changelog […]
Savoir-faire Linux is proud to introduce the v2.3.0 release of the official Yocto Project extension for VS Code. These developments were carried out as part of the investment provided by the Sovereign Tech Fund to the Yocto Project to improves the long-term sustainability of the project by attracting a new generation of developers. The changelog […]