Skip to content

Unable to update metadata cache when using enterprise CRAN mirror #21

@timmsm

Description

@timmsm

Artifactory's enterprise CRAN mirror currently has a bug where the mirror has a PACKAGES file but not PACKAGES.gz. Would it be possible to add a HEAD request to cmc__get_cache_files to check if PACKAGES.gz exists in the specified CRAN repo and, if not, fall back to PACKAGES (which should exist in every CRAN repo)?

This affects both pkgcache::meta_cache_list() and pkgcache::cranlike_metadata_cache$new()$list().

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