[PR #2072] [MERGED] feat: use hash to check if file changed #2045

Closed
opened 2026-02-26 03:33:08 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/koel/koel/pull/2072
Author: @phanan
Created: 8/27/2025
Status: Merged
Merged: 8/27/2025
Merged by: @phanan

Base: masterHead: hash


📝 Commits (1)

  • 540dc28 feat: use hash to check if file changed

📊 Changes

8 files changed (+87 additions, -12 deletions)

View changed files

📝 app/Models/Song.php (+20 -0)
📝 app/Services/Scanners/Scanner.php (+1 -1)
📝 app/Services/SongService.php (+1 -2)
📝 app/Values/Scanning/ScanInformation.php (+40 -0)
📝 database/factories/SongFactory.php (+1 -0)
database/migrations/2025_08_27_144419_add_hash_to_songs_table.php (+15 -0)
📝 tests/Integration/Services/Scanners/DirectoryScannerTest.php (+5 -5)
📝 tests/Unit/Services/UploadServiceTest.php (+4 -4)

📄 Description

No description provided


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/koel/koel/pull/2072 **Author:** [@phanan](https://github.com/phanan) **Created:** 8/27/2025 **Status:** ✅ Merged **Merged:** 8/27/2025 **Merged by:** [@phanan](https://github.com/phanan) **Base:** `master` ← **Head:** `hash` --- ### 📝 Commits (1) - [`540dc28`](https://github.com/koel/koel/commit/540dc285ea9e977b42d8add94b47aca3035035a5) feat: use hash to check if file changed ### 📊 Changes **8 files changed** (+87 additions, -12 deletions) <details> <summary>View changed files</summary> 📝 `app/Models/Song.php` (+20 -0) 📝 `app/Services/Scanners/Scanner.php` (+1 -1) 📝 `app/Services/SongService.php` (+1 -2) 📝 `app/Values/Scanning/ScanInformation.php` (+40 -0) 📝 `database/factories/SongFactory.php` (+1 -0) ➕ `database/migrations/2025_08_27_144419_add_hash_to_songs_table.php` (+15 -0) 📝 `tests/Integration/Services/Scanners/DirectoryScannerTest.php` (+5 -5) 📝 `tests/Unit/Services/UploadServiceTest.php` (+4 -4) </details> ### 📄 Description _No description provided_ --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-26 03:33:08 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/koel-koel#2045
No description provided.