Compare commits

..

5 Commits

Author SHA1 Message Date
OCram85 9e60367ee6 wip 2024-03-01 13:12:42 +01:00
OCram85 885742e792 wip 2024-03-01 12:03:30 +01:00
OCram85 5588be4d86 wip 2024-02-16 13:05:13 +01:00
OCram85 fb1b750ebf wip 2024-02-09 11:15:21 +01:00
OCram85 a53504bd86 wip 2024-02-08 16:13:43 +01:00
9 changed files with 15 additions and 111 deletions

View File

@ -5,7 +5,6 @@
"streetsidesoftware.code-spell-checker",
"streetsidesoftware.code-spell-checker-german",
"bierner.emojisense",
"ryanluker.vscode-coverage-gutters",
"augustocdias.tasks-shell-input"
"ryanluker.vscode-coverage-gutters"
]
}

37
.vscode/tasks.json vendored
View File

@ -1,37 +0,0 @@
{
"version": "2.0.0",
"tasks": [
{
"label": "Update GiteaChangelog",
"type": "shell",
"command": [
"mv 'CHANGELOG.md' 'CHANGELOG.back' &&",
"changelog -m '${input:Milestone}' --token '${input:GiteaToken}' -c .changelog.yml generate > CHANGELOG.md &&",
"echo '' >> CHANGELOG.md &&",
"cat CHANGELOG.back >> CHANGELOG.md &&",
"rm CHANGELOG.back"
],
"problemMatcher": []
}
],
"inputs": [
{
"id": "GiteaToken",
"type": "command",
"command": "shellCommand.execute",
"args": {
"command": "echo $GITEA_TOKEN",
"description": "Your personal Gitea access token"
}
},
{
"id": "Milestone",
"type": "command",
"command": "shellCommand.execute",
"args": {
"description": "Select or enter a open milestone",
"command": "tea milestone ls -f title --output simple"
}
}
]
}

View File

@ -5,7 +5,7 @@ when:
- ${CI_REPO_DEFAULT_BRANCH}
variables:
- &build_plugin 'woodpeckerci/plugin-docker-buildx:3.2.1'
- &build_plugin 'woodpeckerci/plugin-docker-buildx:2.2.1'
# deployment targets
- &publish_repos 'ocram85/arkanum,gitea.ocram85.com/codeserver/arkanum,ghcr.io/ocram85/arkanum,codeberg.org/codeserver/arkanum'
# logins for deployment targets
@ -82,16 +82,15 @@ steps:
when:
event: [pull_request]
# disabled for Portainer-EE: Can handle image tag updates without manual redeploy
#triggerPortainer:
# image: ocram85/portainer-serviceupdate
# settings:
# VERBOSE: true
# URI: "https://portainer.ocram85.com"
# TOKEN:
# from_secret: NEXT_TOKEN
# when:
# event: [pull_request]
triggerPortainer:
image: ocram85/portainer-serviceupdate
settings:
VERBOSE: true
URI: "https://portainer.ocram85.com"
TOKEN:
from_secret: NEXT_TOKEN
when:
event: [pull_request]
gitea-release:
image: plugins/gitea-release

View File

