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

Large restructure of s3-index plugin #7

Merged
merged 1 commit into from
Sep 27, 2015
Merged

Large restructure of s3-index plugin #7

merged 1 commit into from
Sep 27, 2015

Conversation

lpetre
Copy link
Contributor

@lpetre lpetre commented Sep 27, 2015

Brings this plugin much more inline with the operation and structure of https://github.com/ember-cli-deploy/ember-cli-deploy-s3

  • Cleaner line between index.js and s3.js, like in the s3 plugin
  • prefix option support. like the s3 plugin, so you can upload to a subdirectory of a bucket
  • keyPrefix is removed. versions are uploaded as filePattern + ":" + revision
  • leverages S3 ETags to track the active revision, removes the need for current.json
  • assigns revision property, fixing deploy:list
  • deploy:list lists revisions in the format expected by deploy:activate
  • adds the revision timestamp property using the s3 LastModified date
  • Uses Promise.denodify to reduce LOC and improve readibility

 - keyPrefix is removed. versions are uploaded as filePrefix + ":" + revision
 - prefix option support. like the s3 plugin, so you can upload to a subdirectory of a bucket
 - Uses Promise.denodify to reduce LOC and improve readibility
 - Cleaner line between index.js and s3.js, like in the s3 plugin
@lpetre lpetre mentioned this pull request Sep 27, 2015
@LevelbossMike
Copy link
Member

Thanks a lot! this looks really great. I'll look at this in more detail this afternoon and merge this later.

LevelbossMike added a commit that referenced this pull request Sep 27, 2015
Large restructure of s3-index plugin
@LevelbossMike LevelbossMike merged commit 7ac7bed into ember-cli-deploy:master Sep 27, 2015
@LevelbossMike
Copy link
Member

Thx again. Great PR!

@lpetre lpetre deleted the plugin_restructure branch September 29, 2015 09:11
vitch pushed a commit to vitch/ember-cli-deploy-s3-index that referenced this pull request Mar 23, 2017
…cs-18467-deploy-activate-fixes to master

* commit '845a854ac5a876d2b86ec621d98d995e144bb799':
  CS-18467 - Adding a better explanation to the differences between did:activate and --activate
  CS-18467 - Removing slice in favour of simpler method
  CS-18467 - Handle deploy:activate for deploy audit logs
  CS-18467 - Add listObjects and getObject to S3 class
  Bugfix: Link to the correct lib for audit-log
  CS-18516 - Dasherive revisionKey for Do It Live URL
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants