michaljach / ember-cli-deploy-scp

Easily deploy your Ember applications via ssh using scp.
MIT License
1 stars 0 forks source link

Implement fetchRevisions to integrate with ember-cli-deploy-display-revisions #2

Open nightsh opened 8 years ago

nightsh commented 8 years ago

As per ember-cli-deploy-display-revisions's README file:

ember-cli-deploy-display-revisions expects the fetchRevisions to be implemented by your index plugin, filling the revisions variable in context

Currently, when I do ember deploy:list production this happens:

$ ember deploy:list production
- Could not display latest revisions because no revisions were found in context.

Anything I could help with? I haven't read the code yet, it's so late I can't focus much right now, but I'll revisit this issue tomorrow.

And kudos for the work on this addon!

michaljach commented 8 years ago

Hello! Thanks for Your contribution, You've got the point. I will work this out later today !

sukima commented 7 years ago

@michaljach This was a year ago was there any progress. If not can you pint in the right direction for others to work on PullRequest(s)?

sukima commented 7 years ago

Per rsync man page:

As a special case, if a single source arg is specified without a destination, the files are listed in an output format similar to "ls -l".

Perhaps you could copy the same logic in the rsync() function only leaving out the .destination(…) part. Then take the output and parse it?

sandstrom commented 7 years ago

Was this solved by https://github.com/michaljach/ember-cli-deploy-scp/pull/16?