devs-common 4.0.0__tar.gz → 4.0.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {devs_common-4.0.0 → devs_common-4.0.1}/PKG-INFO +1 -1
- {devs_common-4.0.0 → devs_common-4.0.1}/devs_common/templates/devcontainer.json +1 -0
- {devs_common-4.0.0 → devs_common-4.0.1}/devs_common/templates/extensions/devs-bridge-drop.vsix +0 -0
- devs_common-4.0.1/devs_common/templates/scripts/install-bridge-drop.sh +30 -0
- {devs_common-4.0.0 → devs_common-4.0.1}/devs_common/templates/scripts/setup-workspace.sh +4 -13
- {devs_common-4.0.0 → devs_common-4.0.1}/devs_common.egg-info/PKG-INFO +1 -1
- {devs_common-4.0.0 → devs_common-4.0.1}/devs_common.egg-info/SOURCES.txt +1 -0
- {devs_common-4.0.0 → devs_common-4.0.1}/pyproject.toml +1 -1
- {devs_common-4.0.0 → devs_common-4.0.1}/LICENSE +0 -0
- {devs_common-4.0.0 → devs_common-4.0.1}/README.md +0 -0
- {devs_common-4.0.0 → devs_common-4.0.1}/devs_common/__init__.py +0 -0
- {devs_common-4.0.0 → devs_common-4.0.1}/devs_common/config.py +0 -0
- {devs_common-4.0.0 → devs_common-4.0.1}/devs_common/core/__init__.py +0 -0
- {devs_common-4.0.0 → devs_common-4.0.1}/devs_common/core/container.py +0 -0
- {devs_common-4.0.0 → devs_common-4.0.1}/devs_common/core/project.py +0 -0
- {devs_common-4.0.0 → devs_common-4.0.1}/devs_common/core/workspace.py +0 -0
- {devs_common-4.0.0 → devs_common-4.0.1}/devs_common/devs_config.py +0 -0
- {devs_common-4.0.0 → devs_common-4.0.1}/devs_common/exceptions.py +0 -0
- {devs_common-4.0.0 → devs_common-4.0.1}/devs_common/templates/Dockerfile +0 -0
- {devs_common-4.0.0 → devs_common-4.0.1}/devs_common/templates/extensions/README.md +0 -0
- {devs_common-4.0.0 → devs_common-4.0.1}/devs_common/templates/extensions/install.sh +0 -0
- {devs_common-4.0.0 → devs_common-4.0.1}/devs_common/templates/scripts/copy-ssh.sh +0 -0
- {devs_common-4.0.0 → devs_common-4.0.1}/devs_common/templates/scripts/post-create-wrapper.sh +0 -0
- {devs_common-4.0.0 → devs_common-4.0.1}/devs_common/templates/scripts/python-venv-integration.sh +0 -0
- {devs_common-4.0.0 → devs_common-4.0.1}/devs_common/templates/scripts/screenshot-webapp.sh +0 -0
- {devs_common-4.0.0 → devs_common-4.0.1}/devs_common/templates/scripts/start-tunnel.sh +0 -0
- {devs_common-4.0.0 → devs_common-4.0.1}/devs_common/templates/scripts/tunnel-status.sh +0 -0
- {devs_common-4.0.0 → devs_common-4.0.1}/devs_common/templates/scripts/webapp-screenshot.py +0 -0
- {devs_common-4.0.0 → devs_common-4.0.1}/devs_common/templates/sudo-scripts/init-firewall.sh +0 -0
- {devs_common-4.0.0 → devs_common-4.0.1}/devs_common/templates/sudo-scripts/setup-devs-env.sh +0 -0
- {devs_common-4.0.0 → devs_common-4.0.1}/devs_common/templates/sudo-scripts/setup-vscode-cache.sh +0 -0
- {devs_common-4.0.0 → devs_common-4.0.1}/devs_common/templates/sudo-scripts/start-services.sh +0 -0
- {devs_common-4.0.0 → devs_common-4.0.1}/devs_common/templates/vscode-settings-reference.md +0 -0
- {devs_common-4.0.0 → devs_common-4.0.1}/devs_common/utils/__init__.py +0 -0
- {devs_common-4.0.0 → devs_common-4.0.1}/devs_common/utils/config_hash.py +0 -0
- {devs_common-4.0.0 → devs_common-4.0.1}/devs_common/utils/console.py +0 -0
- {devs_common-4.0.0 → devs_common-4.0.1}/devs_common/utils/devcontainer.py +0 -0
- {devs_common-4.0.0 → devs_common-4.0.1}/devs_common/utils/devcontainer_template.py +0 -0
- {devs_common-4.0.0 → devs_common-4.0.1}/devs_common/utils/docker_client.py +0 -0
- {devs_common-4.0.0 → devs_common-4.0.1}/devs_common/utils/file_utils.py +0 -0
- {devs_common-4.0.0 → devs_common-4.0.1}/devs_common/utils/git_utils.py +0 -0
- {devs_common-4.0.0 → devs_common-4.0.1}/devs_common/utils/repo_cache.py +0 -0
- {devs_common-4.0.0 → devs_common-4.0.1}/devs_common.egg-info/dependency_links.txt +0 -0
- {devs_common-4.0.0 → devs_common-4.0.1}/devs_common.egg-info/requires.txt +0 -0
- {devs_common-4.0.0 → devs_common-4.0.1}/devs_common.egg-info/top_level.txt +0 -0
- {devs_common-4.0.0 → devs_common-4.0.1}/setup.cfg +0 -0
|
@@ -99,6 +99,7 @@
|
|
|
99
99
|
},
|
|
100
100
|
"workspaceFolder": "/workspaces/${localEnv:WORKSPACE_FOLDER_NAME}",
|
|
101
101
|
"postCreateCommand": "/usr/local/bin/post-create-wrapper.sh",
|
|
102
|
+
"postAttachCommand": "/usr/local/bin/install-bridge-drop.sh",
|
|
102
103
|
"forwardPorts": [],
|
|
103
104
|
"portsAttributes": {
|
|
104
105
|
"3306": {
|
{devs_common-4.0.0 → devs_common-4.0.1}/devs_common/templates/extensions/devs-bridge-drop.vsix
RENAMED
|
Binary file
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
#!/usr/bin/env bash
|
|
2
|
+
# Fetch the latest devs-bridge-drop.vsix from GitHub Releases and install it.
|
|
3
|
+
# Intended to be invoked from devcontainer postAttachCommand — by that point
|
|
4
|
+
# VS Code Server is up and 'code' resolves to the Server-aware shim that
|
|
5
|
+
# installs into ~/.vscode-server/extensions/.
|
|
6
|
+
set -uo pipefail
|
|
7
|
+
|
|
8
|
+
echo "Installing devs-bridge-drop extension..."
|
|
9
|
+
|
|
10
|
+
if ! command -v code >/dev/null 2>&1; then
|
|
11
|
+
echo "⚠️ Skipping devs-bridge-drop install: 'code' CLI not on PATH"
|
|
12
|
+
exit 0
|
|
13
|
+
fi
|
|
14
|
+
|
|
15
|
+
tmp_vsix="/tmp/devs-bridge-drop.vsix"
|
|
16
|
+
vsix_url="https://github.com/ideonate/devs/releases/latest/download/devs-bridge-drop.vsix"
|
|
17
|
+
|
|
18
|
+
if ! curl -fsSL "$vsix_url" -o "$tmp_vsix"; then
|
|
19
|
+
echo "⚠️ Could not download $vsix_url (continuing)"
|
|
20
|
+
exit 0
|
|
21
|
+
fi
|
|
22
|
+
|
|
23
|
+
if code --install-extension "$tmp_vsix" --force; then
|
|
24
|
+
echo "✓ Installed devs-bridge-drop"
|
|
25
|
+
else
|
|
26
|
+
echo "⚠️ 'code --install-extension' failed for devs-bridge-drop (continuing)"
|
|
27
|
+
fi
|
|
28
|
+
|
|
29
|
+
rm -f "$tmp_vsix"
|
|
30
|
+
exit 0
|
|
@@ -280,19 +280,10 @@ else
|
|
|
280
280
|
echo "No package.json found in root directory"
|
|
281
281
|
fi
|
|
282
282
|
|
|
283
|
-
#
|
|
284
|
-
#
|
|
285
|
-
#
|
|
286
|
-
|
|
287
|
-
tmp_vsix="/tmp/devs-bridge-drop.vsix"
|
|
288
|
-
if curl -fsSL "https://github.com/ideonate/devs/releases/latest/download/devs-bridge-drop.vsix" -o "$tmp_vsix" 2>/dev/null; then
|
|
289
|
-
code --install-extension "$tmp_vsix" --force || \
|
|
290
|
-
echo "⚠️ Failed to install devs-bridge-drop (continuing)"
|
|
291
|
-
rm -f "$tmp_vsix"
|
|
292
|
-
else
|
|
293
|
-
echo "⚠️ Could not download devs-bridge-drop.vsix (continuing)"
|
|
294
|
-
fi
|
|
295
|
-
fi
|
|
283
|
+
# Note: devs-bridge-drop is installed by postAttachCommand (install-bridge-drop.sh)
|
|
284
|
+
# rather than here, because the 'code' CLI baked into /usr/local/bin (used for
|
|
285
|
+
# tunnels) doesn't write to the same extensions dir VS Code Server reads from.
|
|
286
|
+
# By postAttachCommand time, VS Code Server's own 'code' shim is on PATH.
|
|
296
287
|
|
|
297
288
|
echo "Workspace setup complete!"
|
|
298
289
|
echo ""
|
|
@@ -21,6 +21,7 @@ devs_common/templates/extensions/README.md
|
|
|
21
21
|
devs_common/templates/extensions/devs-bridge-drop.vsix
|
|
22
22
|
devs_common/templates/extensions/install.sh
|
|
23
23
|
devs_common/templates/scripts/copy-ssh.sh
|
|
24
|
+
devs_common/templates/scripts/install-bridge-drop.sh
|
|
24
25
|
devs_common/templates/scripts/post-create-wrapper.sh
|
|
25
26
|
devs_common/templates/scripts/python-venv-integration.sh
|
|
26
27
|
devs_common/templates/scripts/screenshot-webapp.sh
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{devs_common-4.0.0 → devs_common-4.0.1}/devs_common/templates/scripts/post-create-wrapper.sh
RENAMED
|
File without changes
|
{devs_common-4.0.0 → devs_common-4.0.1}/devs_common/templates/scripts/python-venv-integration.sh
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{devs_common-4.0.0 → devs_common-4.0.1}/devs_common/templates/sudo-scripts/setup-devs-env.sh
RENAMED
|
File without changes
|
{devs_common-4.0.0 → devs_common-4.0.1}/devs_common/templates/sudo-scripts/setup-vscode-cache.sh
RENAMED
|
File without changes
|
{devs_common-4.0.0 → devs_common-4.0.1}/devs_common/templates/sudo-scripts/start-services.sh
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|