Skip to content

Commit 6347bda

Browse files
authored
Merge pull request #67 from Jordonbc/Dev
Version 0.1.0-rc.3
2 parents 14b8f54 + dae929f commit 6347bda

104 files changed

Lines changed: 7786 additions & 3145 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.gitattributes

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
11
*.png filter=lfs diff=lfs merge=lfs -text
22
*.icns filter=lfs diff=lfs merge=lfs -text
33
*.ico filter=lfs diff=lfs merge=lfs -text
4+
5+
Backend/icons/*.png -filter -diff -merge -text
6+
Backend/icons/*.ico -filter -diff -merge -text
7+
Backend/icons/*.icns -filter -diff -merge -text
8+
docs/images/logos/OpenVCS-128.png -filter -diff -merge -text
9+
docs/images/logos/OpenVCS-256.png -filter -diff -merge -text
10+
docs/images/logos/OpenVCS-512.png -filter -diff -merge -text

.github/workflows/codeql.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@
1212
name: "CodeQL Advanced"
1313

1414
on:
15+
push:
16+
branches: [ "Dev" ]
1517
pull_request:
1618
branches: [ "Dev" ]
1719
schedule:
@@ -46,12 +48,12 @@ jobs:
4648

4749
steps:
4850
- name: Checkout repository
49-
uses: actions/checkout@v5
51+
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
5052
with:
5153
fetch-depth: 0
5254

5355
- name: Initialize CodeQL
54-
uses: github/codeql-action/init@v3
56+
uses: github/codeql-action/init@e12f0178983d466f2f6028f5cc7a6d786fd97f4b # v3
5557
with:
5658
languages: ${{ matrix.language }}
5759
build-mode: ${{ matrix.build-mode }}
@@ -60,7 +62,11 @@ jobs:
6062

6163
# If you ever switch a language to build-mode: manual, add the build here.
6264

65+
- name: Autobuild
66+
if: matrix.build-mode == 'autobuild'
67+
uses: github/codeql-action/autobuild@e12f0178983d466f2f6028f5cc7a6d786fd97f4b # v3
68+
6369
- name: Perform CodeQL Analysis
64-
uses: github/codeql-action/analyze@v3
70+
uses: github/codeql-action/analyze@e12f0178983d466f2f6028f5cc7a6d786fd97f4b # v3
6571
with:
6672
category: "/language:${{ matrix.language }}"

.github/workflows/development.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -37,14 +37,14 @@ jobs:
3737

3838
steps:
3939
- name: Checkout
40-
uses: actions/checkout@v5
40+
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
4141
with:
4242
fetch-depth: 0
4343
lfs: true
4444

4545
# ---------- Frontend: lint + typecheck ----------
4646
- name: Setup Node
47-
uses: actions/setup-node@v5
47+
uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6.0.0
4848
with:
4949
node-version: '20'
5050
cache: 'npm'
@@ -64,10 +64,10 @@ jobs:
6464

6565
# ---------- Backend: cargo check ----------
6666
- name: Install Rust (stable)
67-
uses: dtolnay/rust-toolchain@stable
67+
uses: dtolnay/rust-toolchain@5d458579430fc14a04a08a1e7d3694f545e91ce6 # stable
6868

6969
- name: Setup sccache
70-
uses: mozilla-actions/sccache-action@v0.0.9
70+
uses: mozilla-actions/sccache-action@7d986dd989559c6ecdb630a3fd2557667be217ad # v0.0.9
7171

7272
- name: Install Linux build deps
7373
if: runner.os == 'Linux'
@@ -83,7 +83,7 @@ jobs:
8383
pkg-config --modversion javascriptcoregtk-4.1
8484
8585
- name: Rust cache
86-
uses: Swatinem/rust-cache@v2
86+
uses: Swatinem/rust-cache@f13886b937689c021905a6b90929199931d60db1 # v2.8.1
8787

8888
- name: Cargo check
8989
run: cargo check

.github/workflows/nightly.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
ahead_count: ${{ steps.diff.outputs.ahead_count }}
2424
steps:
2525
- name: Checkout Dev
26-
uses: actions/checkout@v5
26+
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
2727
with:
2828
ref: Dev
2929
fetch-depth: 0 # we need history and tags
@@ -83,15 +83,15 @@ jobs:
8383
runs-on: ${{ matrix.platform }}
8484
steps:
8585
- name: Checkout Dev
86-
uses: actions/checkout@v5
86+
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
8787
with:
8888
ref: Dev
8989
fetch-depth: 0
9090
lfs: true
9191

9292
- name: Compute metadata (date, short SHA, compare, changelog)
9393
id: meta
94-
uses: actions/github-script@v8
94+
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8
9595
with:
9696
script: |
9797
const short = context.sha.substring(0, 7);
@@ -132,7 +132,7 @@ jobs:
132132
133133
# ---------- Frontend ----------
134134
- name: Setup Node
135-
uses: actions/setup-node@v5
135+
uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6.0.0
136136
with:
137137
node-version: '20'
138138
cache: 'npm'
@@ -148,10 +148,10 @@ jobs:
148148

149149
# ---------- Rust & platform deps ----------
150150
- name: Install Rust (stable)
151-
uses: dtolnay/rust-toolchain@stable
151+
uses: dtolnay/rust-toolchain@5d458579430fc14a04a08a1e7d3694f545e91ce6 # stable
152152

153153
- name: Setup sccache
154-
uses: mozilla-actions/sccache-action@v0.0.9
154+
uses: mozilla-actions/sccache-action@7d986dd989559c6ecdb630a3fd2557667be217ad # v0.0.9
155155

156156
- name: Install Linux deps
157157
if: matrix.platform == 'ubuntu-22.04'
@@ -163,11 +163,11 @@ jobs:
163163
164164
# ---------- Cache ----------
165165
- name: Rust cache
166-
uses: Swatinem/rust-cache@v2
166+
uses: Swatinem/rust-cache@f13886b937689c021905a6b90929199931d60db1 # v2.8.1
167167

168168
# ---------- Reset rolling tag (optional but keeps things tidy) ----------
169169
- name: Remove existing 'openvcs-nightly' release & tag (if any)
170-
uses: actions/github-script@v8
170+
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8
171171
with:
172172
script: |
173173
const owner = context.repo.owner;
@@ -184,7 +184,7 @@ jobs:
184184
185185
# ---------- Build & publish ----------
186186
- name: Build and publish Nightly prerelease
187-
uses: tauri-apps/tauri-action@v0
187+
uses: tauri-apps/tauri-action@19b93bb55601e3e373a93cfb6eb4242e45f5af20 # action-v0.6.0
188188
env:
189189
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
190190
FRONTEND_SKIP_BUILD: '1'

.github/workflows/publish-stable.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,14 +27,14 @@ jobs:
2727

2828
steps:
2929
- name: Checkout
30-
uses: actions/checkout@v5
30+
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
3131
with:
3232
lfs: true
3333
fetch-depth: 0
3434

3535
# ---------- Frontend (Node + Vite) ----------
3636
- name: Setup Node
37-
uses: actions/setup-node@v5
37+
uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6.0.0
3838
with:
3939
node-version: '20'
4040
cache: 'npm'
@@ -50,10 +50,10 @@ jobs:
5050

5151
# ---------- Rust toolchain & deps ----------
5252
- name: Install Rust (stable)
53-
uses: dtolnay/rust-toolchain@stable
53+
uses: dtolnay/rust-toolchain@5d458579430fc14a04a08a1e7d3694f545e91ce6 # stable
5454

5555
- name: Setup sccache
56-
uses: mozilla-actions/sccache-action@v0.0.9
56+
uses: mozilla-actions/sccache-action@7d986dd989559c6ecdb630a3fd2557667be217ad # v0.0.9
5757

5858
- name: Install Linux build deps (Ubuntu)
5959
if: matrix.platform == 'ubuntu-22.04'
@@ -67,11 +67,11 @@ jobs:
6767
6868
# ---------- Cargo caching ----------
6969
- name: Rust cache
70-
uses: Swatinem/rust-cache@v2
70+
uses: Swatinem/rust-cache@f13886b937689c021905a6b90929199931d60db1 # v2.8.1
7171

7272
# ---------- Build & publish with Tauri action ----------
7373
- name: Build and create GitHub Release (draft)
74-
uses: tauri-apps/tauri-action@v0
74+
uses: tauri-apps/tauri-action@19b93bb55601e3e373a93cfb6eb4242e45f5af20 # action-v0.6.0
7575
env:
7676
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
7777
# We already built the Frontend; tell Backend/Tauri to skip any beforeBuildCommand

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,3 +23,5 @@ dist-ssr
2323
*.sw?
2424

2525
/target
26+
/Backend/icons/android
27+
/Backend/icons/ios

AGENTS.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,17 @@
44

55
> This file is machine‑friendly but readable. Keep it up‑to‑date as the project evolves.
66
7+
# Tooling Rules (MUST FOLLOW)
8+
9+
- All file edits MUST use the `apply_patch` tool, producing unified diffs first.
10+
- DO NOT write files via shell commands (`sed -i`, `tee`, `cat >`, `python -c`, redirections, etc.).
11+
- Assume direct shell writes will be blocked; do not attempt them.
12+
- Commands are allowed for READ-ONLY work (search, list, diff, log, compile, run tests).
13+
- If an edit is needed: generate a single `apply_patch` with complete diffs and a summary.
14+
- After applying a patch, run only read-only verification commands unless explicitly approved.
15+
- If a shell-write is ever proposed, replace it with `apply_patch` before proceeding.
16+
17+
718
## Project Summary
819

920
- **Goal:** Open‑source, fully customisable VCS client. Git first; long‑term multi‑VCS via modular backends.
@@ -74,6 +85,7 @@ Run commands from the **workspace root** unless stated otherwise.
7485

7586
- Small PRs with clear scope preferred.
7687
- Larger changes: open an issue first and tag as `proposal`.
88+
- Use apply_patch function to propose and make edits.
7789

7890
---
7991

Backend/Cargo.toml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "openvcs"
3-
version = "0.1.0-rc.2"
3+
version = "0.1.0-rc.3"
44
description = "OpenVCS: a lightweight, highly customizable Git GUI built on Rust & Tauri"
55
authors = ["Jordon Brooks"]
66
homepage = "https://bbgames.dev"
@@ -36,14 +36,15 @@ tauri-plugin-opener = "2.5"
3636
serde = { version = "1", features = ["derive"] }
3737
tauri-plugin-dialog = "2.4"
3838
tauri-plugin-updater = "2.9"
39-
tokio = "1.47"
39+
tokio = "1.48"
4040
dirs = "6"
41-
regex = "1.11"
41+
regex = "1.12"
4242
log = "0.4"
4343
env_logger = "0.11"
4444
parking_lot = "0.12"
45-
toml = "0.9.5"
45+
toml = "0.9.8"
4646
directories = "6"
4747
serde_json = "1.0"
4848
time = { version = "0.3", features = ["local-offset"] }
49-
zip = "5.0"
49+
zip = "6.0"
50+
shlex = "1.2"
1.95 KB
Binary file not shown.
1.21 KB
Binary file not shown.

0 commit comments

Comments
 (0)