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 following v2.8.0 release #381

Closed
wants to merge 168 commits into from
Closed
Changes from 1 commit
Commits
Show all changes
168 commits
Select commit Hold shift + click to select a range
f4760b3
Fix: restore NPM publishing URL
deribaucourt Jul 19, 2024
f487f7e
Chore: Update script
WilsonZiweiWang Jul 30, 2024
0529934
Chore: Update CI, scripts and README on wasm
WilsonZiweiWang Jul 30, 2024
bb8555e
chore(deps-dev): bump mocha and @types/mocha
dependabot[bot] Aug 1, 2024
501ea83
chore(deps-dev): bump @types/vscode from 1.90.0 to 1.92.0 in /server
dependabot[bot] Aug 1, 2024
3851406
chore(deps-dev): bump @types/vscode from 1.90.0 to 1.92.0 in /client
dependabot[bot] Aug 1, 2024
d081079
chore(deps): bump vscode-languageserver-textdocument in /server
dependabot[bot] Aug 1, 2024
3979475
chore(deps-dev): bump eslint-plugin-import from 2.28.1 to 2.29.1
dependabot[bot] Aug 1, 2024
1992f6b
Chore: Update tree-sitter-bitbake
idillon-sfl Aug 2, 2024
5efe6ee
Chore: Optimize script
WilsonZiweiWang Aug 1, 2024
e0e5c18
Fix: Adapt devtool status parsing for new Yocto releases
deribaucourt Aug 7, 2024
ccc7d32
UI: Add a sanity check for the working directory
deribaucourt Aug 12, 2024
9f67748
Test: provide a valid working directory for the eSDK driver Tests
deribaucourt Aug 12, 2024
14e271f
Fix: Fetch WASM and SPDX licenses in NPM package in CI
deribaucourt Aug 21, 2024
97fe258
Feat: Add a command to trigger global environment scan
WilsonZiweiWang Jul 16, 2024
06d9a47
Feat: Forward global env scan results to the server for processing
WilsonZiweiWang Jul 16, 2024
c8a33d8
Feat: Process global env scan results and store the outcome for later…
WilsonZiweiWang Jul 16, 2024
50cc975
Rename
WilsonZiweiWang Jul 16, 2024
1010f60
Feat: Use global env scan results as fallback when recipe scan is res…
WilsonZiweiWang Jul 16, 2024
bff028f
Chore: Trigger global env scan on saving .conf and .bbclass files
WilsonZiweiWang Jul 16, 2024
740abdf
Chore: Access the function name through 'name' property instead of ha…
WilsonZiweiWang Jul 18, 2024
fddb8ff
Chore: Show 'parsing' in status bar while running global env scan
WilsonZiweiWang Jul 18, 2024
ccb50a5
Chore: Show bitbake command option based on file extension
WilsonZiweiWang Aug 8, 2024
0e495c2
Chore: Only show recipe scan results on recipe files if available, ot…
WilsonZiweiWang Aug 8, 2024
1ebf4a6
Chore: Add parse-only option for global env scan task
WilsonZiweiWang Aug 20, 2024
79a87dd
Chore: Move global scan option to the top
WilsonZiweiWang Aug 22, 2024
5d149d5
Chore: Update CI
WilsonZiweiWang Aug 1, 2024
19a0cc1
Chore: Remove unused eslint plugins
WilsonZiweiWang Aug 27, 2024
1c545dc
Update: use eslint flat config
WilsonZiweiWang Aug 27, 2024
0f9262e
chore(deps-dev): bump eslint-plugin-n from 16.2.0 to 16.6.2
dependabot[bot] Sep 10, 2024
7744066
chore(deps-dev): bump eslint-plugin-promise from 6.1.1 to 6.6.0
dependabot[bot] Sep 10, 2024
9474a58
chore(deps): bump web-tree-sitter from 0.22.6 to 0.23.0 in /server
dependabot[bot] Sep 1, 2024
5218e18
Auto update references for commits, tags, etc
WilsonZiweiWang Sep 1, 2024
bfa190a
Auto update tree-sitter-bash parser info
WilsonZiweiWang Sep 10, 2024
ec75373
Fix: fix eslint configuration
deribaucourt Sep 12, 2024
7d61b45
Chore: Remove old server build location
deribaucourt Sep 16, 2024
800d7e4
Fix: Add a smaller timeout for container inode scan
deribaucourt Sep 13, 2024
748678f
Fix: Pass buildConfigurations environment to terminal profile
deribaucourt Sep 13, 2024
69db471
Fix: Use getBuildConfig instead of direct access to bitbakeSettings
deribaucourt Sep 13, 2024
2c31952
Fix: task_deps parsing on newer Yocto versions
deribaucourt Sep 16, 2024
3563a58
Data: Add recipe skipped field to BitbakeScanResult
deribaucourt Sep 13, 2024
e6984ff
Refactor: Move scanResultVersion definition to BitbakeScanResult.ts
deribaucourt Sep 13, 2024
d93a76d
Feat: Keep and track skipped recipes in the BitBakeProjectScanner
deribaucourt Sep 13, 2024
d302d71
Test: Ensure skipped recipes are detected and marked
deribaucourt Sep 13, 2024
38d515d
Feat: Do not report skipped recipe files in BitBakeProjectScanner
deribaucourt Sep 13, 2024
a9e235b
UI: Show skipped recipes reason in the recipes view
deribaucourt Sep 13, 2024
190d976
Optim: Prepare a recipe map for quick lookup
deribaucourt Sep 13, 2024
4c11212
Test: Skipped recipes are shown in the recipes view
deribaucourt Sep 13, 2024
a479db5
Release: update package version to 2.7.0
deribaucourt Sep 12, 2024
b7016e4
Release: add v2.7.0 changelog
deribaucourt Sep 12, 2024
22642f7
chore(deps-dev): bump eslint-config-standard-with-typescript
dependabot[bot] Jul 1, 2024
c493eb8
chore(deps-dev): bump @types/vscode from 1.83.1 to 1.92.0
dependabot[bot] Aug 2, 2024
bb5141f
chore(deps-dev): bump typescript from 5.2.2 to 5.5.4
dependabot[bot] Aug 2, 2024
8640209
Chore: Reindent package.json
idillon-sfl Sep 16, 2024
9229eac
Chore: Uninstall eslint 8
idillon-sfl Sep 16, 2024
7edf7da
Chore: Install eslint 9.0
idillon-sfl Sep 17, 2024
9983ce0
Chore: Install and setup @tony.ganchev/eslint-plugin-header
idillon-sfl Sep 17, 2024
395c336
Fix: all 'Unused eslint-disable directive'
idillon-sfl Sep 17, 2024
32b3b53
Fix: eslint issues on server/src/tree-sitter/analyzer.ts
idillon-sfl Sep 17, 2024
2428f64
Fix: eslint issues on server/src/connectionHandlers/onHover.ts
idillon-sfl Sep 17, 2024
6e0225a
Fix: eslint issues on server/src/completions/snippet-utils.ts
idillon-sfl Sep 17, 2024
8bf4812
Fix: eslint issues on server/src/__tests__/onReference.test.ts
idillon-sfl Sep 17, 2024
6af4360
Fix: eslint issues on server/src/__tests__/completions.test.ts
idillon-sfl Sep 17, 2024
0233148
Fix: eslint issues on server/src/BitBakeDocScanner.ts
idillon-sfl Sep 17, 2024
8fb8953
Fix: eslint issues on integration-tests/src/tests/rename.test.ts
idillon-sfl Sep 17, 2024
4e4987b
Fix: eslint issues on integration-tests/src/tests/references.test.ts
idillon-sfl Sep 17, 2024
c6704b5
Fix eslint issues on integration-tests/src/tests/bitbake-parse.test.ts
idillon-sfl Sep 17, 2024
8a4f7ec
Fix: eslint errors on client/src/utils/ProcessUtils.ts
idillon-sfl Sep 17, 2024
f675705
Fix: eslint issues on client/src/ui/BitbakeTerminalProfile.ts
idillon-sfl Sep 17, 2024
cee6994
Fix: eslint issues on client/src/ui/BitbakeTerminalLinkProvider.ts
idillon-sfl Sep 17, 2024
a3c8517
Fix: eslint issues on client/src/ui/BitbakeTaskProvider.ts
idillon-sfl Sep 17, 2024
a0e43e8
Fix: eslint issues on client/src/ui/BitbakeRecipesView.ts
idillon-sfl Sep 17, 2024
a8860b5
Fix: eslint issues on server/src/server.ts
idillon-sfl Sep 17, 2024
bed32d2
Fix: eslint issues on server/src/completions/spdx-licenses.ts
idillon-sfl Sep 17, 2024
5ad7eb5
Refactor: Replace PathInfo for path.ParsedPath
idillon-sfl Sep 17, 2024
c1a16ef
Fix: eslint issues on client/src/language/middlewareRename.ts
idillon-sfl Sep 17, 2024
3eb91c0
Fix: eslint issues on client/src/language/middlewareDefinition.ts
idillon-sfl Sep 17, 2024
170c9af
Fix: eslint issues on client/src/language/diagnosticsSupport.ts
idillon-sfl Sep 17, 2024
9b721ee
Fix: eslint issues on client/src/language/codeActionProvider.ts
idillon-sfl Sep 17, 2024
c956642
Fix: eslint issues on client/src/language/EmbeddedLanguageDocsManager.ts
idillon-sfl Sep 17, 2024
a6f65ea
Fix: eslint issues on client/src/extension.ts
idillon-sfl Sep 17, 2024
575622a
Fix: eslint issues on client/src/driver/BitBakeProjectScanner.ts
idillon-sfl Sep 17, 2024
2caf6d1
Fix: eslint issues on server/src/__tests__/fixtures/fixtures.ts
idillon-sfl Sep 17, 2024
59e9eb2
Fix: eslint issues on client/src/ui/BitbakeCommands.ts
idillon-sfl Sep 17, 2024
4f5011a
Fix: eslint issues on client/src/lib/src/types/requests.ts
idillon-sfl Sep 17, 2024
271c953
Fix: eslint issues on client/src/lib/src/BitbakeSettings.ts
idillon-sfl Sep 17, 2024
5301f9e
Fix: eslint issues on client/src/driver/BitbakeEnvScanner.ts
idillon-sfl Sep 17, 2024
cd6234d
Fix: eslint issues on client/src/driver/BitbakeDriver.ts
idillon-sfl Sep 17, 2024
386f703
Fix: eslint issues on client/src/lib/src/__tests__/utils/output-logge…
idillon-sfl Sep 17, 2024
224d964
Fix: eslint issues on client/src/__tests__/unit-tests/driver/BitbakeE…
idillon-sfl Sep 17, 2024
3559788
Fix: eslint issues on client/src/__tests__/unit-tests/driver/eSDKMode…
idillon-sfl Sep 17, 2024
e098b2f
Fix: eslint issues on client/src/__tests__/unit-tests/ui/bitbake-comm…
idillon-sfl Sep 17, 2024
8ed5e6c
Fix: eslint issues on client/src/__tests__/unit-tests/ui/bitbake-reci…
idillon-sfl Sep 17, 2024
8daf211
Fix: eslint issues on client/src/__tests__/unit-tests/ui/bitbake-term…
idillon-sfl Sep 17, 2024
64b091a
Fix: eslint issues on client/src/__tests__/unit-tests/ui/devtool-work…
idillon-sfl Sep 17, 2024
5422609
Fix: eslint issues on client/src/utils/JSONFile.ts
idillon-sfl Sep 17, 2024
aff2a3b
Fix: types in client/src/driver/BitbakeDriver.ts
idillon-sfl Sep 17, 2024
e950845
Chore: Install @types/find
idillon-sfl Sep 17, 2024
a73be34
Fix: Type checking of hostWorkdir in resolveCorrespondingPath
idillon-sfl Sep 17, 2024
2926823
Chore: Update vscode engine (1.92.0)
idillon-sfl Sep 17, 2024
8b18887
Lint: Fix eslint-plugin-header dependency
deribaucourt Sep 18, 2024
2c29e54
Doc: List required packages for linting through VSCode
deribaucourt Sep 18, 2024
62c923c
Chore: Bump all dependencies
deribaucourt Sep 18, 2024
00d01d6
Pack: Fix vsce errors
deribaucourt Sep 18, 2024
950e04e
Pack: Remove eslint.config.mjs configuration
deribaucourt Sep 18, 2024
c1aeb4d
Chore: Also clean tsconfig.tsbuildinfo
deribaucourt Sep 18, 2024
4de43cf
Chore: Revert vsce version to 2.3.5
deribaucourt Sep 19, 2024
9981ddf
Dev: Use local eslint in vscode
deribaucourt Sep 20, 2024
c942ace
Doc: Comment packages to be bumped later
deribaucourt Sep 20, 2024
3b5b660
chore(deps): bump web-tree-sitter from 0.23.0 to 0.23.2 in /server
dependabot[bot] Oct 1, 2024
6dbaeff
chore(deps-dev): bump globals from 15.9.0 to 15.10.0
dependabot[bot] Oct 1, 2024
472391c
chore(deps-dev): bump @types/node from 22.6.1 to 22.7.4
dependabot[bot] Oct 1, 2024
ed57339
chore(deps-dev): bump typescript-eslint from 8.7.0 to 8.8.0
dependabot[bot] Oct 1, 2024
c8add16
chore(deps-dev): bump braces from 3.0.2 to 3.0.3
dependabot[bot] Oct 23, 2024
dcccdbf
chore(deps-dev): bump ovsx from 0.9.4 to 0.9.5
dependabot[bot] Oct 1, 2024
a9b809e
chore(deps): bump web-tree-sitter from 0.23.2 to 0.24.3 in /server
dependabot[bot] Nov 1, 2024
288ea15
chore(deps-dev): bump @types/vscode from 1.93.0 to 1.95.0 in /server
dependabot[bot] Nov 1, 2024
f0577a4
chore(deps-dev): bump @types/jest from 29.5.13 to 29.5.14
dependabot[bot] Nov 1, 2024
256dac4
chore(deps-dev): bump typescript-eslint from 8.8.0 to 8.12.2
dependabot[bot] Nov 1, 2024
f9795f5
chore(deps-dev): bump eslint from 9.11.1 to 9.14.0
dependabot[bot] Nov 6, 2024
ffd40e2
chore(deps-dev): bump @types/node from 22.7.4 to 22.9.0
dependabot[bot] Nov 6, 2024
8af0320
chore(deps-dev): bump @types/vscode from 1.93.0 to 1.95.0 in /client
dependabot[bot] Nov 1, 2024
a9a6698
Doc: Add ssh-agent option to kas
deribaucourt Nov 12, 2024
b65b6c7
Refactor: Use stric shell env for commands
deribaucourt Nov 12, 2024
b24a574
Fix: 'python' highlighting when not used as a keyword
idillon-sfl Nov 15, 2024
347778d
Chore: Add tests for 'python' token type when not used as a keyword
idillon-sfl Nov 16, 2024
7209eed
chore(deps-dev): bump typescript-eslint from 8.12.2 to 8.19.0
dependabot[bot] Jan 1, 2025
ddf679d
chore(deps): bump web-tree-sitter from 0.24.3 to 0.24.6 in /server
dependabot[bot] Jan 1, 2025
620a917
chore(deps-dev): bump @types/vscode from 1.95.0 to 1.96.0 in /server
dependabot[bot] Jan 1, 2025
3eac288
chore(deps-dev): bump @types/vscode from 1.95.0 to 1.96.0 in /client
dependabot[bot] Jan 1, 2025
3388f8e
Auto update references for commits, tags, etc
WilsonZiweiWang Jan 1, 2025
bb2aed1
Auto update tree-sitter-bash parser info
WilsonZiweiWang Dec 31, 2024
0bd851f
chore(deps-dev): bump globals from 15.10.0 to 15.14.0
dependabot[bot] Jan 1, 2025
989ca6e
chore(deps-dev): bump @vscode/vsce from 2.32.0 to 3.2.1
dependabot[bot] Nov 6, 2024
8857d4b
Update: Add VSCE argument --follow-symlinks
deribaucourt Jan 2, 2025
f544261
Test: Fix integration test sources detection
deribaucourt Jan 3, 2025
66b1d48
chore(deps-dev): bump eslint from 9.14.0 to 9.17.0
dependabot[bot] Jan 8, 2025
c41581f
UI: re-align file icon
deribaucourt Jan 6, 2025
14a6530
GitHub: Add issue templates
deribaucourt Jan 7, 2025
cb7dddb
Debug: Rate limit bitbake progress bars
deribaucourt Jan 3, 2025
fcdfbdf
Install: add semver to client and update package-lock
deribaucourt Jan 2, 2025
7352f27
Test: Move integrationBitbakeFolder to utils/bitbake.ts
deribaucourt Jan 3, 2025
b5e41eb
Scan: Add bitbake version to scan result
deribaucourt Jan 3, 2025
b5b26cb
Scan: Read bitbake version from bitbake script
deribaucourt Jan 3, 2025
a2c780e
Refactor: Use bitbake version to detect devtool ide-sdk
deribaucourt Jan 3, 2025
fa7a7d1
Test: Mock bitbake version
deribaucourt Jan 3, 2025
2d8eaf8
Settings: Add disableDevtoolDebugBuild setting
deribaucourt Jan 3, 2025
14f587b
Feat: Add devtool debug-build option to devtool modify command
deribaucourt Jan 3, 2025
4674c70
Test: Add test for devtool debug build option
deribaucourt Jan 3, 2025
c04d6f0
Fix: Revert devtool --help ide-sdk discovery for eSDKMode
deribaucourt Jan 3, 2025
1fa3f2e
Test: BitBakeProjectScanner retrieves a valid bitbake version
deribaucourt Jan 9, 2025
93e47a6
Refactor: Avoid busy waiting in BitbakeRecipesView
deribaucourt Jan 3, 2025
fa5a73b
Refactor: Rename scanResult to activeScanResult
deribaucourt Jan 3, 2025
2d9be3a
Refactor: Use event emitter to notify the client about the scan result
deribaucourt Jan 3, 2025
30a52b0
Typo: Rename ScannStatus to ScanStatus
deribaucourt Jan 3, 2025
2d5e0fc
Feature: Store scan status per buildConfiguration
deribaucourt Jan 3, 2025
2621092
Feature: Cache new scan results per active build configuration
deribaucourt Jan 3, 2025
5cebd3e
Feature: Auto-rescan when changing to unknown buildConfiguration
deribaucourt Jan 3, 2025
0679348
Feature: Update views on configuration change
deribaucourt Jan 3, 2025
941aefe
Feat: Display active configuration in the recipes view title
deribaucourt Jan 6, 2025
b80f2ce
Feat: Automatically rescan project when extension is activated
deribaucourt Jan 6, 2025
5c754e0
Feat: Propagate config change when buildConfigurations setting is rem…
deribaucourt Jan 6, 2025
f870dd4
UI: Make recipe view load when a scan is ongoing
deribaucourt Jan 6, 2025
664947b
UI: Add pick-configuration command to the main menu
deribaucourt Jan 6, 2025
5f630b7
Debug: Add buildConfiguration change logs
deribaucourt Jan 6, 2025
969a2d0
Test: Ignore project-folder from eslint
deribaucourt Jan 6, 2025
061f823
Release: Add changelog for 2.8.0
deribaucourt Jan 6, 2025
9f12bc6
Release: Bump version to 2.8.0
deribaucourt Jan 6, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Test: Mock bitbake version
The devtool ide-sdk tests need to get access to a bitbake version
that was throwing an exception if not defined.
  • Loading branch information
