1 Commits

Author SHA1 Message Date
Tony Breeds
0592ee179b [tools] Add a tool to grep local repos
Sean wanted to know which repos still use mox/mox 3 which can be done
with this tool like:

tools/code-search.sh --prefix ~/projects/openstack/ \
                     --projects ~/projects/openstack/*/* \
                     -- mox origin/master -- *requirements.txt setup.cfg

The prefix is essentially a sting to remove from the project name.  So
the example above would change:

/home/tony/projects/openstack/openstack/astara => openstack/astara

Change-Id: I927bc96b6eafd2d95dc008b7f1a4374eb9f725b4
2018-01-10 11:59:08 +11:00