hatch-sh / hatch

🐣 Easy deployment of static websites to Amazon Web Services
https://hatch.sh
5 stars 0 forks source link

Fixes and s3 uploads #12

Closed skovhus closed 7 years ago

skovhus commented 7 years ago

Linting things...

Currently linting breaks (flake8 isn't good at detecting long lines that cannot be fixed). And autopep8 believe we like 79 characters.

Fix S3 upload

The current S3 uploads as issues if the region is set. It is solved by switching on current origin and using boto to get the website endpoint URL. boto3 doesn't have this feature yet it seems.

Notice:

Boto3, the next version of Boto, is now stable and recommended for general use. It can be used side-by-side with Boto in the same project, so it is easy to start using Boto3 in your existing projects as well as new projects. Going forward, API updates and all new feature work will be focused on Boto3.