@ -1,13 +1,3 @@
## [v1.5.0](https://gitea.ocram85.com/CodeServer/arkanum/releases/tag/v1.5.0) - 2024-02-09
* 🛠️ ENHANCEMENTS
* Always install latest extension version (#85)
* 🤖 DEPENDENCIES
* Update quay.io/linuxserver.io/code-server Docker tag to v4.20.1 (#88)
* Update quay.io/linuxserver.io/code-server Docker tag to v4.20.0 (#86)
* ⚙️ META
* Add more gitignore items (#89)
## [v1.0.2](https://gitea.ocram85.com/CodeServer/arkanum/releases/tag/v1.0.2) - 2023-12-18
* ✨ FEATURES

View File

@ -1,4 +1,4 @@
FROM quay.io/linuxserver.io/code-server:4.22.1
FROM quay.io/linuxserver.io/code-server:4.20.1
#LABEL build_version=""
LABEL maintainer="OCram85"
@ -20,10 +20,7 @@ LABEL org.opencontainers.image.documentation="https://gitea.ocram85.com/CodeServ
#region starship
RUN \
echo "**** install starship prompt ****" && \
curl -sS -o /tmp/install.sh https://starship.rs/install.sh && \
chmod +x /tmp/install.sh && \
/tmp/install.sh --verbose --force --version latest && \
rm -f /tmp/install.sh && \
curl -sS https://starship.rs/install.sh | sh -s -- -f && \
echo "eval \"\$(starship init bash)\"" >> /etc/bash.bashrc
ENV STARSHIP_CONFIG=/etc/starship.toml

View File

@ -227,7 +227,7 @@ function instCodeExtension() {
function setCodeSettings() {
CODEFILE="$HOME/data/User/settings.json"
#region code-settings
# VSCode user settings file
say "Setting VScode base settings.($CODEFILE)" "VSCode"
cat <<EOF | tee "$CODEFILE"
@ -244,7 +244,6 @@ function setCodeSettings() {
"telemetry.telemetryLevel": "off"
}
EOF
#endregion code-settings
say "done." "VSCode"
}

View File

@ -19,7 +19,6 @@ function getGuide() {
{ text: 'Git', link: 'components/git' },
{ text: 'Arkanum CLI', link: 'components/arkanum-cli' },
{ text: 'FiraCode Font', link: 'components/firacode' },
{ text: 'VSCode', link: 'components/vscode' },
],
},
],

View File

@ -20,6 +20,7 @@ The included default setup uses the system wide installed [NerdFont](https://www
![screen5](./prompts/prompt5.png 'git rep with golang project and open workspace changes')
## Configuration
::: code-group

View File

@ -1,43 +0,0 @@
# VSCode
## Default Settings
Arkanum tests for existing VSCode user config. If not preset, it sets the default config with these values:
| Key | Value | Description |
| :------------------------------: | :-------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- |
| `window.menuBarVisibility` | **compact** | Uses compact main menu bar in hamburger style. |
| `workbench.colorTheme` | **One Dark Pro Darker** | Enables default color theme. |
| `workbench.iconTheme` | **vscode-icons** | Enables default icon theme for file tree. |
| `editor.fontFamily` | **'FiraCode', 'FiraCode Nerd Font', 'FiraCode NF', Consolas, 'Courier New', monospace** | Enables included FiraCode font for all possible variations in the file editor. |
| `terminal.integrated.fontFamily` | **'FiraCode Mono', 'FiraCode Nerd Font Mono', 'FiraCode NFM', Consolas, monospace** | Enables included FiraCode fonts in terminal views. Uses mono variation to enable showing icons. |
| `editor.fontLigatures` | **true** | Enables font ligatures supported in FiraCode: `->`, `---`, `!=` ... |
| `editor.formatOnSave` | **true** | Enables format on save features based on language config. |
| `extensions.autoUpdate` | **false** | Disables automatic update for installed extensions. Prevents running into VSCode compatibility problems. |
| `git.confirmSync` | **false** | Disables notification popup for git sync action. |
| `telemetry.telemetryLevel` | **off** | Disables sending telemetry data for VSCode and GitLense Extension. |
## Extensions
Arkanum includes the following VSCode extensions from the Open VSX Registry:
### GitLense
Adds advanced git features with the [GitLense](https://open-vsx.org/extension/eamodio/gitlens) extension.
### One Dark Pro
Adds [One Dark Pro](https://open-vsx.org/extension/zhuangtongfa/material-theme) theme as default color theme.
### vscode-icons
Adds [vscode-icons](https://open-vsx.org/extension/vscode-icons-team/vscode-icons) extension as default icon theme.
## Configuration
::: code-group
<<< @/../Dockerfile#cli{Dockerfile}
<<< @/../arkanum#code-settings{4-15 bash:line-numbers}
:::