2017 © Pedro Peláez
 

library tracy-gitpanel

nette extension - adds the GIT panel to the tracy panel - shows current GIT branch.

image

nofutur3/tracy-gitpanel

nette extension - adds the GIT panel to the tracy panel - shows current GIT branch.

  • Friday, March 16, 2018
  • by nofutur3
  • Repository
  • 1 Watchers
  • 3 Stars
  • 1,440 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 7 Versions
  • 14 % Grown

The README.md

tracy-gitpanel

Build Status Downloads this Month Latest stable, (*1)


This is simple extension for Tracy which shows the information about current GIT branch., (*2)

not versioned project, (*3)

versioned project, (*4)

Installation

The recommended installation is using composer., (*5)

composer req nofutur3/tracy-gitpanel

Alternative way - in case you are not able to use composer. Download the source code (ie clone git repo) into your project and require it some way. For nette framework like this in your bootstrap file:, (*6)

$configurator
    ->createRobotLoader()
    ->addDirectory(__DIR__ . 'path/to/library/');

Configuration

In your nette application it's simple, just add these lines to your config file. Depends on the structure of your config files, but you may use the basic config.neon file. I usually add the lines just in config.local.neon file because I don't need this extension in production mode., (*7)

Nette 2.3+
tracy:
    bar:
        - Nofutur3\GitPanel\Diagnostics\Panel

If you want to set up the protected branches (by default it uses just a master branch), just pass the array of branch names to the panel:, (*8)

parameters: 
    protected-branches:
        - production
        - staging
tracy:
    bar:
        - Nofutur3\GitPanel\Diagnostics\Panel(%protected-branches%)
Older version of Nette:
nette:
    debugger:
        bar: 
            - Nofutur3\GitPanel\Diagnostics\Panel

Standalone Tracy

In case you are using Tracy without Nette, you can add GitPanel this way:, (*9)

\Tracy\Debugger::getBar()->addPanel(new \Nofutur3\GitPanel\Diagnostics\Panel());

Or with protected branches:, (*10)

\Tracy\Debugger::getBar()
    ->addPanel(new \Nofutur3\GitPanel\Diagnostics\Panel(['production','staging']));

Support

💲 Do you like this tool? Support me with few bucks to cover coffee expenses ;), (*11)

Hey! You can send me money on Revolut by following this link: https://revolut.me/jakub9sv bitcoin
bc1q5ednnq59x70sv0zlk9w5p4fm92srlwljhr7yk6
lightning network
lnurl1dp68gurn8ghj7ampd3kx2ar0veekzar0wd5xjtnrdakj7tnhv4kxctttdehhwm30d3h82unvwqhhwunev4jxjar0wgunw3gu8z2
litecoin
ltc1q3e8g32u8ltgw5ycymw42feuvurgx89yayuxw9u

The Versions

16/03 2018

dev-master

9999999-dev

nette extension - adds the GIT panel to the tracy panel - shows current GIT branch.

  Sources   Download

MIT

The Requires

 

The Development Requires

debug git nette panel tracy branch

16/03 2018

v0.9.4

0.9.4.0

nette extension - adds the GIT panel to the tracy panel - shows current GIT branch.

  Sources   Download

MIT

The Requires

 

The Development Requires

debug git nette panel tracy branch

16/03 2018

0.9.4.x-dev

0.9.4.9999999-dev

nette extension - adds the GIT panel to the tracy panel - shows current GIT branch.

  Sources   Download

MIT

The Requires

 

The Development Requires

debug git nette panel tracy branch

17/07 2016

v0.9.3

0.9.3.0

nette extension - adds the GIT panel to the tracy panel - shows current GIT branch.

  Sources   Download

MIT

The Requires

 

debug git nette panel tracy branch

18/02 2016

v0.9.2

0.9.2.0

nette extension - adds the GIT panel to the tracy panel - shows current GIT branch.

  Sources   Download

MIT

The Requires

 

debug git nette panel tracy branch

18/02 2016

v0.9.1

0.9.1.0

nette extension - adds the GIT panel to the tracy panel - shows current GIT branch.

  Sources   Download

MIT

The Requires

 

debug git nette panel tracy branch

25/02 2015

v0.9

0.9.0.0

  Sources   Download

MIT

The Requires

 

debug git nette panel tracy branch