Skip to content

Feature/file hash generator#131

Merged
Gared merged 6 commits intomainfrom
feature/file-hash-generator
Apr 26, 2026
Merged

Feature/file hash generator#131
Gared merged 6 commits intomainfrom
feature/file-hash-generator

Conversation

@Gared
Copy link
Copy Markdown
Owner

@Gared Gared commented Feb 21, 2026

No description provided.

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a new Symfony console command to scan Etherpad instances across all discovered versions and derive file-hash-to-version ranges, supporting maintenance of the existing file-hash lookup mapping.

Changes:

  • Add ether:generate-file-hashes-all-versions command to fetch instances, scan a given file, and summarize hashes per version.
  • Introduce InstanceResult / InstanceResults to collect and group scan results.
  • Update FileHashLookupService hash/version range mappings (and type the class constant).

Reviewed changes

Copilot reviewed 4 out of 5 changed files in this pull request and generated 7 comments.

Show a summary per file
File Description
src/Service/FileHashLookupService.php Updates the file-hash → version-range dataset and types the constant.
src/Console/InstanceResults.php Adds a small collection helper to group instance scan results by version.
src/Console/InstanceResult.php Adds a DTO for per-instance scan results.
src/Console/GenerateFileHashesAllVersionsCommand.php New command that fetches instance inventory, scans versions, and prints summary tables.
bin/console.php Registers the new console command.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread src/Console/InstanceResult.php
Comment thread src/Console/GenerateFileHashesAllVersionsCommand.php
Comment thread src/Console/GenerateFileHashesAllVersionsCommand.php
Comment thread src/Console/GenerateFileHashesAllVersionsCommand.php
Comment thread src/Console/GenerateFileHashesAllVersionsCommand.php
Comment thread src/Console/InstanceResults.php
Comment thread src/Console/GenerateFileHashesAllVersionsCommand.php
@Gared Gared force-pushed the feature/file-hash-generator branch from 0349d21 to f7580a0 Compare April 26, 2026 18:01
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 4 out of 5 changed files in this pull request and generated 4 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread src/Console/GenerateFileHashesAllVersionsCommand.php
Comment thread src/Console/GenerateFileHashesAllVersionsCommand.php
Comment thread src/Console/GenerateFileHashesAllVersionsCommand.php
Comment thread src/Console/GenerateFileHashesAllVersionsCommand.php
@Gared Gared merged commit 030bd55 into main Apr 26, 2026
62 checks passed
@Gared Gared deleted the feature/file-hash-generator branch April 26, 2026 18:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants