leekgroup / regionReport

Generate HTML report for a set of genomic regions or DESeq2/edgeR results
http://leekgroup.github.io/regionReport
9 stars 4 forks source link

Support git2r #8

Closed lcolladotor closed 3 years ago

lcolladotor commented 9 years ago

Given Karthik's third point from http://f1000research.com/articles/4-105/v1, it sounds like a great idea for regionReport to upload html files to a gh-pages branch in GitHub if the directory is indeed a git repo and the repo exists in GitHub in a place where the user has access to.

This is somewhat similar to https://github.com/ropensci/git2r/issues/18.

lcolladotor commented 9 years ago

From https://github.com/ropensci/git2r/issues/152 it seems like the user will have to have libssh2 installed and install git2r from source in order to have ssh support. This can easily be checked with

git2r::libgit2_features()$ssh

Thus, it seems that only advanced users will be able to use this feature. It's still a nice one though.

Alternatively, from https://github.com/ropensci/git2r/issues/152 I can use git2r to have the resulting HTML added and committed in the gh-pages branch. And the user would just have to manually push it to GitHub using their preferred GUI or command line.

lcolladotor commented 3 years ago

I'm closing this issue due to inactivity. If it becomes a priority again, we can re-open it.

Also, note that usethis v2.0.0 switched from git2r to gert for interacting with GitHub.