Closed sckott closed 3 years ago
i'm doing this on my own packages now, though too 🐢
This should be a wave of PRs. 🤔
quick script
repos <- ghrecipes::get_repos("ropensci")
repos <- dplyr::filter(repos, !is_archived, !is_fork)
repos <- gsub("ropensci\\/", "", repos$name)
has_coc <- function(repo){
message(repo)
info <- gh::gh("GET /repos/:owner/:repo",
owner = "ropensci", repo = repo,
.send_headers =
c(Accept = "application/vnd.github.scarlet-witch-preview+json"))
!is.null(info$code_of_conduct$url)
}
repos <- tibble::tibble(repo = repos)
repos <- dplyr::group_by(repos, repo)
repos <- dplyr::mutate(repos,
has_coc = has_coc(repo))
Out of 316 repos 233 don't have a code of conduct detected by GitHub.
Maybe a tech note would help to increase awareness. 🤔
good idea
Or would it make sense to couple that with a blog post about the updates you and Stef made to the rOpenSci COC? 🤔
Code of conduct updates not finished yet but will be live in Dec. I guess we do need to put out a short post announcing that we've made updates, to name Committee etc, so could note this issue there
Duplicate of https://github.com/ropensci/dev_guide/issues/240
only if it's
CONDUCT.md
, then change toCODE_OF_CONDUCT.md
- i do realizeusethis
already has the latter, so all people using that will be fine