Skip to content

Support more git instances: slight redesign of fetchers to support more generic instances #364

@philipp-baumann

Description

@philipp-baumann

I'm currently more on the observing/design pause side of things for the new interesting features like renv2nix. There are also some general infra and designs things that are related. Generally i think its good to experiment, but before too many experimental args are added, some of the core functionality could be simplified.

  • multi-source pinning
  • fetchers
  • Nix overriding mechanisms and linking R and R package versioning to specific checkout hashes

Currently, we use "github" and "gitlab" in URLs in a hard-coded fashion, and do regexes in helpers for Nix fetchers to get and hash stuff from remotes. Particularly here:

if (grepl("(github)|(gitlab)", repo_url)) {

I think it's relatively small investment but big impact in design simplification.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions