Coder Social home page Coder Social logo

s3front's People

Contributors

barbara avatar jonmaim avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

ratancs

s3front's Issues

Error: write EPIPE

No files are being uploaded :(

~/W/p/5/5/dist (master *) s3front --bucket xxx --key xxx --secret xxx


301
  uploading [                                                                               ] 0% 0.0s301
  uploading [                                                                               ] 0% 2.7s301
  uploading [                                                                               ] 0% 2.0s301
  uploading [                                                                               ] 1% 1.7s301
  uploading [                                                                               ] 1% 1.4s301
  uploading [                                                                               ] 1% 1.1s301
  uploading [                                                                               ] 1% 1.8s301
  uploading [                                                                               ] 1% 2.4s301
  uploading [                                                                               ] 1% 2.2s301
  uploading [                                                                               ] 1% 2.1s301
  uploading [                                                                               ] 1% 68.5s301
  uploading [                                                                               ] 2% 63.6s301
  uploading [                                                                               ] 2% 58.9s301
  uploading [                                                                               ] 2% 54.8s301
  uploading [=                                                                              ] 2% 51.0s301
  uploading [=                                                                              ] 2% 47.8s301
  uploading [=                                                                              ] 2% 45.0s301
  uploading [=                                                                              ] 2% 42.5s301
  uploading [=                                                                              ] 2% 40.3s301
  uploading [=                                                                              ] 3% 49.2s301
  uploading [=                                                                              ] 3% 81.5s301
  uploading [=                                                                              ] 3% 77.8s301
  uploading [=                                                                              ] 3% 74.3s301
  uploading [==                                                                             ] 3% 71.2s301
  uploading [==                                                                             ] 3% 68.3s301
  uploading [==                                                                             ] 3% 65.8s301
  uploading [==                                                                             ] 4% 63.3s301
  uploading [==                                                                             ] 4% 61.1s301
  uploading [==                                                                             ] 4% 59.0s301
  uploading [==                                                                             ] 4% 57.1s

events.js:160
      throw er; // Unhandled 'error' event
      ^

Error: write EPIPE
    at exports._errnoException (util.js:1007:11)
    at WriteWrap.afterWrite (net.js:793:14)
~/W/p/5/5/dist (master *) node -v
v6.2.1
~/W/p/5/5/dist (master *) npm -v
3.9.3

Feature Request - Allow defaulting to ~/.aws/credentials creds

Would be nice if s3front read the aws credentials and region from ~/.aws/config and ~/.aws/credentials.

From some basic hacking around in the code it appears the aws libraries will automatically read the values unless the constructor is called with the key etc. However the library checks if you supplied the parameters and bombs out if they are not provided.

So the suggested change/feature:
Allow not passing the aws credentials and region, allowing the default behavior to work (reading out of ~/.aws/credentials and ~.aws/config)

Feature Request: Allow an ignore argument

Basically it would be nice to be able to define subdirectories/files not to sync up to the bucket.

For example: .git, .idea etc

Presently to only upload what you want, you'd have to stage in a subdirectory and then perform the command from that directory. Aws cli's s3 sync has the following syntax for reference:

aws s3 sync . s3://mybucket --exclude ".idea/*"

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.