PHPloy icon indicating copy to clipboard operation
PHPloy copied to clipboard

Feature request: Read current revision

Open hellodaniel opened this issue 8 years ago • 2 comments

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 avatar Feb 21 '17 00:02 hellodaniel

@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?

banago avatar Feb 21 '17 09:02 banago

Anyone that wants to create a pull request for this, please do. Thanks.

banago avatar Feb 22 '18 09:02 banago