You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
4 years ago | |
---|---|---|
R | 4 years ago | |
inst | 4 years ago | |
man | 4 years ago | |
tests | 4 years ago | |
.Rbuildignore | 4 years ago | |
.build.yml | 4 years ago | |
.codecov.yml | 4 years ago | |
.gitignore | 4 years ago | |
.travis.yml | 4 years ago | |
CONDUCT.md | 4 years ago | |
DESCRIPTION | 4 years ago | |
LICENSE | 4 years ago | |
LICENSE.md | 4 years ago | |
NAMESPACE | 4 years ago | |
NEWS.md | 4 years ago | |
README.Rmd | 4 years ago | |
README.md | 4 years ago | |
sourcehut.Rproj | 4 years ago |
README.md
sourcehut
Tools to Work with the SourceHut Development Ecosystem
Description
SourceHut (https://sourcehut.org/) provides support for collaborative development of anything that can can be managed by Git or Mecurial version control systems. Tools are provided to query and ochestrate a wide variety of SourceHut servies.
What’s Inside The Tin
The following functions are implemented:
build_pkg
: Submits a build job for a packagegit_repos
: Retrieve metadata about repositoriesgit_user
: Retrieve metadata about yourself or another SourceHut usermeta_audit
: Retrieve your audit logmeta_profile
: Retrieve metadata about yourselfmeta_ssh_keys
: Retrieve your SSH keyssourcehut_pat
: Get or set SourceHut Personal Access Tokensourcehut_user
: Get or set SourceHut username valueuse_builds
: Setup .build.yml for SourceHut builds
Installation
remotes::install_git("https://git.rud.is/hrbrmstr/sourcehut.git")
# or
remotes::install_git("https://git.sr.ht/~hrbrmstr/sourcehut")
# or
remotes::install_gitlab("hrbrmstr/sourcehut")
# or
remotes::install_bitbucket("hrbrmstr/sourcehut")
# or
remotes::install_github("hrbrmstr/sourcehut")
NOTE: To use the ‘remotes’ install options you will need to have the {remotes} package installed.
Usage
library(sourcehut)
# current version
packageVersion("sourcehut")
## [1] '0.1.0'
sourcehut Metrics
Lang | # Files | (%) | LoC | (%) | Blank lines | (%) | # Lines | (%) |
---|---|---|---|---|---|---|---|---|
R | 14 | 0.93 | 211 | 0.96 | 88 | 0.85 | 96 | 0.77 |
Rmd | 1 | 0.07 | 8 | 0.04 | 15 | 0.15 | 28 | 0.23 |
Code of Conduct
Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.