Skip to content

Latest commit

 

History

History
39 lines (28 loc) · 1009 Bytes

README.md

File metadata and controls

39 lines (28 loc) · 1009 Bytes

Tracy System info

Extends information in "System info" in Tracy panel.

composer:

composer require adt/tracy-system-info

neon:

extensions:
	tracySystemInfo: ADT\TracySystemInfo\DI\TracySystemInfoExtension

tracySystemInfo:
	storageFile: %wwwDir%/../tracy-system-info.neon

deploy.php:

host('master.1')
	->set('instance', 1);

host('master.2')
	->set('instance', 2);

...

run("sudo de php www/index.php tracy-system-info:add Instance {{instance}}");
run("sudo de php www/index.php tracy-system-info:add MyKey MyValue");


run("sudo de php www/index.php tracy-system-info:add Commit $(git log --format=\"%H\" -n 1)");
run("sudo de php www/index.php tracy-system-info:add Branch $(git rev-parse --abbrev-ref HEAD)");
run("sudo de php www/index.php tracy-system-info:add Tag $(git describe --tags --always)");
run("sudo de php www/index.php tracy-system-info:add Message \"$(git log -1 --pretty=%B)\"");
run("sudo de php www/index.php tracy-system-info:add --timestamp");