posit-dev / posit-dev/connectapi

Get manifest only

Open
#281 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
R
Stars
54
Forks
27
Avg merge
1d 3m
Merged PRs (30d)
1

Description

Instead of get_bundles() can there be a function to get_manifests() or similar to unzip() as
get_bundles(..., files = "manifest.json")?

I frequently get asked about package versions used by different apps, especially for our in-house R packages. Some bundles are filled with extraneous or very large files and it can make downloading these bundles very slow.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading the existing get_bundles() and unzip() entry points to understand how bundle files are selected and downloaded. Add a get_manifests() option or equivalent that retrieves only manifest.json, and verify that large extraneous files are not downloaded.

Written by the indexing model from the issue text.

Assessment

Tech stack
r
Domain
api
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.