Skip to content

Diff Before Upload comparing filesize and last modified time.#90

Merged
Mulkave merged 1 commit into
Vinelab:masterfrom
filipegar:master
Feb 21, 2016
Merged

Diff Before Upload comparing filesize and last modified time.#90
Mulkave merged 1 commit into
Vinelab:masterfrom
filipegar:master

Conversation

@filipegar

Copy link
Copy Markdown
Contributor

Well, I think I've achieved this in a very good way.
To fix bug #26 and #84 I created a routine that gets a list of everything on bucket and conflicts with the collections of $assets received to upload. I check last modified time and file size. If both are different, the file passes this validation and gets uploaded.

@filipegar

Copy link
Copy Markdown
Contributor Author

Travis failed on hhvm due to 'yield'. :\

publiux pushed a commit to publiux/laravelcdn that referenced this pull request Jan 17, 2016
@publiux

publiux commented Jan 17, 2016

Copy link
Copy Markdown

I think this is a great PR. I created a fork of this project that I intend to maintain since this one seems slow to implement simple fixes. It is located at https://github.com/publiux/laravelcdn . I have integrated your pull request into the fork and have provided you with appropriate credit for the code. Thanks!

@filipegar

Copy link
Copy Markdown
Contributor Author

Any news about this one? @Mulkave

@Mulkave

Mulkave commented Feb 21, 2016

Copy link
Copy Markdown
Member

Sorry for the delay on this one, will merge and allow failures on HHVM since it's not required as first-class support in this package.

Mulkave added a commit that referenced this pull request Feb 21, 2016
Diff Before Upload comparing filesize and last modified time.
@Mulkave Mulkave merged commit c7bc088 into Vinelab:master Feb 21, 2016
@filipegar

Copy link
Copy Markdown
Contributor Author

@Mulkave Great! Could you also push these changes to a new version on packagist? :) thanks.

@Mulkave

Mulkave commented Feb 21, 2016

Copy link
Copy Markdown
Member

@filipegar all up now, thanks a bunch 😄

This was referenced Feb 21, 2016
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.

3 participants