# This file controls default reviewers for LightGBM code.
# See https://help.github.com/en/articles/about-code-owners
# for details
#
# Maintainers are encouraged to use their best discretion in
# setting reviewers on PRs manually, but this file should
# offer a reasonable automatic best-guess

# catch-all rule (this only gets matched if no rules below match)
*    @guolinke @StrikerRUS @jameslamb @shiyu1994

# other catch-alls that will get matched if specific rules below are not matched
*.R    @jameslamb @jmoralez
*.py    @StrikerRUS @jmoralez @jameslamb @shiyu1994
*.cpp    @guolinke @shiyu1994
*.h    @guolinke @shiyu1994

# main C++ code
include/    @guolinke @shiyu1994
src/    @guolinke @shiyu1994
CMakeLists.txt    @guolinke @jameslamb @StrikerRUS @shiyu1994
tests/c_api_test/    @guolinke @shiyu1994
tests/cpp_tests/    @guolinke @shiyu1994
tests/data/    @guolinke @shiyu1994
windows/    @guolinke @StrikerRUS @shiyu1994

# R code
build_r.R    @jameslamb @StrikerRUS @jmoralez
build-cran-package.sh    @jameslamb @StrikerRUS @jmoralez
R-package/    @jameslamb @jmoralez

# Python code
python-package/    @StrikerRUS @shiyu1994 @jameslamb @jmoralez

# Dask integration
python-package/lightgbm/dask.py    @jameslamb @jmoralez
tests/python_package_test/test_dask.py    @jameslamb @jmoralez

# helpers
helpers/    @StrikerRUS @guolinke

# CI administrative stuff
.ci/    @StrikerRUS @jameslamb
docs/    @StrikerRUS @jameslamb
examples/     @StrikerRUS @jameslamb @guolinke @jmoralez
*.yml    @StrikerRUS @jameslamb
.vsts-ci.yml    @StrikerRUS @jameslamb

# docker setup
docker/    @StrikerRUS @jameslamb
docker/dockerfile-cli    @guolinke @shiyu1994 @StrikerRUS @jameslamb
docker/gpu/    @StrikerRUS @jameslamb
docker/dockerfile-python    @StrikerRUS @shiyu1994 @jameslamb @jmoralez
docker/dockerfile-r    @jameslamb @jmoralez

# GPU code
docs/GPU-*.rst    @shiyu1994 @guolinke
src/treelearner/gpu_tree_learner.cpp    @guolinke @shiyu1994
src/treelearner/tree_learner.cpp    @guolinke @shiyu1994

# JAVA code
swig/    @guolinke @shiyu1994
