Is this "all" git repo automaticaly maintained as new plugins are.created / forked on github ? Le 22 août 2012 01:36, "Kohsuke Kawaguchi" <[email protected]> a écrit :
> Any chance you can capture this in an Wiki page? > > 2012/8/22 Jesse Glick <[email protected]>: > > If you find yourself needing to look for a certain pattern among all > sources > > files in Jenkins and its plugins - anything in > https://github.com/jenkinsci > > - try cloning http://git.jenkins-ci.org/all.git and then running this > handy > > one-liner in it (replace the "basic"-syntax regexp with whatever you > need): > > > > git branch -a | xargs git grep 'SomeClass\.staticMethod' | perl -n -e > 'print > > "$repo/$fname: $text\n" if ($repo, $fname, $text) = > > /^remotes\/origin\/(.+)\/master:([^:]+):(?:[ \t]*)(.+)$/' > > > > (This greps files as of the tip of the master branch only. Checking > > historical versions is much slower.) > > > > -- > Kohsuke Kawaguchi >
