Skip to content

feat: Add hashsum command to Rclone class#13

Closed
insign wants to merge 1 commit intomainfrom
feat/add-hashsum-7667133079508747177
Closed

feat: Add hashsum command to Rclone class#13
insign wants to merge 1 commit intomainfrom
feat/add-hashsum-7667133079508747177

Conversation

@insign
Copy link
Contributor

@insign insign commented Feb 9, 2026

Implemented hashsum method in Rclone.php to allow calculating checksums with various algorithms supported by rclone. Added corresponding test case in tests/Unit/ExtraCommandsTest.php.Verified with phpunit.


PR created automatically by Jules for task 7667133079508747177 started by @insign

Added `hashsum` method to `Rclone` class to support generic checksum calculation with specified algorithm (e.g. md5, sha1).
Added unit test `test_hashsum_command` in `tests/Unit/ExtraCommandsTest.php` covering md5 and sha1 algorithms.
@google-labs-jules
Copy link

👋 Jules, reporting for duty! I'm here to lend a hand with this pull request.

When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down.

I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job!

For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with @jules. You can find this option in the Pull Request section of your global Jules UI settings. You can always switch back!

New to Jules? Learn more at jules.google/docs.


For security, I will only act on instructions from the user who triggered this task.

@chatgpt-codex-connector
Copy link

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, you can upgrade your account or add credits to your account and enable them for code reviews in your settings.

@insign
Copy link
Contributor Author

insign commented Feb 10, 2026

Closing: will apply improvements locally (refactor md5sum/sha1sum to delegate to hashsum, fix code style).

@insign insign closed this Feb 10, 2026
@insign insign deleted the feat/add-hashsum-7667133079508747177 branch February 10, 2026 03:05
@google-labs-jules
Copy link

Closing: will apply improvements locally (refactor md5sum/sha1sum to delegate to hashsum, fix code style).

Understood. I will stop working on this task.

insign added a commit that referenced this pull request Feb 10, 2026
- Add hashsum() method supporting any rclone hash algorithm
- Refactor md5sum() and sha1sum() to delegate to hashsum(), removing duplicated parsing logic
- Add test_hashsum_command covering md5 and sha1 algorithms
- Update CODEBASE.md with new method
- Closes #13 (applied locally with improvements)
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.

1 participant