Skip to content

Commit 7680c0e

Browse files
authored
Merge pull request #3761 from EclipseFdn/main
Release v0.24.0
2 parents e2a9a9f + 85f49c0 commit 7680c0e

File tree

4 files changed

+48
-8
lines changed

4 files changed

+48
-8
lines changed
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
name: Claim Namespace
2+
on:
3+
issues:
4+
types: [opened, edited, labeled]
5+
jobs:
6+
namespace:
7+
name: Namespace Claim Checks
8+
runs-on: ubuntu-latest
9+
if: ${{ contains(github.event.issue.labels.*.name, 'namespace') && !contains(github.event.issue.labels.*.name, 'granted') && !contains(github.event.issue.labels.*.name, 'denied') && startsWith(github.event.issue.title, 'Claiming namespace') }}
10+
steps:
11+
- id: get_namespace
12+
name: Get namespace name
13+
uses: actions/github-script@v7
14+
with:
15+
script: |
16+
let namespace = context.payload.issue.title.substring('Claiming namespace'.length).trim();
17+
if((namespace.startsWith('[') && namespace.endsWith(']')) || (namespace.startsWith('`') && namespace.endsWith('`'))) {
18+
namespace = namespace.substring(1, namespace.length - 1);
19+
}
20+
21+
if(!namespace) {
22+
core.setFailed('Could not get namespace name');
23+
} else {
24+
core.setOutput('namespace', namespace);
25+
}
26+
- id: log_namespace
27+
name: Log namespace name
28+
run: echo "${{steps.get_namespace.outputs.namespace}}"
29+
- id: get_namespace_data
30+
name: Namespace API request
31+
uses: JamesIves/fetch-api-data-action@v2
32+
with:
33+
endpoint: https://open-vsx.org/api/${{steps.get_namespace.outputs.namespace}}
34+
configuration: '{ "method": "GET" }'
35+
- id: is_claimed
36+
name: Is claimed namespace
37+
if: fromJSON(steps.get_namespace_data.outputs.fetchApiData).verified == true
38+
run: |
39+
echo -e "Namespace ${{steps.get_namespace.outputs.namespace}} is already claimed.\nMore manual checks needed."
40+
exit 1

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
ARG SERVER_VERSION=v0.23.5
1+
ARG SERVER_VERSION=v0.24.0
22

33
# Builder image to compile the website
44
FROM ubuntu AS builder
@@ -19,7 +19,7 @@ RUN apt-get update \
1919
&& corepack prepare yarn@stable --activate
2020

2121
# bump to update website
22-
ENV WEBSITE_VERSION 0.16.1
22+
ENV WEBSITE_VERSION 0.16.2
2323
COPY . /workdir
2424

2525
RUN /usr/bin/yarn --cwd website \

website/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"repository": "https://github.com/eclipse/open-vsx.org",
77
"license": "EPL-2.0",
88
"dependencies": {
9-
"openvsx-webui": "0.16.1"
9+
"openvsx-webui": "0.16.2"
1010
},
1111
"peerDependencies": {
1212
"@babel/core": "^7.0.0"

website/yarn.lock

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2411,7 +2411,7 @@ __metadata:
24112411
"@types/react-router-dom": "npm:^5.3.3"
24122412
css-loader: "npm:^6.8.1"
24132413
express: "npm:^4.21.2"
2414-
openvsx-webui: "npm:0.16.1"
2414+
openvsx-webui: "npm:0.16.2"
24152415
source-map-loader: "npm:^4.0.1"
24162416
style-loader: "npm:^3.3.3"
24172417
typescript: "npm:~5.1.6"
@@ -2432,9 +2432,9 @@ __metadata:
24322432
languageName: node
24332433
linkType: hard
24342434

2435-
"openvsx-webui@npm:0.16.1":
2436-
version: 0.16.1
2437-
resolution: "openvsx-webui@npm:0.16.1"
2435+
"openvsx-webui@npm:0.16.2":
2436+
version: 0.16.2
2437+
resolution: "openvsx-webui@npm:0.16.2"
24382438
dependencies:
24392439
"@emotion/react": "npm:^11.11.1"
24402440
"@emotion/styled": "npm:^11.11.0"
@@ -2460,7 +2460,7 @@ __metadata:
24602460
react-router-dom: "npm:^6.14.1"
24612461
peerDependencies:
24622462
"@babel/core": ^7.0.0
2463-
checksum: 10/26da48d450d6852033b39c2bf22dabac0399f7bbaebe5e245f5ad41d96443ce0b96c5228df9df204f21d64b369ec1c3280da063ec6f43a60ef9183ced404cc93
2463+
checksum: 10/45d36c92407a24ac520003d9619e450a5f05d7e2d721ca8c6463a8a82ab803dc034549502836c1e99f4e3a189039402323fda97d081bc7d8b6cae40cf3c158e5
24642464
languageName: node
24652465
linkType: hard
24662466

0 commit comments

Comments
 (0)