Skip to content
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

Replace s3cmd with awscli #6

Merged
merged 1 commit into from
Aug 3, 2016
Merged

Replace s3cmd with awscli #6

merged 1 commit into from
Aug 3, 2016

Conversation

vshlapakov
Copy link
Contributor

@vshlapakov vshlapakov commented Aug 2, 2016

The PR is related with transition to Python 3:
s3cmd doesn't support it and it was decided to replace it with awscli.

@vshlapakov vshlapakov self-assigned this Aug 2, 2016
@codecov-io
Copy link

Current coverage is 95.34% (diff: 100%)

Merging #6 into master will decrease coverage by 0.20%

@@             master         #6   diff @@
==========================================
  Files             1          1          
  Lines            45         43     -2   
  Methods           0          0          
  Messages          0          0          
  Branches          0          0          
==========================================
- Hits             43         41     -2   
  Misses            2          2          
  Partials          0          0          

Powered by Codecov. Last update 35403cb...7a7ab7e

self._call(cmd)

def _store_data(self):
# check for reason status here?
logger.info('Syncing .scrapy directory to %s' % self._s3path)
cmd = ['s3cmd', 'sync', '--no-preserve',
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like awscli doesn't copy FS attributes, so it's fine to just drop no-preserve (aws/aws-cli#1585).

@vshlapakov vshlapakov changed the title [WIP] Replace s3cmd with awscli Replace s3cmd with awscli Aug 3, 2016
@vshlapakov vshlapakov assigned dangra and unassigned dangra and vshlapakov Aug 3, 2016
@dangra dangra merged commit 40f6df6 into master Aug 3, 2016
@dangra dangra deleted the sc741 branch August 3, 2016 15:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants