Skip to content

Commit 5e6582d

Browse files
Merge remote-tracking branch 'eclipse/main'
2 parents d277d0e + e4ec8e0 commit 5e6582d

35 files changed

Lines changed: 982 additions & 974 deletions

File tree

.github/CODEOWNERS

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
# Default Owners
2-
* @azatsarynnyy @RomanNikitenko @vitaliy-guliy
2+
* @rgrunber @azatsarynnyy @RomanNikitenko @vitaliy-guliy

.rebase/CHANGELOG.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,27 @@ https://github.com/che-incubator/che-code/pull/605
2020
- code/src/vs/workbench/contrib/extensions/browser/extensionsWorkbenchService.ts
2121
---
2222

23+
#### @sbouchet
24+
https://github.com/che-incubator/che-code/pull/613
25+
26+
- code/build/package.json
27+
- code/extensions/microsoft-authentication/package.json
28+
---
29+
30+
#### @sbouchet
31+
https://github.com/che-incubator/che-code/pull/621
32+
33+
- code/build/package.json
34+
- code/test/mcp/package.json
35+
---
36+
37+
#### @sbouchet
38+
https://github.com/che-incubator/che-code/pull/611
39+
40+
- code/package.json
41+
- code/build/npm/gyp/package.json
42+
---
43+
2344
#### @sbouchet
2445
https://github.com/che-incubator/che-code/pull/607
2546

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"overrides": {
3+
"glob": "10.5.0"
4+
}
5+
}

.rebase/add/code/build/package.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22
"overrides": {
33
"prebuild-install": {
44
"tar-fs": "2.1.4"
5-
}
5+
},
6+
"jsonwebtoken": {
7+
"jws": "^3.2.3"
8+
},
9+
"qs": "6.14.1"
610
}
711
}

.rebase/add/code/extensions/microsoft-authentication/package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
{
2+
"overrides": {
3+
"jws": "^3.2.3"
4+
},
25
"workspaces": [
36
"packageMocks/keytar"
47
]
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"overrides": {
3+
"qs": "6.14.1"
4+
}
5+
}
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
"devDependencies": {
3-
"@types/minimatch": "^3.0.5"
3+
"@types/minimatch": "^3.0.5",
4+
"jws": "^4.0.1"
45
}
56
}

.rebase/override/code/package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
"bin": "out/vs/server/main.js",
44
"devDependencies": {
55
"@vscode/l10n-dev": "0.0.18",
6+
"@vscode/test-cli": "^0.0.12",
7+
"@vscode/test-web": "^0.0.77",
68
"minimatch": "^3.0.5"
79
}
810
}

README.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,24 @@ 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+
5169
## Updates and branches
5270

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

build/dockerfiles/dev.sshd.Dockerfile

Lines changed: 5 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -6,43 +6,15 @@
66
# SPDX-License-Identifier: EPL-2.0
77
#
88

9-
FROM quay.io/devfile/universal-developer-image:latest
9+
FROM registry.access.redhat.com/ubi9/nodejs-20-minimal:9.6
1010

1111
USER 0
1212

13-
RUN dnf -y install libsecret openssh-server && \
14-
dnf -y clean all --enablerepo='*'
13+
RUN microdnf -y install libsecret openssh-server nss_wrapper-libs && \
14+
microdnf -y clean all --enablerepo='*'
1515

16-
# Step 1. Generate SSH Host keys
17-
RUN mkdir /opt/ssh
18-
RUN chmod 755 /opt/ssh
19-
RUN chown -R root:root /opt/ssh/
20-
21-
RUN ssh-keygen -q -N "" -t dsa -f /opt/ssh/ssh_host_dsa_key && \
22-
ssh-keygen -q -N "" -t rsa -b 4096 -f /opt/ssh/ssh_host_rsa_key && \
23-
ssh-keygen -q -N "" -t ecdsa -f /opt/ssh/ssh_host_ecdsa_key && \
24-
ssh-keygen -q -N "" -t ed25519 -f /opt/ssh/ssh_host_ed25519_key
25-
26-
# Step 2. Configure SSH as non-root user
27-
RUN cp /etc/ssh/sshd_config /opt/ssh/
28-
29-
# Step 3. Fix permissions
30-
RUN chmod 644 /opt/ssh/ssh_host_* /opt/ssh/sshd_config
31-
32-
# Use non-privileged port, set user authorized keys, disable strict checks
33-
RUN sed -i \
34-
-e 's|#Port 22|Port 2022|' \
35-
-e 's|#StrictModes yes|StrictModes=no|' \
36-
-e 's|#PidFile /var/run/sshd.pid|PidFile /tmp/sshd.pid|' \
37-
-e 's|#LogLevel INFO|LogLevel DEBUG3|' \
38-
/opt/ssh/sshd_config
39-
40-
# Provide new path containing host keys
41-
RUN sed -i \
42-
-e 's|#HostKey /etc/ssh/ssh_host_rsa_key|HostKey /opt/ssh/ssh_host_rsa_key|' \
43-
-e 's|#HostKey /etc/ssh/ssh_host_ecdsa_key|HostKey /opt/ssh/ssh_host_ecdsa_key|' \
44-
-e 's|#HostKey /etc/ssh/ssh_host_ed25519_key|HostKey /opt/ssh/ssh_host_ed25519_key|' \
45-
/opt/ssh/sshd_config
16+
# sshd_config is root:root 600
17+
RUN chmod 644 /etc/ssh/sshd_config
4618

4719
# Add script to start and stop the service
4820
COPY --chown=0:0 /build/scripts/sshd.start /
@@ -53,9 +25,6 @@ COPY /build/scripts/code-sshd-page/* /opt/www/
5325
# Lock down /etc/passwd until fixed in UDI
5426
RUN chmod 644 /etc/passwd
5527

56-
# Bypass nologin shell for random generated user
57-
RUN cp /bin/bash /sbin/nologin
58-
5928
EXPOSE 2022 3400
6029

6130
USER 10001

0 commit comments

Comments
 (0)