-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: merge release-v0.2.8 into main
- Loading branch information
Showing
14 changed files
with
388 additions
and
325 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,12 @@ | ||
ARG VARIANT="bullseye" | ||
FROM mcr.microsoft.com/vscode/devcontainers/base:0-${VARIANT} | ||
|
||
RUN printf "alias cls='clear'\nalias ll='ls -l --human-readable --color=auto --group-directories-first --classify --time-style=long-iso -all'" >> /etc/bash.bashrc | ||
|
||
ENV PATH="/home/vscode/.cargo/bin:${PATH}" | ||
|
||
RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \ | ||
&& apt-get -y install --no-install-recommends build-essential pkg-config libssl-dev | ||
|
||
USER vscode | ||
RUN curl --proto '=https' --tlsv1.2 -sSf curl https://sh.rustup.rs | sh -s -- -y | ||
# RUN rustup target add x86_64-unknown-linux-musl | ||
ARG VARIANT="bullseye" | ||
FROM mcr.microsoft.com/vscode/devcontainers/base:0-${VARIANT} | ||
|
||
RUN printf "alias cls='clear'\nalias ll='ls -l --human-readable --color=auto --group-directories-first --classify --time-style=long-iso -all'" >> /etc/bash.bashrc | ||
|
||
ENV PATH="/home/vscode/.cargo/bin:${PATH}" | ||
|
||
RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \ | ||
&& apt-get -y install --no-install-recommends build-essential pkg-config nmap | ||
|
||
USER vscode | ||
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,64 +1,65 @@ | ||
// For format details, see https://aka.ms/devcontainer.json. For config options, see the README at: | ||
// https://github.com/microsoft/vscode-dev-containers/tree/v0.217.4/containers/rust | ||
{ | ||
"name": "Rust", | ||
"build": { | ||
"dockerfile": "Dockerfile", | ||
"args": { | ||
// Use the VARIANT arg to pick a Debian OS version: buster, bullseye | ||
// Use bullseye when on local on arm64/Apple Silicon. | ||
"VARIANT": "bullseye" | ||
} | ||
}, | ||
"runArgs": [ | ||
"--cap-add=SYS_PTRACE", | ||
"--security-opt", | ||
"seccomp=unconfined" | ||
], | ||
|
||
"postCreateCommand": "cargo install cross typos-cli", | ||
|
||
"mounts": [ | ||
"source=/etc/timezone,target=/etc/timezone,type=bind,readonly" | ||
], | ||
|
||
"customizations": { | ||
"vscode": { | ||
// Add the IDs of extensions you want installed when the container is created. | ||
"extensions": [ | ||
"bmuskalla.vscode-tldr", | ||
"christian-kohler.path-intellisense", | ||
"ms-vscode.live-server", | ||
"mutantdino.resourcemonitor", | ||
"rangav.vscode-thunder-client", | ||
"rust-lang.rust-analyzer", | ||
"serayuzgur.crates", | ||
"tamasfe.even-better-toml", | ||
"timonwong.shellcheck", | ||
"vadimcn.vscode-lldb" | ||
], | ||
|
||
// Set *default* container specific settings.json values on container create. | ||
"settings": { | ||
"lldb.executable": "/usr/bin/lldb", | ||
// VS Code don't watch files under ./target | ||
"files.watcherExclude": { | ||
"**/target/**": true | ||
}, | ||
"rust-analyzer.checkOnSave.command": "clippy" | ||
} | ||
} | ||
}, | ||
// Comment out to connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root. | ||
"remoteUser": "vscode", | ||
"features": { | ||
"ghcr.io/devcontainers/features/docker-in-docker:2": { | ||
"version": "latest", | ||
"moby": true, | ||
"dockerDashComposeVersion":"v2" | ||
}, | ||
"ghcr.io/devcontainers/features/git:1": { | ||
"version":"os-provided" | ||
} | ||
} | ||
// For format details, see https://aka.ms/devcontainer.json. For config options, see the README at: | ||
// https://github.com/microsoft/vscode-dev-containers/tree/v0.217.4/containers/rust | ||
{ | ||
"name": "Rust", | ||
"build": { | ||
"dockerfile": "Dockerfile", | ||
"args": { | ||
// Use the VARIANT arg to pick a Debian OS version: buster, bullseye | ||
// Use bullseye when on local on arm64/Apple Silicon. | ||
"VARIANT": "bullseye" | ||
} | ||
}, | ||
"runArgs": [ | ||
"--cap-add=SYS_PTRACE", | ||
"--security-opt", | ||
"seccomp=unconfined" | ||
], | ||
|
||
"postCreateCommand": "cargo install cross typos-cli", | ||
|
||
"mounts": [ | ||
"source=/etc/timezone,target=/etc/timezone,type=bind,readonly" | ||
], | ||
|
||
"customizations": { | ||
"vscode": { | ||
// Add the IDs of extensions you want installed when the container is created. | ||
"extensions": [ | ||
"bmuskalla.vscode-tldr", | ||
"christian-kohler.path-intellisense", | ||
"ms-vscode.live-server", | ||
"mutantdino.resourcemonitor", | ||
"rangav.vscode-thunder-client", | ||
"redhat.vscode-yaml", | ||
"rust-lang.rust-analyzer", | ||
"serayuzgur.crates", | ||
"tamasfe.even-better-toml", | ||
"timonwong.shellcheck", | ||
"vadimcn.vscode-lldb" | ||
], | ||
|
||
// Set *default* container specific settings.json values on container create. | ||
"settings": { | ||
"lldb.executable": "/usr/bin/lldb", | ||
// VS Code don't watch files under ./target | ||
"files.watcherExclude": { | ||
"**/target/**": true | ||
}, | ||
"rust-analyzer.checkOnSave.command": "clippy" | ||
} | ||
} | ||
}, | ||
// Comment out to connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root. | ||
"remoteUser": "vscode", | ||
"features": { | ||
"ghcr.io/devcontainers/features/docker-in-docker:2": { | ||
"version": "latest", | ||
"moby": true, | ||
"dockerDashComposeVersion":"v2" | ||
}, | ||
"ghcr.io/devcontainers/features/git:1": { | ||
"version":"os-provided" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1 @@ | ||
*.sh eol=lf | ||
*.md eol=CRLF | ||
*.txt eol=lf | ||
* eol=lf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,16 @@ | ||
### 2023-09-24 | ||
### 2023-11-17 | ||
|
||
### Chores | ||
+ dependencies updated, [315c775a98a21272a0f9fd7b1ab189afa6a6eb45], [235e2eb436ad2e7114c8914cdfd33800c5fb51c4] | ||
|
||
### Docs | ||
+ README build for gnu, [7e0f1694f56a62b63931aa5762b7ef1dffe4894f] | ||
+ dependencies updated, [a75ba8ab158009658f26394ce7361fcbfab892bb], [c978e98ef37d7f598d12cdb819569a44ceda5b9e] | ||
+ Rust 1.74.0 linting, [9da794356bd6dd080619fb6661a99acc6643378d] | ||
+ linting moved from main.rs to Cargot.toml, [c30163273ca8f69455690f46eb3be1b49a4aee2f] | ||
+ .gitattributes updated, [c33cfb31201f3b261602b8e5342d066cd1cc31c7] | ||
+ .devcontainer updated, [458385e81c9983d5d4de35da2716b2cd401df66a], [9e31ac43c6e18ac9e2ee5ca4c50cd3ce1c9ba6f8] | ||
+ GitHub workflow use matrix build, [c560e09c0efed3374c9c1ea243c6dd1b5fd27842], [d5337113eee43667ce8099364f171cf843bb7883] | ||
+ Rust 1.73.0 linting, [1aa2a554c4c2ddb9b8f210fef0fae9cdbb712a77] | ||
|
||
### Fixes | ||
+ remove camera deadlock, [5f1a06c44f5607fde3b9c4e571f1f38f93c2eb17] | ||
|
||
### Refactors | ||
+ improved systemd procedure, [6efa8213b5a469d99eaa1713b8b0650774f2c7b1] | ||
+ systemd install error handling improvement, [1009893af32c69072afda20f545819d9692c439e] | ||
|
||
+ systemd chown fix, [0b346ab5b89668d40e2bc8375cc789a1229231d3] | ||
|
||
|
||
see <a href='https://github.com/mrjackwills/leafcast_pi/blob/main/CHANGELOG.md'>CHANGELOG.md</a> for more details |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.