Skip to content

Release the recent changes#1104

Draft
dividedmind wants to merge 15 commits intomasterfrom
develop
Draft

Release the recent changes#1104
dividedmind wants to merge 15 commits intomasterfrom
develop

Conversation

@dividedmind
Copy link
Contributor

No description provided.

Introduces 'build/bundleConfig.ps1' to allow pre-configuring
the extension VSIX package with custom settings and bundled
binaries. This includes new documentation in
'build/bundleConfig.md' and a reference in 'DEVELOPMENT.md'.
Adds a new boolean configuration setting 'appMap.autoUpdateTools'
(default: true) to allow users to disable automatic downloads and updates
of AppMap CLI, Scanner, and Java agent tools.
This provides more control over tool management.
Modifies 'build/updateResources.js' to store and reference
the AppMap Java agent JAR with its version embedded in the
filename (e.g., 'appmap-1.28.0.jar'). This improves clarity
and consistency in asset management.
Updates 'resources/versions.json' accordingly.
Re-architects the extension's asset management system
for AppMap CLI, Scanner, and Java agent tools. Key changes include:
- Introduction of a platform-appropriate cache directory
  for downloaded binaries.
- Implementation of symlinks in '~/.appmap/bin' and
  '~/.appmap/lib/java' pointing to cached or bundled assets.
- New 'AssetService.ensureAssets()' for robust tool presence
  and update management, respecting the 'appMap.autoUpdateTools' setting.
- Unified asset listing ('listAssets') and version
  extraction ('versionFromPath') logic.
- Support for pre-bundled binaries within the VSIX
  'resources' directory.
- Removal of the '.download-complete' marker in favor of more robust checks.

Includes updated documentation ('doc/assets.md'), comprehensive test updates,
and adjustments to various commands and services to use the refactored asset handling.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant