Success

User tests: Successful: Unsuccessful:

avatar elkuku
elkuku
20 Nov 2013

This will add a command that creates a file containing information about the current repository version (the SHA).
The information is displayed in the debug toolbar by this commit: 8103fcb

Currently it looks like this:
debug-toolbar
Example: 1.0.0-beta-58-g63e754e9a5-dirty
Which is

  • The last tag 1.0.0-beta
  • 58 commits ahead
  • The "current SHA" 63e754e
  • The "state" is dirty (uncommitted changes)

Note: I assume that this will currently not work in Windows (git executable ..)

avatar elkuku elkuku - open - 20 Nov 2013
avatar b2z
b2z - comment - 20 Nov 2013

Will test it on Windows tomorrow, but sure it will not work with the shell_exec ;)

avatar b2z
b2z - comment - 21 Nov 2013

Well shell_exec works on Windows :wink: Good to merge :+1: Fix the docblock only in the Constructor :)

avatar elkuku
elkuku - comment - 21 Nov 2013

Don't you have to write git.exe or something ?

avatar b2z
b2z - comment - 21 Nov 2013

Nope it's just working from the cmd ;)

avatar mbabker mbabker - reference | 04d0f2d - 22 Nov 13
avatar mbabker mbabker - merge - 22 Nov 2013
avatar mbabker mbabker - close - 22 Nov 2013
avatar mbabker mbabker - change - 22 Nov 2013
Status New Closed
Closed_Date 0000-00-00 00:00:00 2013-11-22 00:18:07
avatar mbabker mbabker - close - 22 Nov 2013
avatar elkuku elkuku - head_ref_deleted - 22 Nov 2013

Add a Comment

Login with GitHub to post a comment