PHPloy
PHPloy copied to clipboard
Feature request: Read current revision
Occasionally I think I'd like to check the current server revision against the local version. I've had a few situations where this would have been useful.
At the very least I think it would be useful to see:
- The revision ID on the server
- How many commits behind the server is
It might also be useful to show the number of files to be deployed and deleted.
e.g.: phploy -s servername --status
Server: servername
Revision: 725268c2
3 commits behind
121 files to be deployed
38 files to be deleted
That information is being determined prior to deployment so I imagine the bulk of the work is present. Apologies if this already exists!
@hellodaniel this would be a great utility. However, I don't think I have the time to make it happen soon enough. Would you like to contribute for this feature?
Anyone that wants to create a pull request for this, please do. Thanks.