Skip to content

Conversation

@volodymyrpoli
Copy link

No description provided.

When we read files by their number, we never get the right result.
For example, we have the following file system structure:

folder1/
- subfolder1/
--- file1
--- file2
- file3
- file4
folder2/
- subfolder2/
--- file5
--- file6
- file5

and maxAmountOfFiles = 3, then we will read [folder1, subfolder1,
file3, file3, folder2, subfolder2, file5]. And this is not expected
result. It is better to read by depth, which will give the expected
result.

```bash
composer require simpleenergy/php-webhdfs
composer require dreamfactory/php-webhdfs
Copy link
Collaborator

Choose a reason for hiding this comment

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

Changes look good, but I think we should still keep the original package name. I'll be glad to merge your changes as a new version if you remove this.

@@ -1,9 +1,15 @@
{
"name": "simpleenergy/php-webhdfs",
"name": "dreamfactory/php-webhdfs",
Copy link
Collaborator

Choose a reason for hiding this comment

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

and of course this one too

"name": "dreamfactory/php-webhdfs",
"description": "PHP WebHDFS, forked from https://github.com/simpleenergy/php-WebHDFS",
"minimum-stability": "stable",
"repositories": [
Copy link
Collaborator

Choose a reason for hiding this comment

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

same here

- Get rid of invalid 'CURLINFO_EFFECTIVE_URL' cURL option
- Get rid of improper 'Content-Length' HTTP header
- Remove version composer`s property, as it should be
  omitted relying on the documentation https://getcomposer.org/doc/04-schema.md#version
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.

4 participants