---
# System prepended metadata

title: Code Reviews
tags: [Code Review]

---

# Code Reviews
###### tags: `Code Review`

## opehshift requirements
* https://github.com/kubernetes/community/blob/master/community-membership.md#reviewer
* https://k8s.devstats.cncf.io/d/12/dashboards?orgId=1&refresh=15m
* https://github.com/change-metrics/monocle

## GRI
You may find this helpful in your day to day

https://github.com/pycontribs/gri

## setup ~/.netrc

* example
```
machine github.com
login weshayutin
password <api_token_snip>
machine api.github.com
login weshayutin
password <api_token_snip>
```

## setup ~/.config/gri/gri.yaml
```
- name: github
  url: https://github.com
  username: weshayutin
```




## bah gitlab
Gitlab uses a different api than github

* https://docs.gitlab.com/ee/api/merge_requests.html
* https://gitlab.cee.redhat.com/api/v4/merge_requests?state=opened

### config for gitlab
```
machine gitlab.cee.redhat.com
login whayutin
password <api_token_snip>
machine gitlab.cee.redhat.com/api/v4/
login whayutin
password <api_token_snip>

```
```
- name: internal_gitlab
  url: https://gitlab.cee.redhat.com/api/v4/
  username: whayutin

```