Skip to content

Commit 8c95c47

Browse files
Merge remote-tracking branch 'eclipse/main'
Co-authored-by: Cursor <cursoragent@cursor.com> # Conflicts: # build/dockerfiles/linux-musl.Dockerfile
2 parents 3210b6a + 0ec092d commit 8c95c47

21 files changed

Lines changed: 275 additions & 143 deletions

.rebase/CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@
22

33
The file to keep a list of changed files which will potentionaly help to resolve rebase conflicts.
44

5+
#### @sbouchet
6+
https://github.com/che-incubator/che-code/pull/698
7+
8+
- code/package.json
9+
---
10+
511
#### @RomanNikitenko
612
https://github.com/che-incubator/che-code/pull/689
713

.rebase/add/code/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@
6262
"glob": {
6363
"minimatch": "^5.1.9"
6464
}
65-
}
65+
},
66+
"es5-ext": "npm:@unes/es5-ext@0.10.64-1"
6667
}
6768
}

.vscode/extensions.json

Lines changed: 0 additions & 5 deletions
This file was deleted.

README.md

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -48,24 +48,6 @@ To test your changes in Eclipse Che run the following VS Code tasks:
4848
3. `run` to run the VS Code server
4949
4. Follow the suggested URL to test your changes.
5050

51-
## Using Roo Code with Google Gemini
52-
53-
Roo Code is a powerful extension that brings AI-powered features to your Che-Code environment. To get started, connect it to Google Gemini for access to advanced language models.
54-
55-
### Extension Installation
56-
The "Roo Code" extension is included in the list of recommended extensions for this repository and should install automatically when you start your workspace. If it is not installed automatically, you can find it on the [Open VSX Registry](https://open-vsx.org/).
57-
58-
### Obtaining a Google Gemini API Key
59-
If you do not already have one, visit the Google Gemini website to create an API key.
60-
61-
### Configuring Google Gemini
62-
1. **Open Roo Code**: Launch the Roo Code extension from the Activity Bar in Che-Code.
63-
2. **Access Settings**: The first time you launch the extension, a welcome screen will appear with an option to create a Roo account or proceed without one. The settings will open automatically after you make a selection. Alternatively, you can access the settings by clicking the gear icon (⚙️) in the top-right corner of the Roo Code panel.
64-
3. **Configure the API Provider**:
65-
* **API Provider**: Select "Google Gemini" from the dropdown menu.
66-
* **API Key**: Paste your Gemini API key into the corresponding field.
67-
* **Model**: Choose your desired Gemini model, such as "gemini-2.5-pro," from the list of available options.
68-
6951
## Updates and branches
7052

7153
This repository has a main branch being rebased on the main remote branch of `Code-OSS`.

build/dockerfiles/assembly.sshd.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ RUN microdnf -y install libsecret openssh-server nss_wrapper-libs \
1616
microdnf -y clean all --enablerepo='*'
1717

1818
# UBI 9/10
19-
FROM registry.access.redhat.com/ubi9/nodejs-20-minimal:9.7
19+
FROM registry.access.redhat.com/ubi9/nodejs-22-minimal:9.7
2020

2121
USER 0
2222

build/dockerfiles/dev.Dockerfile

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -18,29 +18,6 @@ RUN dnf -y install patch libsecret libX11-devel libxkbcommon \
1818
util-linux-user && \
1919
dnf -y clean all --enablerepo='*'
2020

21-
# Pin gcloud CLI to a tested release from the official RHEL/CentOS repository.
22-
# See https://cloud.google.com/sdk/docs/release-notes for recent versions.
23-
ARG GCLOUD_CLI_VERSION=563.0.0
24-
RUN printf '%s\n' \
25-
'[google-cloud-cli]' \
26-
'name=Google Cloud CLI' \
27-
'baseurl=https://packages.cloud.google.com/yum/repos/cloud-sdk-el9-x86_64' \
28-
'enabled=1' \
29-
'gpgcheck=1' \
30-
'repo_gpgcheck=0' \
31-
'gpgkey=https://packages.cloud.google.com/yum/doc/rpm-package-key.gpg' \
32-
> /etc/yum.repos.d/google-cloud-sdk.repo && \
33-
dnf makecache --repo=google-cloud-cli && \
34-
dnf list --showduplicates google-cloud-cli 2>/dev/null \
35-
| grep -q "${GCLOUD_CLI_VERSION}" || \
36-
{ echo "ERROR: google-cloud-cli version ${GCLOUD_CLI_VERSION} not found in repo."; \
37-
echo "Available versions (most recent last):"; \
38-
dnf list --showduplicates google-cloud-cli 2>/dev/null | tail -10; \
39-
exit 1; } && \
40-
dnf -y install libxcrypt-compat google-cloud-cli-${GCLOUD_CLI_VERSION} && \
41-
dnf -y clean all --enablerepo='*' && \
42-
gcloud --version
43-
4421
COPY --chmod=664 /build/conf/dev/.p10k.zsh /home/user/.p10k.zsh
4522

4623
# zsh support

build/dockerfiles/linux-libc-ubi8.Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ COPY code /checode-compilation
6060
WORKDIR /checode-compilation
6161
ENV ELECTRON_SKIP_BINARY_DOWNLOAD=1 \
6262
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD=1 \
63+
VSCODE_SKIP_HEADER_INSTALL=1 \
6364
PATH="/opt/rh/gcc-toolset-13/root/usr/bin:${PATH}"
6465

6566
# Initialize a git repository for code build tools

build/dockerfiles/linux-libc-ubi9.Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,8 @@ RUN { if [[ $(uname -m) == "s390x" ]]; then LIBSECRET="\
5959
COPY code /checode-compilation
6060
WORKDIR /checode-compilation
6161
ENV ELECTRON_SKIP_BINARY_DOWNLOAD=1 \
62-
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD=1
62+
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD=1 \
63+
VSCODE_SKIP_HEADER_INSTALL=1
6364

6465
# Initialize a git repository for code build tools
6566
RUN git init .

build/scripts/code-sshd-page/page-style.css

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@ pre {
1616
display: table-cell;
1717
width: 98%;
1818
padding: 10px;
19+
white-space: pre-wrap;
20+
overflow-wrap: anywhere;
21+
word-break: break-all;
1922
}
2023

2124
/* Inline code */

build/scripts/code-sshd-page/page-utils.js

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
function copyToClipboard(id) {
1111
var copyText = document.getElementById(id);
12-
navigator.clipboard.writeText(copyText.innerHTML);
12+
navigator.clipboard.writeText(copyText.innerText);
1313
}
1414

1515
function initializePlatformContent() {
@@ -37,3 +37,8 @@ function syncDocsContent() {
3737
var manualElem = document.getElementById("docs-manual");
3838
docsElem.innerHTML = useExtension ? extensionElem.innerHTML : manualElem.innerHTML;
3939
}
40+
41+
function openDevspacesURI(namespace, podName, userName, dwName, encodedKeyMessage, encodedUrl) {
42+
const gatewayLink = `vscode://redhat.devspaces-remote-ssh?namespace=${namespace}&podName=${podName}&userName=${userName}&dwName=${dwName}&key=${encodedKeyMessage}&url=${encodedUrl}`;
43+
window.open(gatewayLink, "_self");
44+
}

0 commit comments

Comments
 (0)