something is going on over there
While working on Deploy RestWS for D7 project issue JSON I needed a pretty print for the node.json and scanner done for Drush Issue Queue Commands Fix for the new json structure on d.o D7. Both issues as still open so help needed.
Doing some research I learned about the PHP context or more specific the HTTP stream context
Who is calling my function so many times? With devel module and some probing using debug_backtrace and a nifty by ref variable it's a snap.
Following along the git migration and project cannot be grepped anymore I brewed the following code.
It assumes the gits are already cloned and placed is one common directory.
After running the script all repositories with a $major == 7 branch are set into the highest version.
I'm puzzling how to 'empty' the non $major compatible repos.
The fun part is now doing analysis on the tree
This is now just a link container ... need to spend some time on this once.