Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update main with v2.7.0 #328

Merged
merged 50 commits into from
Sep 19, 2024
Merged

Update main with v2.7.0 #328

merged 50 commits into from
Sep 19, 2024

Commits on Jul 19, 2024

  1. Configuration menu
    Copy the full SHA
    f4760b3 View commit details
    Browse the repository at this point in the history

Commits on Aug 1, 2024

  1. Chore: Update script

    The script fetch:spdx-licenses is now a mandatory step to build the extension.
    WilsonZiweiWang committed Aug 1, 2024
    Configuration menu
    Copy the full SHA
    f487f7e View commit details
    Browse the repository at this point in the history
  2. Chore: Update CI, scripts and README on wasm

    We no longer track and update the wasm files in our project, related terms on wasm should be updated.
    WilsonZiweiWang committed Aug 1, 2024
    Configuration menu
    Copy the full SHA
    0529934 View commit details
    Browse the repository at this point in the history

Commits on Aug 2, 2024

  1. chore(deps-dev): bump mocha and @types/mocha

    Bumps [mocha](https://github.com/mochajs/mocha) and [@types/mocha](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/mocha). These dependencies needed to be updated together.
    
    Updates `mocha` from 10.2.0 to 10.7.0
    - [Release notes](https://github.com/mochajs/mocha/releases)
    - [Changelog](https://github.com/mochajs/mocha/blob/main/CHANGELOG.md)
    - [Commits](mochajs/mocha@v10.2.0...v10.7.0)
    
    Updates `@types/mocha` from 10.0.3 to 10.0.7
    - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
    - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/mocha)
    
    ---
    updated-dependencies:
    - dependency-name: mocha
      dependency-type: direct:development
      update-type: version-update:semver-minor
    - dependency-name: "@types/mocha"
      dependency-type: direct:development
      update-type: version-update:semver-patch
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] authored and WilsonZiweiWang committed Aug 2, 2024
    Configuration menu
    Copy the full SHA
    bb8555e View commit details
    Browse the repository at this point in the history
  2. chore(deps-dev): bump @types/vscode from 1.90.0 to 1.92.0 in /server

    Bumps [@types/vscode](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/vscode) from 1.90.0 to 1.92.0.
    - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
    - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/vscode)
    
    ---
    updated-dependencies:
    - dependency-name: "@types/vscode"
      dependency-type: direct:development
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] authored and WilsonZiweiWang committed Aug 2, 2024
    Configuration menu
    Copy the full SHA
    501ea83 View commit details
    Browse the repository at this point in the history
  3. chore(deps-dev): bump @types/vscode from 1.90.0 to 1.92.0 in /client

    Bumps [@types/vscode](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/vscode) from 1.90.0 to 1.92.0.
    - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
    - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/vscode)
    
    ---
    updated-dependencies:
    - dependency-name: "@types/vscode"
      dependency-type: direct:development
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] authored and WilsonZiweiWang committed Aug 2, 2024
    Configuration menu
    Copy the full SHA
    3851406 View commit details
    Browse the repository at this point in the history
  4. chore(deps): bump vscode-languageserver-textdocument in /server

    Bumps [vscode-languageserver-textdocument](https://github.com/Microsoft/vscode-languageserver-node/tree/HEAD/textDocument) from 1.0.11 to 1.0.12.
    - [Release notes](https://github.com/Microsoft/vscode-languageserver-node/releases)
    - [Commits](https://github.com/Microsoft/vscode-languageserver-node/commits/release/textDocument/1.0.12/textDocument)
    
    ---
    updated-dependencies:
    - dependency-name: vscode-languageserver-textdocument
      dependency-type: direct:production
      update-type: version-update:semver-patch
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] authored and WilsonZiweiWang committed Aug 2, 2024
    Configuration menu
    Copy the full SHA
    d081079 View commit details
    Browse the repository at this point in the history
  5. chore(deps-dev): bump eslint-plugin-import from 2.28.1 to 2.29.1

    Bumps [eslint-plugin-import](https://github.com/import-js/eslint-plugin-import) from 2.28.1 to 2.29.1.
    - [Release notes](https://github.com/import-js/eslint-plugin-import/releases)
    - [Changelog](https://github.com/import-js/eslint-plugin-import/blob/main/CHANGELOG.md)
    - [Commits](import-js/eslint-plugin-import@v2.28.1...v2.29.1)
    
    ---
    updated-dependencies:
    - dependency-name: eslint-plugin-import
      dependency-type: direct:development
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] authored and WilsonZiweiWang committed Aug 2, 2024
    Configuration menu
    Copy the full SHA
    3979475 View commit details
    Browse the repository at this point in the history

Commits on Aug 6, 2024

  1. Configuration menu
    Copy the full SHA
    1992f6b View commit details
    Browse the repository at this point in the history
  2. Chore: Optimize script

    Use git ls-remote command to fetch refs or tags instead of cloning the projects first. This script now only takes a few seconds to complete.
    WilsonZiweiWang committed Aug 6, 2024
    Configuration menu
    Copy the full SHA
    5efe6ee View commit details
    Browse the repository at this point in the history

Commits on Aug 19, 2024

  1. Fix: Adapt devtool status parsing for new Yocto releases

    The current master branch also outputs the .bb location in the devtool
    status output. It broke our parsing which could not detect the
    workspaces.
    
    The regex was updated to optionally match the .bb location. But we don't
    capture it since we always run a complete scan in the end. This could
    be way for future optimizations.
    deribaucourt committed Aug 19, 2024
    Configuration menu
    Copy the full SHA
    e0e5c18 View commit details
    Browse the repository at this point in the history
  2. UI: Add a sanity check for the working directory

    If the user configures a faulty working directory, the error message
    was not very clear. This very simple check will show a more clear
    message early on.
    deribaucourt committed Aug 19, 2024
    Configuration menu
    Copy the full SHA
    ccc7d32 View commit details
    Browse the repository at this point in the history
  3. Test: provide a valid working directory for the eSDK driver Tests

    Sanity tests now require a valid working directory to be provided.
    deribaucourt committed Aug 19, 2024
    Configuration menu
    Copy the full SHA
    9f67748 View commit details
    Browse the repository at this point in the history

Commits on Aug 23, 2024

  1. Fix: Fetch WASM and SPDX licenses in NPM package in CI

    With the fetch script refactoring, we had a regression in the node
    package of the CI wich missed these resources.
    deribaucourt committed Aug 23, 2024
    Configuration menu
    Copy the full SHA
    14e271f View commit details
    Browse the repository at this point in the history

Commits on Aug 26, 2024

  1. Feat: Add a command to trigger global environment scan

    This command is responsible for executing bitbake command `bitbake -e` and sending the output to the server for
    further processing in order to provide necessary language features such as hover definition for conf files.
    This commit only handles the command execution and the rest will be done in the following commits.
    WilsonZiweiWang committed Aug 26, 2024
    Configuration menu
    Copy the full SHA
    97fe258 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    06d9a47 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    c8a33d8 View commit details
    Browse the repository at this point in the history
  4. Rename

    WilsonZiweiWang committed Aug 26, 2024
    Configuration menu
    Copy the full SHA
    50cc975 View commit details
    Browse the repository at this point in the history
  5. Feat: Use global env scan results as fallback when recipe scan is res…

    …ult is not avaiable
    
    This also allows the features such as hover, go to definition to work on conf and bbclass files.
    WilsonZiweiWang committed Aug 26, 2024
    Configuration menu
    Copy the full SHA
    1010f60 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    bff028f View commit details
    Browse the repository at this point in the history
  7. Chore: Access the function name through 'name' property instead of ha…

    …rd-coding it
    
    The intention is to display the function name in the log messages for quick tracking. When the function name is changed,
    the text in the log message needs to change accordingly. Thus, it is better to access it with code instead of hard-coding it
    so we don't forget.
    WilsonZiweiWang committed Aug 26, 2024
    Configuration menu
    Copy the full SHA
    740abdf View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    fddb8ff View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    ccb50a5 View commit details
    Browse the repository at this point in the history
  10. Chore: Only show recipe scan results on recipe files if available, ot…

    …herwise, show global scan results
    WilsonZiweiWang committed Aug 26, 2024
    Configuration menu
    Copy the full SHA
    0e495c2 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    1ebf4a6 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    79a87dd View commit details
    Browse the repository at this point in the history

Commits on Aug 27, 2024

  1. Chore: Update CI

    WilsonZiweiWang committed Aug 27, 2024
    Configuration menu
    Copy the full SHA
    5d149d5 View commit details
    Browse the repository at this point in the history

Commits on Sep 10, 2024

  1. Chore: Remove unused eslint plugins

    Plugin eslint-plugin-import, eslint-plugin-n and eslint-plugin-promise were added at the very beginning of the eslint setup.
    But they were never used. eslint-plugin-jest was added along with the jest framework and it was never used either.
    WilsonZiweiWang committed Sep 10, 2024
    Configuration menu
    Copy the full SHA
    19a0cc1 View commit details
    Browse the repository at this point in the history
  2. Update: use eslint flat config

    .eslintrc.js and .eslintignore are deprecated and the new flat config system is preferred. The CLI also doesn't
    support --ext flag with the flat config system.
    
    How the new config is generated:
    https://eslint.org/docs/latest/use/configure/migration-guide#migrate-your-config-file
    Reference for cli flag changes:
    https://eslint.org/docs/latest/use/configure/migration-guide#cli-flag-changes
    WilsonZiweiWang committed Sep 10, 2024
    Configuration menu
    Copy the full SHA
    1c545dc View commit details
    Browse the repository at this point in the history

Commits on Sep 12, 2024

  1. chore(deps-dev): bump eslint-plugin-n from 16.2.0 to 16.6.2

    Bumps [eslint-plugin-n](https://github.com/eslint-community/eslint-plugin-n) from 16.2.0 to 16.6.2.
    - [Release notes](https://github.com/eslint-community/eslint-plugin-n/releases)
    - [Changelog](https://github.com/eslint-community/eslint-plugin-n/blob/master/CHANGELOG.md)
    - [Commits](eslint-community/eslint-plugin-n@16.2.0...16.6.2)
    
    ---
    updated-dependencies:
    - dependency-name: eslint-plugin-n
      dependency-type: indirect
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] authored and deribaucourt committed Sep 12, 2024
    Configuration menu
    Copy the full SHA
    0f9262e View commit details
    Browse the repository at this point in the history
  2. chore(deps-dev): bump eslint-plugin-promise from 6.1.1 to 6.6.0

    Bumps [eslint-plugin-promise](https://github.com/eslint-community/eslint-plugin-promise) from 6.1.1 to 6.6.0.
    - [Release notes](https://github.com/eslint-community/eslint-plugin-promise/releases)
    - [Changelog](https://github.com/eslint-community/eslint-plugin-promise/blob/main/CHANGELOG.md)
    - [Commits](eslint-community/eslint-plugin-promise@v6.1.1...v6.6.0)
    
    ---
    updated-dependencies:
    - dependency-name: eslint-plugin-promise
      dependency-type: direct:development
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] authored and deribaucourt committed Sep 12, 2024
    Configuration menu
    Copy the full SHA
    7744066 View commit details
    Browse the repository at this point in the history
  3. chore(deps): bump web-tree-sitter from 0.22.6 to 0.23.0 in /server

    Bumps [web-tree-sitter](https://github.com/tree-sitter/tree-sitter) from 0.22.6 to 0.23.0.
    - [Release notes](https://github.com/tree-sitter/tree-sitter/releases)
    - [Changelog](https://github.com/tree-sitter/tree-sitter/blob/master/CHANGELOG.md)
    - [Commits](tree-sitter/tree-sitter@v0.22.6...v0.23.0)
    
    ---
    updated-dependencies:
    - dependency-name: web-tree-sitter
      dependency-type: direct:production
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] authored and deribaucourt committed Sep 12, 2024
    Configuration menu
    Copy the full SHA
    9474a58 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    5218e18 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    bfa190a View commit details
    Browse the repository at this point in the history

Commits on Sep 17, 2024

  1. Fix: fix eslint configuration

    In CI, eslint is fine.
    
    However, if I run it locally, it tries to cover the project folder and
    the server folder symlink in client (already handled in ./server).
    
    I checked that errors in client, integration-tests and server are still
    properly detected.
    deribaucourt committed Sep 17, 2024
    Configuration menu
    Copy the full SHA
    ec75373 View commit details
    Browse the repository at this point in the history
  2. Chore: Remove old server build location

    The server is not compiled in client/server anymore.
    deribaucourt committed Sep 17, 2024
    Configuration menu
    Copy the full SHA
    7d61b45 View commit details
    Browse the repository at this point in the history
  3. Fix: Add a smaller timeout for container inode scan

    This is not a regular bitbake command, which have a default timeout
    that's 300s. This command should be faster, so 20s is enough.
    deribaucourt committed Sep 17, 2024
    Configuration menu
    Copy the full SHA
    800d7e4 View commit details
    Browse the repository at this point in the history
  4. Fix: Pass buildConfigurations environment to terminal profile

    In the specific case of the BitbakeTerminalProfile, the environment
    used was the one defined in the global settings. It did not take
    into account the ones defined in the build configurations if defined.
    deribaucourt committed Sep 17, 2024
    Configuration menu
    Copy the full SHA
    748678f View commit details
    Browse the repository at this point in the history
  5. Fix: Use getBuildConfig instead of direct access to bitbakeSettings

    A lot of places in the code were using the global config when they
    should be using the buildConfiguration specific one, if available.
    
    ESDK mode not affected because it takes a flat config.
    pathToBitbakeFolder not affected because it is in the general section.
    deribaucourt committed Sep 17, 2024
    Configuration menu
    Copy the full SHA
    69db471 View commit details
    Browse the repository at this point in the history

Commits on Sep 18, 2024

  1. Fix: task_deps parsing on newer Yocto versions

    Two months ago, a commit was introduced that adds tasks with special
    characters which broke our JSON parsing.
    
    Since this variable is not extended, we might miss some tasks, but at
    least we keep providing the feature. I could not identify a replacement
    variable that would contained the expanded list of tasks.
    
    We would need to run a `bitbake list-tasks` but it would be slower.
    deribaucourt committed Sep 18, 2024
    Configuration menu
    Copy the full SHA
    2c31952 View commit details
    Browse the repository at this point in the history
  2. Data: Add recipe skipped field to BitbakeScanResult

    This will allow us to track which recipes were marked as skipped by
    bitbake.
    
    Skipped recipes are recipes that are not buildable in the current
    configuration, but available in the workspace.
    deribaucourt committed Sep 18, 2024
    Configuration menu
    Copy the full SHA
    3563a58 View commit details
    Browse the repository at this point in the history
  3. Refactor: Move scanResultVersion definition to BitbakeScanResult.ts

    We use this variable to determine if the scan result data saved in the
    workspace state is up to date. Since this should be modified whenever
    the structure of the scan data changes, it makes sense to keep it in the
    same file as the scan data structure.
    
    Also added a reminder comment to increment the version number when the
    structure changes.
    deribaucourt committed Sep 18, 2024
    Configuration menu
    Copy the full SHA
    e6984ff View commit details
    Browse the repository at this point in the history
  4. Feat: Keep and track skipped recipes in the BitBakeProjectScanner

    We are going to display these recipes with a description in the
    BitbakeRecipesView. It will allow users to see skipped recipes they
    would be interested in, and understand why they are skipped.
    deribaucourt committed Sep 18, 2024
    Configuration menu
    Copy the full SHA
    d93a76d View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    d302d71 View commit details
    Browse the repository at this point in the history
  6. Feat: Do not report skipped recipe files in BitBakeProjectScanner

    Now that we keep and track skipped recipe items, we want to know
    their source. Adapt the regex to capture the filename and truncate
    the skipped reason. It is already captured in the ElementInfo.skipped
    from the recipe scan.
    deribaucourt committed Sep 18, 2024
    Configuration menu
    Copy the full SHA
    38d515d View commit details
    Browse the repository at this point in the history
  7. UI: Show skipped recipes reason in the recipes view

    This will allow users to know why recipes are not buildable when
    they were skipped.
    
    A warning icon and description will clearly present this.
    
    Not much performance impact for recipes array traversal since this
    is only done on the hand-selected active recipes.
    deribaucourt committed Sep 18, 2024
    Configuration menu
    Copy the full SHA
    a9e235b View commit details
    Browse the repository at this point in the history
  8. Optim: Prepare a recipe map for quick lookup

    Even though their shouldn't be many active recipes, we want to avoid
    looping multiple times through the list of recipes.
    deribaucourt committed Sep 18, 2024
    Configuration menu
    Copy the full SHA
    190d976 View commit details
    Browse the repository at this point in the history
  9. Test: Skipped recipes are shown in the recipes view

    The SCAN_COMPLETE event needed to be reordered so that the data is
    passed before computing the view.
    deribaucourt committed Sep 18, 2024
    Configuration menu
    Copy the full SHA
    4c11212 View commit details
    Browse the repository at this point in the history

Commits on Sep 19, 2024

  1. Configuration menu
    Copy the full SHA
    a479db5 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b7016e4 View commit details
    Browse the repository at this point in the history