tmspzz / Rome

Carthage cache for S3, Minio, Ceph, Google Storage, Artifactory and many others
MIT License
816 stars 57 forks source link

Missing S3 Minio Bucket - `rome upload` hangs #162

Open fabb opened 5 years ago

fabb commented 5 years ago

Enhancement Suggestion / Bug Report

When Minio Bucket does not yet exist, rome upload hangs.

Steps which explain the enhancement or reproduce the bug

  1. In a new project with Rome and a Minio instance set up, but not yet added the according bucket, execute rome upload

Current behavior

No output, and the command does not finish. When the bucket is created, it immediately works the next time `rome upload` is executed.

Suggested behavior

Some error message would be helpful in case the bucket does not yet exist.

Why would the enhancement be useful to most users

Newbies to Minio might forget about creating the bucket, or expect rome to create one if it does not yet exist.

Rome version:

0.18.0.51

OS and version:

macOS Mojave
tmspzz commented 5 years ago

Thanks for reporting, I'll check if it is possible to define a timeout when communicating with the bucket.