Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

API draft for the rewrite #308

Draft
wants to merge 23 commits into
base: rewrite
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
4d697db
feat: add docker vm config to rewrite
oskardotglobal Jul 16, 2024
335bfb6
feat: nix config for build & dev
oskardotglobal Jul 16, 2024
e2dd7eb
feat: version cargo.lock
oskardotglobal Jul 16, 2024
6641d31
fix: ignore nix result
oskardotglobal Jul 16, 2024
8c3b31d
fix: add freerdp as dependency
oskardotglobal Jul 16, 2024
f2e5f45
clean and try to add rpm unpack
LDprg Aug 4, 2024
da87a7b
install freerdp from rpm locally
LDprg Aug 4, 2024
a2c02a8
fix error log
LDprg Aug 4, 2024
dd4de10
Merge remote-tracking branch 'LDprg/rewrite' into feat-rewrite-docker
oskardotglobal Oct 13, 2024
ffc165a
feat: draft api
oskardotglobal Oct 29, 2024
3ca09b9
fix: this is private
oskardotglobal Oct 29, 2024
e2947db
fix: this should be an xor
oskardotglobal Oct 29, 2024
6f8111c
feat: proper error handling using miette and thiserror
oskardotglobal Nov 4, 2024
4eb4575
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Nov 4, 2024
4b4e77a
feat: use nightly rust in CI checks
oskardotglobal Nov 4, 2024
c83b754
Merge remote-tracking branch 'origin/feat-rewrite-api' into feat-rewr…
oskardotglobal Nov 4, 2024
69ca359
fix(ci): force toolchain
oskardotglobal Nov 4, 2024
f745e36
fix: prevent thread blocking forever from reading config
oskardotglobal Nov 4, 2024
21b7512
try new packaging
oskardotglobal Nov 8, 2024
0fd1500
fix: ignore nix build result
oskardotglobal Nov 8, 2024
3b7e1d0
feat: move container config into repo
oskardotglobal Jan 2, 2025
5cc86ca
feat: speed up rust packages
oskardotglobal Jan 2, 2025
221976d
feat: implement basic container backend
oskardotglobal Jan 2, 2025
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
1 change: 1 addition & 0 deletions .envrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
use nix
10 changes: 9 additions & 1 deletion .github/workflows/rust-clippy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,16 @@ jobs:
security-events: write

steps:
- name: Install minimal nightly with clippy
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: nightly
components: clippy
default: true

- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Install required cargo
run: cargo install clippy-sarif sarif-fmt
Expand Down
22 changes: 15 additions & 7 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,20 @@ env:

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Build
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose
- name: Install minimal nightly
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: nightly
default: true

- name: Checkout code
uses: actions/checkout@v4

- name: Build
run: cargo build --verbose

- name: Run tests
run: cargo test --verbose
6 changes: 2 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
# Generated files
target/

# The library shouldn't decide about the exact versions of
# its dependencies, but let the downstream crate decide.
Cargo.lock
/result

# We don't want to commit IDE configuration files.
.idea/
.vscode/
.direnv
2 changes: 2 additions & 0 deletions .rustfmt.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
unstable_features = true
imports_granularity = "Crate"
Loading
Loading