Skip to content

Add support for piped config - #9013

Merged
roucc merged 1 commit into
rclone:masterfrom
jojje:feat-stdin-config
Dec 8, 2025
Merged

roucc merged 1 commit into
rclone:masterfrom
jojje:feat-stdin-config

Conversation

@jojje

@jojje jojje commented Dec 6, 2025 •

Copy link
Copy Markdown
Contributor

What is the purpose of this change?

resolves #9012

No documentation update made since this change simply looses the constraint on what file-like objects can be used to pass the information. Previously only seekable file objects were supported, but this change now allows also non-seekable streams, such as stdin or named pipes, which is what users would expect to work by default. For instance /dev/stdin.

Was the change discussed in an issue or in the forum before?

See issue #9012

Checklist

  • I have read the contribution guidelines.
  • I have added tests for all changes in this PR if appropriate.
  • I have added documentation for the changes if appropriate.
  • All commit messages are in house style.
  • I'm done, this Pull Request is ready for review :-)

@jojje

jojje commented Dec 6, 2025

Copy link
Copy Markdown
Contributor Author

Ok, this is as tight as I can make the change.
If you'd want me to move the test to some other file, let me know. The current file was what seemed most appropriate though, since it was either this one, or some crypt related test. What tipped the scale for this one was the domain affinity of the issue; about config file, not crypto stuff. It just so happened the bug originated from an orthogonal concern.

@roucc roucc left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

This doesn't documentation as it is a bug fix, otherwise this is great and I will merge once CI goes green!

@roucc
roucc merged commit 233fef5 into rclone:master Dec 8, 2025
@jojje
jojje deleted the feat-stdin-config branch December 9, 2025 11:31
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.

Unable to pass configuration to rclone via pipe / stdin

2 participants