generated from Templates/Baseline
Compare commits
10 Commits
9e60367ee6
...
fb740de161
Author | SHA1 | Date |
---|---|---|
OCram85 | fb740de161 | |
OCram85 | 9846d840ff | |
OCram85 | 127a9dbc48 | |
OCram85 | 910f3d5a36 | |
OCram85 | d1ea37bdbf | |
OCram85 | 4c5e370ead | |
renovate-bot | 2130741460 | |
renovate-bot | b79c637259 | |
OCram85 | bd93b021db | |
OCram85 | d388c2f46b |
|
@ -5,6 +5,7 @@
|
||||||
"streetsidesoftware.code-spell-checker",
|
"streetsidesoftware.code-spell-checker",
|
||||||
"streetsidesoftware.code-spell-checker-german",
|
"streetsidesoftware.code-spell-checker-german",
|
||||||
"bierner.emojisense",
|
"bierner.emojisense",
|
||||||
"ryanluker.vscode-coverage-gutters"
|
"ryanluker.vscode-coverage-gutters",
|
||||||
|
"augustocdias.tasks-shell-input"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
|
@ -0,0 +1,37 @@
|
||||||
|
{
|
||||||
|
"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"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
|
@ -5,7 +5,7 @@ when:
|
||||||
- ${CI_REPO_DEFAULT_BRANCH}
|
- ${CI_REPO_DEFAULT_BRANCH}
|
||||||
|
|
||||||
variables:
|
variables:
|
||||||
- &build_plugin 'woodpeckerci/plugin-docker-buildx:2.2.1'
|
- &build_plugin 'woodpeckerci/plugin-docker-buildx:3.2.1'
|
||||||
# deployment targets
|
# deployment targets
|
||||||
- &publish_repos 'ocram85/arkanum,gitea.ocram85.com/codeserver/arkanum,ghcr.io/ocram85/arkanum,codeberg.org/codeserver/arkanum'
|
- &publish_repos 'ocram85/arkanum,gitea.ocram85.com/codeserver/arkanum,ghcr.io/ocram85/arkanum,codeberg.org/codeserver/arkanum'
|
||||||
# logins for deployment targets
|
# logins for deployment targets
|
||||||
|
@ -82,15 +82,16 @@ steps:
|
||||||
when:
|
when:
|
||||||
event: [pull_request]
|
event: [pull_request]
|
||||||
|
|
||||||
triggerPortainer:
|
# disabled for Portainer-EE: Can handle image tag updates without manual redeploy
|
||||||
image: ocram85/portainer-serviceupdate
|
#triggerPortainer:
|
||||||
settings:
|
# image: ocram85/portainer-serviceupdate
|
||||||
VERBOSE: true
|
# settings:
|
||||||
URI: "https://portainer.ocram85.com"
|
# VERBOSE: true
|
||||||
TOKEN:
|
# URI: "https://portainer.ocram85.com"
|
||||||
from_secret: NEXT_TOKEN
|
# TOKEN:
|
||||||
when:
|
# from_secret: NEXT_TOKEN
|
||||||
event: [pull_request]
|
# when:
|
||||||
|
# event: [pull_request]
|
||||||
|
|
||||||
gitea-release:
|
gitea-release:
|
||||||
image: plugins/gitea-release
|
image: plugins/gitea-release
|
||||||
|
|
10
CHANGELOG.md
10
CHANGELOG.md
|
@ -1,3 +1,13 @@
|
||||||
|
## [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
|
## [v1.0.2](https://gitea.ocram85.com/CodeServer/arkanum/releases/tag/v1.0.2) - 2023-12-18
|
||||||
|
|
||||||
* ✨ FEATURES
|
* ✨ FEATURES
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
FROM quay.io/linuxserver.io/code-server:4.20.1
|
FROM quay.io/linuxserver.io/code-server:4.22.1
|
||||||
|
|
||||||
#LABEL build_version=""
|
#LABEL build_version=""
|
||||||
LABEL maintainer="OCram85"
|
LABEL maintainer="OCram85"
|
||||||
|
@ -20,7 +20,10 @@ LABEL org.opencontainers.image.documentation="https://gitea.ocram85.com/CodeServ
|
||||||
#region starship
|
#region starship
|
||||||
RUN \
|
RUN \
|
||||||
echo "**** install starship prompt ****" && \
|
echo "**** install starship prompt ****" && \
|
||||||
curl -sS https://starship.rs/install.sh | sh -s -- -f && \
|
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 && \
|
||||||
echo "eval \"\$(starship init bash)\"" >> /etc/bash.bashrc
|
echo "eval \"\$(starship init bash)\"" >> /etc/bash.bashrc
|
||||||
|
|
||||||
ENV STARSHIP_CONFIG=/etc/starship.toml
|
ENV STARSHIP_CONFIG=/etc/starship.toml
|
||||||
|
|
3
arkanum
3
arkanum
|
@ -227,7 +227,7 @@ function instCodeExtension() {
|
||||||
|
|
||||||
function setCodeSettings() {
|
function setCodeSettings() {
|
||||||
CODEFILE="$HOME/data/User/settings.json"
|
CODEFILE="$HOME/data/User/settings.json"
|
||||||
|
#region code-settings
|
||||||
# VSCode user settings file
|
# VSCode user settings file
|
||||||
say "Setting VScode base settings.($CODEFILE)" "VSCode"
|
say "Setting VScode base settings.($CODEFILE)" "VSCode"
|
||||||
cat <<EOF | tee "$CODEFILE"
|
cat <<EOF | tee "$CODEFILE"
|
||||||
|
@ -244,6 +244,7 @@ function setCodeSettings() {
|
||||||
"telemetry.telemetryLevel": "off"
|
"telemetry.telemetryLevel": "off"
|
||||||
}
|
}
|
||||||
EOF
|
EOF
|
||||||
|
#endregion code-settings
|
||||||
say "done." "VSCode"
|
say "done." "VSCode"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -19,6 +19,7 @@ function getGuide() {
|
||||||
{ text: 'Git', link: 'components/git' },
|
{ text: 'Git', link: 'components/git' },
|
||||||
{ text: 'Arkanum CLI', link: 'components/arkanum-cli' },
|
{ text: 'Arkanum CLI', link: 'components/arkanum-cli' },
|
||||||
{ text: 'FiraCode Font', link: 'components/firacode' },
|
{ text: 'FiraCode Font', link: 'components/firacode' },
|
||||||
|
{ text: 'VSCode', link: 'components/vscode' },
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
|
|
|
@ -20,7 +20,6 @@ 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')
|
![screen5](./prompts/prompt5.png 'git rep with golang project and open workspace changes')
|
||||||
|
|
||||||
|
|
||||||
## Configuration
|
## Configuration
|
||||||
|
|
||||||
::: code-group
|
::: code-group
|
||||||
|
|
|
@ -0,0 +1,43 @@
|
||||||
|
# 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}
|
||||||
|
:::
|
Loading…
Reference in New Issue