You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit e5bd9d6
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: CHANGELOG.md
+7Lines changed: 7 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,3 +7,10 @@
7
7
- The plugin requests ConPTY explicitly through the public pty4j setter. The JetBrains registry key `terminal.use.conpty.on.windows` is no longer read.
8
8
- If the ConPTY native library fails to load, the process falls back to winpty and the session continues.
9
9
- Other process start failures propagate to the terminal error handling.
10
+
11
+
### Checkout and release builds without Git LFS
12
+
13
+
-`jetbrains_plugin/platform.zip` is no longer stored in git, and `.gitattributes` no longer tracks it with Git LFS. Fresh clones, including Windows and WSL checkouts, no longer fail on a missing LFS object.
14
+
- Release builds run the existing `genPlatform` task when the archive is missing or invalid and package the generated archive. A stale Git LFS pointer left by an older checkout also triggers regeneration.
15
+
-`scripts/setup.sh` no longer requires or installs Git LFS.
16
+
- The pull request workflow now also runs when files under `scripts/` change.
Copy file name to clipboardExpand all lines: README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -126,7 +126,6 @@ The installable plugin is written to the `dist/` directory. Install that ZIP thr
126
126
127
127
The setup script handles:
128
128
129
-
- Git LFS initialization
130
129
- Git submodule initialization and updates
131
130
- Dependency installation
132
131
- Patch application
@@ -136,6 +135,7 @@ The build script then:
136
135
137
136
- Downloads the latest Zoo Code extension from the VS Code Marketplace
138
137
- Builds the Extension Host runtime
138
+
- Generates the VS Code platform archive (`platform.zip`) when a release build needs it and no valid archive is present; the archive is not stored in git and the repository requires no Git LFS
139
139
- Builds the JetBrains plugin with Zoo Code integrated
140
140
- Writes a ready-to-install plugin to the `dist/` directory
// The platform.zip file required for release mode is associated with the code in ../base/vscode, currently using version 1.100.0. If upgrading this code later
187
-
// Need to modify the vscodeVersion value in gradle.properties, then execute the task named genPlatform, which will generate a new platform.zip file for submission
188
-
// To support new architectures, modify according to the logic in genPlatform.gradle script
189
+
// The platform.zip archive holds the merged node_modules of the four VS Code
190
+
// distributions pinned by vscodeVersion in gradle.properties. It is not stored
191
+
// in git: genPlatform builds it, and prepareSandbox depends on that task when
192
+
// the archive is missing or invalid (for example a stale Git LFS pointer left
193
+
// by an older checkout). To support new architectures, modify genPlatform.gradle.
189
194
if (debugMode =="release") {
190
-
// Check if platform.zip file exists and is larger than 1MB, otherwise throw exception
191
-
val platformZip =File("platform.zip")
192
-
if (platformZip.exists() && platformZip.length() >=1024*1024) {
193
-
// Extract platform.zip to the platform subdirectory under the project build directory
194
-
val platformDir =File("${project.buildDir}/platform")
195
+
// Resolved against the project directory: the daemon working directory
copyOps.add(platformZip.absolutePath to platformDir.absolutePath)
202
-
} else {
203
-
throwIllegalStateException("platform.zip file does not exist or is smaller than 1MB. This file is supported through git lfs and needs to be obtained through git lfs")
204
212
}
213
+
if (!usable()) {
214
+
logger.lifecycle("[prepareSandbox] platform.zip is missing or invalid; genPlatform will generate it before the sandbox is prepared")
215
+
dependsOn(project.tasks.named("genPlatform"))
216
+
}
217
+
// Always extract during execution: clean may remove build/platform.
218
+
doFirst { extractPlatform() }
219
+
copyOps.add(platformZip.absolutePath to platformDir.absolutePath)
0 commit comments