1Code Search 2=========== 3 4There are a number of ways to search the Skia codebase, each with advantages and 5disadvantages. 6 7[cs.skia.org](http://cs.skia.org) redirects to 8[Chromium code search](https://code.google.com/p/chromium/codesearch) restricted 9to the Skia portion of the Chromium tree. You can add a query after the slash; 10e.g. [cs.skia.org/foo](http://cs.skia.org/foo) will search for "foo" within the 11Skia tree. Chromium code search provides cross-references, but not 12history/blame. 13 14For Googlers, there is also the option of 15[the skia depot](https://cs.corp.google.com/#skia/) in internal Code Search. In 16addition to the main [skia](https://cs.corp.google.com/#skia/skia/) repo, 17internal Code Search indexes the 18[buildbot](https://cs.corp.google.com/#skia/buildbot/), 19[common](https://cs.corp.google.com/#skia/common/), and 20[skia_internal](https://cs.corp.google.com/#skia/skia_internal/) repos. However, 21cross-references, history/blame, and code analysis are not available. 22 23The Github mirrors of the [skia](https://github.com/google/skia) and 24[skia-buildbot](https://github.com/google/skia-buildbot) repos are useful for 25investigating history and blame, or for exploring release branches or other 26branches. However, the search functionality is fairly limited, cross-references 27are not available, and in history the original committer's username is replaced 28with that person's Github username. 29 30You can also navigate through the 31[Skia repos on googlesource.com](https://skia.googlesource.com/). All commits 32appear here first. 33 34 Code search option |Search |XRef |History |Repos |Branches |Freshness 35 --------------------|-------|-----|--------|------------------------------|---------|---------------------- 36 [cs.skia.org][1] |regexp | yes |no |skia |master |last DEPS roll + hours 37 [Internal][2] |regexp | no |no |skia buildbot common internal |master |hours 38 [Github][3] |basic | no |yes |skia buildbot |all |hour 39 [googlesource][4] |none | no |yes |all |all |N/A 40 41[1]: http://cs.skia.org/ "Chromium code search" 42[2]: https://cs.corp.google.com/#skia/ "Internal Code Search" 43[3]: https://github.com/google/skia "Github mirror of skia" 44[4]: https://skia.googlesource.com/ "Master Skia repos on googlesource.com" 45