New preferred repo name for r-universe registries

[This article was first published on rOpenSci - open tools for open science, and kindly contributed to R-bloggers]. (You can report issue about the content on this page here)
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.

This post is part of a series of technotes about r-universe, a new umbrella project by rOpenSci under which we experiment with various ideas for improving publication and discovery of research software in R. As the project evolves, we will post updates to document features and technical details. For more information, visit the r-universe project page.

Running your own package registry

Tiny update for r-universe users whos run their own package registry: we have changed the preferred git repo name where you host your packages.json registry file.

Previously the git repository was simply called universe, i.e. the registry for tiledb-inc.r-universe.dev was in the GitHub repository tiledb-inc/universe. We now recommend to instead use the full lowercase name of your r-universe domain as the repo name, i.e tiledb-inc/tiledb-inc.r-universe.dev.

The old name universe will keep working as well, so this should not break any existing registries, but we recommend renaming it.

Why the change

Why the change? First of all, the old name universe was too generic, which made its purpose sometimes unclear for larger GitHub organizations.

But there was also a potential bug: if you would fork somebody universe repo in order to send them a PR, you would automatically have a git repo named universe under your own GitHub account, and unintentionally start a CRAN-like repo under your own name, but with their packages.

Hence the obvious solution was to use the same format as github-pages, where the name of the repo is simply the full domain name at which your universe is hosted.

To leave a comment for the author, please follow the link and comment on their blog: rOpenSci - open tools for open science.

R-bloggers.com offers daily e-mail updates about R news and tutorials about learning R and many other topics. Click here if you're looking to post or find an R/data-science job.
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.

Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)