No Description
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.
boB Rudis 9d5a7c387f
install_sourcehut
2 months ago
R install_sourcehut 2 months ago
inst more compact build 2 months ago
man install_sourcehut 2 months ago
tests R package repo initialization complete 2 months ago
.Rbuildignore another try 2 months ago
.build.yml more compact build 2 months ago
.codecov.yml R package repo initialization complete 2 months ago
.gitignore R package repo initialization complete 2 months ago
.travis.yml R package repo initialization complete 2 months ago
CONDUCT.md R package repo initialization complete 2 months ago
DESCRIPTION install_sourcehut 2 months ago
LICENSE another try 2 months ago
LICENSE.md another try 2 months ago
NAMESPACE install_sourcehut 2 months ago
NEWS.md R package repo initialization complete 2 months ago
README.Rmd a few more API endpoints 2 months ago
README.md install_sourcehut 2 months ago
sourcehut.Rproj R package repo initialization complete 2 months ago

README.md

Signed
by Linux build
Status builds.sr.ht
status
Minimal R
Version License

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 package
  • git_repos: Retrieve metadata about repositories
  • git_user: Retrieve metadata about yourself or another SourceHut user
  • install_sourcehut: Install a package from a SourceHut git repository
  • meta_audit: Retrieve your audit log
  • meta_profile: Retrieve metadata about yourself
  • meta_ssh_keys: Retrieve your SSH keys
  • sourcehut_pat: Get or set SourceHut Personal Access Token
  • sourcehut_user: Get or set SourceHut username value
  • use_builds: Setup .build.yml for SourceHut builds
  • use_sourcehut_badge: Adds a SourceHut builds.sr.ht badge to your README

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.2.0'

sourcehut Metrics

Lang # Files (%) LoC (%) Blank lines (%) # Lines (%)
R 16 0.94 224 0.97 95 0.86 115 0.8
Rmd 1 0.06 8 0.03 15 0.14 28 0.2

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.