-
Notifications
You must be signed in to change notification settings - Fork 346
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
Add Backblaze B2 Cloud Storage #410
Conversation
e4909b9
to
e971775
Compare
Have you tested this with actual Backblaze B2? |
Yes, I did. I'm already using it in my other repositories linkng to my own fork. This one on this PR. |
Pull Request Test Coverage Report for Build 478
💛 - Coveralls |
There are some failed jobs if you look into Travis |
At Travis, apparently it's failing on old Ruby versions. And as far as I've seen it I'm not sure what is really wrong. I can't seem to understand Coveralls too. |
I think it's due to the double created not stubbing all the method calls asset_sync/spec/unit/storage_spec.rb Lines 415 to 442 in cc9d971
In this case your updated code calls a new method backblaze? which is not stubbedAdding a line in that test case like allow(config).to receive(:backblaze?).and_return(false) should fix it |
I missed that file. You're right, I'll push new changes right about now. |
28780a1
to
296615a
Compare
@PikachuEXE Have any idea on how to fix jobs that failed running on jruby? |
Don't worry
I will just ignore jruby result, probably all passed Merging next week otherwise I will forget to release (Too lazy to bring up my Mac on weekend...) |
Oh, okay! Great! Happy to help! I'm also pushing some changes to the fog/fog-backblaze which in turn will make it more equal to its sisters fog-aws and fog-azurerm. That library needs some updates too but this PR should already make master work at a basic level with Backblaze B2. |
I am interested to know more |
This should add support for Backblaze B2 in a basic level. Initially, other files inside the bucket references by Asset Sync might get compromised if existing_remote_files is set to 'delete'. I'm also submitting an update to the fog-backblaze library to limit call for files to an specific folder prefix.
296615a
to
9f8f752
Compare
Released in |
This should add support for Backblaze B2 Cloud Storage to Asset Sync