Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[OTTO-161] Support directories in --to option for backup:get #2053

Merged
merged 4 commits into from
Jan 28, 2020
Merged

Conversation

LionOps
Copy link
Contributor

@LionOps LionOps commented Jan 28, 2020

Closes #1627

Copy link
Contributor

@TeslaDethray TeslaDethray left a comment

Choose a reason for hiding this comment

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

This is perfect. Please add a couple of lines to CHANGELOG.md which mentions this. Something like:

### Changed
- `Request::download($url, $target)` now accepts directories in addition to files as its `$target` parameter. (#2053)
- The `backup:get` command's `--to` option now accepts directories in addition to files. (#2053)

@@ -56,6 +56,14 @@ class Request implements ConfigAwareInterface, ContainerAwareInterface, LoggerAw
*/
Copy link
Contributor

Choose a reason for hiding this comment

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

Can line 54 be updated to mention that you can use a directory now? (Something like "Target file or directory's name")

@LionOps LionOps merged commit 7cdc848 into master Jan 28, 2020
@LionOps LionOps deleted the ds-dirs branch January 28, 2020 19:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Permit backup to directory w/o filename in backup:get
2 participants