Skip to content

Commit 53cb909

Browse files
authored
Merge pull request #4 from umpire274/v0.3.0
Release v0.3.0 – Terminal UI progress bar and copy status improvements
2 parents 0b52d2b + e704bca commit 53cb909

File tree

11 files changed

+419
-406
lines changed

11 files changed

+419
-406
lines changed

.github/workflows/ci.yml

Lines changed: 18 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: CI
22

3-
on: [push, pull_request]
3+
on: [ push, pull_request, workflow_dispatch ]
44

55
permissions:
66
contents: read
@@ -9,54 +9,52 @@ jobs:
99
build:
1010
name: Build and Test on ${{ matrix.os }}
1111
runs-on: ${{ matrix.os }}
12-
12+
1313
strategy:
1414
matrix:
1515
os: [ubuntu-latest, windows-latest, macos-latest]
16-
16+
1717
steps:
1818
- name: Checkout repository
19-
uses: actions/checkout@v3
20-
21-
- name: Install Rust
22-
uses: actions-rs/toolchain@v1
19+
uses: actions/checkout@v4
20+
21+
- name: Install Rust (stable)
22+
uses: dtolnay/rust-toolchain@stable
2323
with:
24-
toolchain: stable
25-
override: true
2624
components: clippy, rustfmt
27-
25+
2826
- name: Cache cargo registry
2927
uses: actions/cache@v3
3028
with:
3129
path: ~/.cargo/registry
3230
key: ${{ runner.os }}-cargo-registry-${{ hashFiles('**/Cargo.lock') }}
33-
31+
3432
- name: Cache cargo git
3533
uses: actions/cache@v3
3634
with:
3735
path: ~/.cargo/git
3836
key: ${{ runner.os }}-cargo-git-${{ hashFiles('**/Cargo.lock') }}
39-
37+
4038
- name: Cache target directory
4139
uses: actions/cache@v3
4240
with:
4341
path: target
4442
key: ${{ runner.os }}-target-${{ hashFiles('**/Cargo.lock') }}
45-
43+
4644
- name: Build in release mode
4745
run: cargo build --release
48-
46+
4947
- name: Run tests
5048
run: cargo test --all
51-
49+
5250
- name: Run Clippy (no warnings allowed)
53-
run: cargo clippy -- -D warnings
54-
51+
run: cargo clippy --all-targets --all-features -- -D warnings
52+
5553
- name: Check code formatting
56-
run: cargo fmt -- --check
57-
54+
run: cargo fmt --all -- --check
55+
5856
- name: Install cargo-audit
5957
run: cargo install cargo-audit
60-
58+
6159
- name: Run cargo audit
6260
run: cargo audit

.github/workflows/rust.yml

Lines changed: 0 additions & 25 deletions
This file was deleted.

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
/target
22
/.idea
33
/dist
4-
*.txt
4+
*.txt
5+
*.log

CHANGELOG.md

Lines changed: 27 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,22 +6,46 @@ All notable changes to the `rbackup` project will be documented in this file.
66

77
---
88

9+
## [v0.3.0] - 2025-09-10
10+
11+
### 🚀 Features
12+
13+
- Added absolute path to name of copying file
14+
- Added message `Skipped.` or `Copied.` at the end of each file name
15+
16+
### 🐛 Bug Fixes
17+
18+
- Fixed bug that prevented skipping of already existing files in destination directory
19+
- Fixed the process of copy/skip file graphically
20+
21+
### 🔧 Code Cleanup
22+
23+
- Deleted parameter `-g` (no longer necessary)
24+
25+
### 📦 Miscellaneous
26+
27+
- Modified format of starting and ending backup messages
28+
- Commented out unused functions
29+
30+
---
31+
932
## [0.2.8] – 2025-07-23
1033

1134
### ✅ Fixed
1235

13-
- **Fixes Issue #1**: ["This program must be run as administrator"](https://github.com/umpire274/rBackup/issues/1) – now the application runs on **Windows** without requiring elevated privileges.
36+
- **Fixes Issue #1**: ["This program must be run as administrator"](https://github.com/umpire274/rBackup/issues/1) – now
37+
the application runs on **Windows** without requiring elevated privileges.
1438
- **Code cleanup**: removed Windows-specific elevation code (`elevator.rs` was removed).
1539
- **CI fixes**: corrected GitHub Actions workflow for all platforms.
16-
- **Macro derive fix**: added missing `use clap::Parser;` and corrected all `#[arg(...)]` and `#[command(...)]` attributes.
40+
- **Macro derive fix**: added missing `use clap::Parser;` and corrected all `#[arg(...)]` and `#[command(...)]`
41+
attributes.
1742

1843
### Notes
1944

2045
- No functional changes for macOS and Linux users.
2146
- Verified correct CLI behavior with combined `--graph`, `--log`, and `--timestamp` options.
2247

2348
---
24-
2549
## [0.2.7] – 2025-06-26
2650

2751
### ✨ Changed

0 commit comments

Comments
 (0)