Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions .devcontainer/development/Containerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
FROM registry.opensuse.org/opensuse/tumbleweed:latest

RUN zypper -n install sudo vim gawk git openssh-clients bash-completion \
npm22 nodejs22 glib2-tools gettext-tools jq rsync zip

RUN npm install --global yarn

RUN useradd --create-home --shell /bin/bash developer
RUN echo "developer ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers

USER developer
28 changes: 28 additions & 0 deletions .devcontainer/development/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"$schema": "https://raw.githubusercontent.com/devcontainers/spec/main/schemas/devContainer.schema.json",
"name": "Gnome GitHub Manager Development",
"build": {
"dockerfile": "Containerfile"
},
"remoteUser": "developer",
"postCreateCommand": "yarn install",
"customizations": {
"vscode": {
"settings": {
"editor.defaultFormatter": "esbenp.prettier-vscode",
"sonarlint.pathToNodeExecutable": "/usr/bin/node",
"sonarlint.connectedMode.project": {
"connectionId": "mackdk",
"projectKey": "mackdk_gnome-github-manager"
}
},
"extensions": [
"esbenp.prettier-vscode",
"dbaeumer.vscode-eslint",
"github.vscode-github-actions",
"mrorz.language-gettext",
"SonarSource.sonarlint-vscode"
]
}
}
}
1 change: 1 addition & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"$schema": "https://www.schemastore.org/eslintrc.json",
"env": {
"es2022": true
},
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/package-on-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,15 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Code Checkout
uses: actions/checkout@v3
uses: actions/checkout@v5

- name: Install translation tools
run: sudo apt-get install -y make gettext

- name: Install NodeJS 18
uses: actions/setup-node@v3
- name: Install NodeJS 22
uses: actions/setup-node@v5
with:
node-version: 18
node-version: 22
cache: 'yarn'

- name: Install the dependencies
Expand Down
32 changes: 16 additions & 16 deletions .github/workflows/sanity-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,23 +8,23 @@ on:
types:
- opened
- synchronize
- reopend
- reopened

jobs:
linting:
name: Static analysis with ESLint
runs-on: ubuntu-latest
steps:
- name: Code Checkout
uses: actions/checkout@v3
uses: actions/checkout@v5

- name: Install translation tools
run: sudo apt-get install -y make gettext

- name: Install NodeJS 18
uses: actions/setup-node@v3
- name: Install NodeJS 22
uses: actions/setup-node@v5
with:
node-version: 18
node-version: 22
cache: 'yarn'

- name: Install the dependencies
Expand All @@ -38,15 +38,15 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Code Checkout
uses: actions/checkout@v3
uses: actions/checkout@v5

- name: Install translation tools
run: sudo apt-get install -y make gettext

- name: Install NodeJS 18
uses: actions/setup-node@v3
- name: Install NodeJS 22
uses: actions/setup-node@v5
with:
node-version: 18
node-version: 22
cache: 'yarn'

- name: Install the dependencies
Expand All @@ -56,7 +56,7 @@ jobs:
run: yarn package

- name: Upload the distributable package
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: extension-archive
path: build/dist/**/*
Expand All @@ -66,13 +66,13 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Code Checkout
uses: actions/checkout@v3
uses: actions/checkout@v5

- name: Install translation tools
run: sudo apt-get install -y make gettext

- name: Install NodeJS 18
uses: actions/setup-node@v3
uses: actions/setup-node@v5
with:
node-version: 18
cache: 'yarn'
Expand All @@ -84,7 +84,7 @@ jobs:
run: yarn test

- name: Upload test coverage report
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: coverage-report
path: build/test/lcov.info
Expand All @@ -95,18 +95,18 @@ jobs:
needs: testing
steps:
- name: Code Checkout
uses: actions/checkout@v3
uses: actions/checkout@v5
with:
fetch-depth: 0

- name: Download test coverage report
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: coverage-report
path: build/test

- name: Perform SonarCloud Scan
uses: SonarSource/sonarcloud-github-action@v2.1.1
uses: SonarSource/sonarcloud-github-action@v5
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
1 change: 0 additions & 1 deletion .prettierrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
"arrowParens": "always",
"singleQuote": true,
"semi": true,
"parser": "typescript",
"tabWidth": 4,
"useTabs": false
}
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"$schema": "https://www.schemastore.org/package.json",
"name": "gnome-github-manager",
"version": "1.0.0",
"main": "extension.js",
Expand Down
6 changes: 3 additions & 3 deletions src/main/po/gnome-github-manager.pot
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ msgstr ""
"Language-Team: LANGUAGE <[email protected]>\n"
"Language: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=CHARSET\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"

Expand Down Expand Up @@ -97,8 +97,8 @@ msgid "Refresh interval"
msgstr ""

msgid ""
"How often data is synced. Might be enforced by <a href=\"https://docs.github."
"com/en/rest/activity/notifications\">GitHub Policy</a>."
"How often data is synced. Might be enforced by <a href=\"https://"
"docs.github.com/en/rest/activity/notifications\">GitHub Policy</a>."
msgstr ""

msgid "Show only partecipating"
Expand Down
Loading