deribaucourt committed Jan 10, 2025
commit fa7a7d1ad340cc2ab90f6929536a572e64a586fb
3 changes: 3 additions & 0 deletions client/src/__tests__/unit-tests/ui/bitbake-commands.test.ts
Original file line number Diff line number Diff line change
@@ -14,6 +14,7 @@ import * as BitbakeTerminal from '../../../ui/BitbakeTerminal'
import * as ProcessUtils from '../../../utils/ProcessUtils'
import { LanguageClient } from 'vscode-languageclient/node'
import { IPty } from 'node-pty'
import { BitbakeScanResult } from '../../../lib/src/types/BitbakeScanResult'

jest.mock('vscode')

@@ -58,6 +59,7 @@ describe('Devtool ide-sdk command', () => {
pathToBitbakeFolder: '',
sdkImage: 'core-image-minimal'
}
jest.spyOn(bitBakeProjectScanner, 'scanResult', 'get').mockReturnValue({'_bitbakeVersion': '1.0.0'} as BitbakeScanResult)
const ideSDKCommand = mockExtensionContext(bitBakeProjectScanner)

jest.spyOn(BitbakeTerminal, 'runBitbakeTerminalCustomCommand').mockReturnValue(undefined as unknown as Promise<IPty>)
@@ -75,6 +77,7 @@ describe('Devtool ide-sdk command', () => {
sdkImage: 'core-image-minimal',
sshTarget: 'root@192.168.0.3'
}
jest.spyOn(bitBakeProjectScanner, 'scanResult', 'get').mockReturnValue({'_bitbakeVersion': '3.0.0'} as BitbakeScanResult)
const ideSDKCommand = mockExtensionContext(bitBakeProjectScanner)

const commandSpy = jest.spyOn(BitbakeTerminal, 'runBitbakeTerminalCustomCommand').mockReturnValue(undefined as unknown as Promise<IPty>)